Ask Your Question

openstack: instance cannot connect to internet

asked 2014-04-08 01:27:21 -0600

rohitist gravatar image


I have one confusing question here and i could not find related question on the internet.

I am trying Openstack all in one installation using Packstack. Everything is fine. I can create an instance and connect on the internet. But the peculiarity arises when i create an another instance. The other instance cannot connect or ping to the internet (say ). From the other instance, i can ping the host machine, the private and public IP of the virtual router, the other instance, our infrastructure DNS, gateway, etc.

you can see my network topology below:

image description

Can anyone please help me out in this case?

Thanks in advance.

edit retag flag offensive close merge delete


Are you able to SSH into the second instance with the floating IP address? Did you use the same security group for the second instance?

mpetason gravatar imagempetason ( 2014-04-08 06:05:21 -0600 )edit

@mpetason: Yes, I am able to do all :( Any more suggestion please.

rohitist gravatar imagerohitist ( 2014-04-08 06:40:06 -0600 )edit

Did your instance receive DNS from the DHCP server. Does it show DNS in /etc/resolv.conf? You said you can hit it, but did it actually save the data? If you run "host"(on the other instance) and try to ping the IP address of a google server(on problem instance) are you able to?

mpetason gravatar imagempetason ( 2014-04-08 06:43:40 -0600 )edit

Yes, I am able to hit DNS (private and public also).

Below is the trace from the problem instance:

[root@host-10-0-0-2 ~]# ping PING ( 56(84) bytes of data. 64 bytes from icmp_seq=1 ttl=64 time=0.219 ms 64 bytes from icmp_seq=2 ttl=64 time=0.174 ms ^C --- ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1870ms rtt min/avg/max/mdev = 0.174/0.196/0.219/0.026 ms [root@host-10-0-0-2 ~]# [root@host-10-0-0-2 ~]#

[root@host-10-0-0-2 ~]# ping PING ( 56(84) bytes of data. 64 bytes from icmp_seq=1 ttl=126 time=0.497 ms 64 bytes from icmp_seq=2 ...(more)

rohitist gravatar imagerohitist ( 2014-04-08 06:55:10 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-04-09 00:46:30 -0600

rohitist gravatar image

My bad... like most of my questions, I again resolved this. I was too careless to check my organizations's firewall rules ;)

Anyway, thanks for your input. :)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-04-08 01:27:21 -0600

Seen: 347 times

Last updated: Apr 09 '14