Ask Your Question

Devstack virtual router can't ping any LAN ip addresses

asked 2020-04-17 08:56:20 -0500

eltaccabro gravatar image

I have difficult with accessing Openstack VM's on my LAN:

  1. I have setup single machine ( opensatck using devstack on my LAN, so all VM's are running inside this machine

  2. i have another machine (windows laptop) connected to my home router (

  3. My machine( has one network wifi card (wls1) and I have configured neutron in the local.conf as:

# Open vSwitch provider networking configuration

on project demo i have:

  • the public network with public-subnet and Gateway IP (as my home router gateway)

  • the virtual router (router1) has the IP (external gateway)

  • my VM instance have private ip

what i can do

  • Devstack machine( can ping VM(

  • VM can ping the gateway ip and the virtual router

  • My windows laptop ( can ping the virtual router

  • Virtual router can ping the gateway:


stack@devstack:~/devstack$ sudo ip netns exec qrouter-70eeb25a-1b49-49e3-b60d-a8ce48abb3f6 ping
PING ( 56(84) bytes of data.
64 bytes from icmp_seq=9 ttl=64 time=0.789 ms
64 bytes from icmp_seq=10 ttl=64 time=0.098 ms
64 bytes from icmp_seq=11 ttl=64 time=0.139 ms
64 bytes from icmp_seq=12 ttl=64 time=0.096 ms
  • virtual router can ping the DHCP namespace at

what i can't do

  • I can't access internet from VM( which is auto assigned IP), can't ping

  • I can't ping LAN machine( from VM.

  • Virtual router can't access internet, can't ping

  • Virtual router can't ping LAN machine(


stack@openstack:~/devstack$ sudo ip netns exec qrouter-70eeb25a-1b49-49e3-b60d-a8ce48abb3f6 ping
PING ( 56(84) bytes of data.
From icmp_seq=1 Destination Host Unreachable
From icmp_seq=2 Destination Host Unreachable
From icmp_seq=3 Destination Host Unreachable
From icmp_seq=4 Destination Host Unreachable

what am i wrong? why the virtual router can't connect to my home router and therefore can't ping my windows laptop and the external internet network?

please help me, i'm going crazy :(

edit retag flag offensive close merge delete


Check if your external interface wls1 is plugged into br-ex, and if br-ex has IP address

Did you restart the Devstack host by any chance? Devstack was never meant to support restart, and at least up to Stein, Devstack didn't make br-ex configuration persistent.

Bernd Bausch gravatar imageBernd Bausch ( 2020-04-17 20:06:14 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2020-04-21 14:41:46 -0500

eltaccabro gravatar image

after devstack installation i have on route -n this:

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface         UG    0      0        0 br-ex   U     0      0        0 br-ex   U     0      0        0 virbr0

andi if I add the route on br-ex as:

sudo ip route replace via

I lost the connectivity on the devstack machine

edit flag offensive delete link more


Did you check the things I recommended?

The routing to your tenant network is done in a network namespace, not on br-ex.

Bernd Bausch gravatar imageBernd Bausch ( 2020-04-22 00:05:45 -0500 )edit

thank you for your answer but i resolved with this thread (

eltaccabro gravatar imageeltaccabro ( 2020-05-08 09:58:38 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2020-04-17 08:56:20 -0500

Seen: 279 times

Last updated: Apr 17 '20