gcloud compute target-instances create TARGET_INSTANCE_NAME --instance INSTANCE_NAME
gcloud compute forwarding-rules create ALLOW_TCP --address SECOND_IP --target-instance TARGET_INSTANCE_NAME --ip-protocol tcp
gcloud compute forwarding-rules create ALLOW_UDP --address SECOND_IP --target-instance TARGET_INSTANCE_NAME --ip-protocol udp
alexszilagyi@Alexs-MBP ~ $ telnet ns4.severo.ro 53
Trying 146.148.29.5...
telnet: connect to address 146.148.29.5: Connection refused
telnet: Unable to connect to remote hostHi Alex,Your commands are good to create a target instance and forwarding rules to assign a second IP address to your VM machine.By running these commands, are you receiving any errors?
Sincerely,
On Sunday, October 11, 2015 at 3:09:37 PM UTC-4, Alex Szilagyi wrote:Hi there,
I've been trying and searching a working solution to add a second IP to my instance and make it as a second name server for my DNS server.
Here are the steps that I've tried:gcloud compute target-instances create TARGET_INSTANCE_NAME --instance INSTANCE_NAME
gcloud compute forwarding-rules create ALLOW_TCP --address SECOND_IP --target-instance TARGET_INSTANCE_NAME --ip-protocol tcp
gcloud compute forwarding-rules create ALLOW_UDP --address SECOND_IP --target-instance TARGET_INSTANCE_NAME --ip-protocol udp
Am I doing something wrong?
--
© 2014 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Compute Engine Discussion Google Group (gce-dis...@googlegroups.com) to participate in discussions with other members of the Google Compute Engine community and the Google Compute Engine Team.
---
You received this message because you are subscribed to a topic in the Google Groups "gce-discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gce-discussion/5mGNjoLUTv8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gce-discussio...@googlegroups.com.
To post to this group, send email to gce-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gce-discussion/5df8ae51-7d49-4e3d-bdb3-6b03f8cff3f3%40googlegroups.com.