[Dnsmasq-discuss] Dnsmasq dns/dhcp with multiple subnet - lease file issue
Robert Tsai
rtsai.mobile at gmail.com
Sun Sep 8 14:09:58 BST 2013
Hi,
I am having issues with dnsmasq with dns/dhcp with multple subnets. I have two subnets , one named app and the other storage. Both subnet clients get ips through dhcp but only the app subnet client's lease gets propagated to /var/lib/dnsmasq.leases. The storage subnet client's lease never gets written to that file. Also if I have a client server that needs to have both subnets and sends its host-name from dhclient, will dnsmasq add both host-name to the lease file? Any help on this would be appreciated. Below are the options that are set for dhcp and dns.
Thanks,
Robert
addn-hosts=/etc/dnsmasq.d/dhcp_qa_hosts
bogus-priv
domain=app.domain.net,10.10.123.201,10.10.123.240
domain=str.domain.net,10.10.133.201,10.10.133.240
domain-needed
expand-hosts
log-dhcp
log-queries
dhcp-option=option:dns-server,10.10.123.5
dhcp-range=app,10.10.123.201,10.10.123.240,12h,app.domain.net
dhcp-option=net:app,121,10.10.120.0/24,10.10.123.241,10.10.121.0/24,10.10.123.241
dhcp-range=storage,10.10.133.201,10.10.133.240,12h,str.domain.net
dhcp-option=net:storage,3
dhcp-option=net:storage,121,10.10.130.0/24,10.10.133.241
dhcp-option=net:app,option:router,10.10.123.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20130908/692ca871/attachment.html>
More information about the Dnsmasq-discuss
mailing list