[Openstack] grizzly quantum with namespaces, default route for dhcp-agent

Molnár Mihály László lacikaaa at gmail.com
Fri May 3 12:09:14 UTC 2013


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 at 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 at 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




More information about the Openstack mailing list