openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #23360
Re: grizzly quantum with namespaces, default route for dhcp-agent
any idea? I just restarted my nodes, and it's the same again. I know
how to make new static route without namespaces at startup, but if we
look at openstack as a dynamic system, its not ok to make static
routes manually for every tenant's every network.
thanks
Rusty
On Fri, May 3, 2013 at 2:09 PM, Molnár Mihály László <lacikaaa@xxxxxxxxx> wrote:
> 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
References