openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #23254
grizzly quantum with namespaces, default route for dhcp-agent
hi all!
I'm new to this namespace and quantum networking. So my VM-s works
fine, got an ip, DGW and nameserver from the dhcp agent. So the
nameserver is the dhcp agent, but if I check the routing table of the
dhcpagent's namespace there is no default route, so dnsmasque can't
resolv anything.
root@network:/var/log/quantum# ip netns exec
qdhcp-ff74b46a-1ab4-4a97-91c7-21c95485aa34 route -nv
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.18.0.0 0.0.0.0 255.255.255.0 U 0 0
0 tap287d564d-c2
If I add a default route:
root@network:/var/log/quantum# ip netns exec
qdhcp-ff74b46a-1ab4-4a97-91c7-21c95485aa34 route -nv
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 172.18.0.1 0.0.0.0 UG 0 0
0 tap287d564d-c2
172.18.0.0 0.0.0.0 255.255.255.0 U 0 0
0 tap287d564d-c2
It works fine.
What is the normal behaviour here? How should I make this permanent?
Thanks!
Rusty
Follow ups