[Dnsmasq-discuss] dnsmasq configuration

Ritesh Nanda riteshnanda09 at gmail.com
Thu Nov 29 13:31:34 GMT 2012


hello,

I am working on openstack , which uses dnsmasq as a dhcp server.
Here is a challenge what i am facing , using dnsmasq configuration file i
am adding a default route to the vms that are created in this
enviornment, now challenge i am facing is i want to add two routes using
dnsmasq configuration file.

one route for a particular subnet so that it request  get forwared to a
gateway
and one as a default route.
eg.

192.168.10.0 network request gets forwarded to gateway 192.168.10.6
and all other request gets forwarded to 192.168.10.1

my current dnsmasq.conf is

dhcp-range=Tenant-sme-a,192.168.10.3,192.168.10.254,255.255.255.0,24h
*dhcp-option=Tenant-sme-a,3,192.168.10.6* ------this add the default route.
domain=sme.com,192.168.10.0/24,local

Any help would be really appreciated.


-- 

* With Regards
*

* Ritesh Nanda
*

***
*
<http://www.ericsson.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20121129/00ef604f/attachment.html>


More information about the Dnsmasq-discuss mailing list