[Openstack] how to tell dhcp-agent to advertice certain routes?

Jonathan Proulx jon at jonproulx.com
Fri Sep 27 18:06:12 UTC 2013


Hi Ilkka,

I have the same setup you describe below. You simply need to specify
"--gateway <your.existing.router.ip>  when running "quantum help
subnet-create", this doesn't create an L3 router it just specifies the
gateway dhcp gives out.

-Jon


On Fri, Sep 27, 2013 at 1:07 PM, Ilkka Tengvall
<ilkka.tengvall at cybercom.com> wrote:
> Hi,
>
> how to tell DHCP server (dnsmasq) to advertice an extra gateway in dhcp
> response?
>
> We are running grizzly and provider networks. Some of the networks are in
> vlan that already have an external router among the existing other machines
> in the same network.
>
> So we don't want multiple l3-agents for multiple floating ip ranges. We
> don't need any NAT rules for those networks, only a dhcp service for the
> given subnet range, and add the existing HW gateways address as default
> route to that dhcp responce.
>
> How to achieve that by  using quantum/neutron commands?
>
>
> I want this to be filled in dnsmasq config for the subnet by
> quantum-dhcp-agent:
>
> dhcp-option=3,1.2.3.4
>
>
> The environment is rdo grizzly on rhel 6.4, up to date.
>
> --
>
> Ilkka Tengvall
> Advisory Consultant, Cloud Architecture
> Cybercom Finland
> mobile: +358408443462
> Email: ilkka.tengvall at cybercom.com
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack




More information about the Openstack mailing list