Ask Your Question

In the cirrors instance, I can ping google's ip, but can not ping

asked 2017-09-25 22:05:53 -0500

liaodalin19903 gravatar image

updated 2017-09-26 06:02:12 -0500

In my cirrors VM, I can ping google's ip(, but can not ping

image description

bad address ''


In my VM, the /etc/resolv.conf:

search openstacklocal
edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2017-09-27 10:16:58 -0500

billy gravatar image

updated 2017-09-27 10:17:16 -0500

i think issue will be resolve if you use public dns server ip such as instead of

edit flag offensive delete link more


@billy thanks for your answer, it is works for me, but how can I get the default nameserver is after I create a instance?

liaodalin19903 gravatar imageliaodalin19903 ( 2017-09-28 22:53:57 -0500 )edit

you can define nameserver ip while you create subnet for your tenant

billy gravatar imagebilly ( 2017-09-29 02:04:56 -0500 )edit

@billy where to set it? can you explain more detail? with image is better.

liaodalin19903 gravatar imageliaodalin19903 ( 2017-09-29 05:51:25 -0500 )edit

answered 2017-09-26 00:17:54 -0500

arminder gravatar image

See if there is list of nameservers on /etc/resolv.conf? If not, most probably you didn't have DNS servers in your network, In your tenant private network, edit subnet and add DNS servers in there. You can use and and then save it. Then reboot the Cirros VM and check again. If you are directly using the external network on your VM, then do the above for public/external network settings too.

edit flag offensive delete link more


@arminder see my edited post. then to do what?

liaodalin19903 gravatar imageliaodalin19903 ( 2017-09-26 06:02:34 -0500 )edit

answered 2017-09-25 23:26:55 -0500

masber gravatar image

how are you creating your networks? looks like the DNS server is missing. Make sure the DNS settings are correct in your DHCP server.

edit flag offensive delete link more


@masber How to check the DNS settings, my friend? can you explain more clear?

liaodalin19903 gravatar imageliaodalin19903 ( 2017-09-26 01:10:13 -0500 )edit

for example in cli type below command


if you name to ip works then you mentiond ip is dns sever if not try out side network if it in public netoworkenter code here

billy gravatar imagebilly ( 2017-09-27 10:11:24 -0500 )edit

also why you mentioned in single quote ?

billy gravatar imagebilly ( 2017-09-27 10:13:22 -0500 )edit

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: 2017-09-25 22:05:53 -0500

Seen: 139 times

Last updated: Sep 27 '17