How to ping instance's internal network from Host on Devstack

asked 2020-03-09 04:41:20 -0500

timgr gravatar image

I am running Devstack on my machine and i would like to know if it is possible to ping an instance from Host. The default external network of Devstack is and br-ex on Host has the IP I launch an instance using the internal network of Devstack ( and the instance gets the IP My Host's IP is Is there a way to ping from my Host? Another thing i thought is to boot up a VM directly to the external network ( but the VM does not boot up correctly. I can only use that network for associating floating IP's.

I have edited the security group and i have allowed ICMP and SSH, so this is not a problem.

edit retag flag offensive close merge delete


If your goal is to ping the instance, research the floating ip concept. You need to get a floating IP and associated it with the VM. The commands are openstack floating ip create and openstack server add floating ip. The floating IP address will be from the range.

Bernd Bausch gravatar imageBernd Bausch ( 2020-03-09 05:18:38 -0500 )edit

If your goal is to ping an address from a tenant network, I think you can create a route to on the host, though I am not sure via which interface. However this totally defeats the concept of tenant networks and would only work on an all-in-one server I believe.

Bernd Bausch gravatar imageBernd Bausch ( 2020-03-09 05:21:11 -0500 )edit

My goal is not just a ping. The best for me would be to SSH into this machine using the IP of Devstack's internal network ( I only use ping to test the connectivity. But with floating IP, ping works. That is reasonable.

timgr gravatar imagetimgr ( 2020-03-09 06:22:03 -0500 )edit

Replying to your 2nd comment, i cannot add such a route because i do not have an interface on the Host that belong to the network and i cannot create one because this network cannot be seen outside Devstack. I just want to find a way to expose this network so it can be seen by Host.

timgr gravatar imagetimgr ( 2020-03-09 06:23:44 -0500 )edit

You are not supposed to have connectivity to Neutron networks (a.k.a. tenant networks). This is part of the design. Floating IPs are the mechanism to provide access to such instances.

Bernd Bausch gravatar imageBernd Bausch ( 2020-03-09 06:24:55 -0500 )edit