[Openstack] how to tell dhcp-agent to advertice certain routes?
Troy Klein
spidersddd at gmail.com
Tue Oct 1 15:50:15 UTC 2013
We are not using quantum yet, but we do use a default gateway that is
different the the local server IP. The way we do it is to add the
configfile "/etc/nova/dnsmasq-nova.conf" with
"dhcp-option:tag:br1099,option:route,10.81.99.1" in the file.
I hope this helps, let me know how it goes as I am going to be looking into
quantum/neutron to do networking soon.
Troy
On Fri, Sep 27, 2013 at 10:07 AM, 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 <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 <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131001/2274e657/attachment.html>
More information about the Openstack
mailing list