Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Devstack virtual router can't ping any LAN ip addresses

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 :(