[Dnsmasq-discuss] The same address on mulitple interface issue
(yet again)...
John Gray
gray at agora-net.com
Thu Sep 25 18:37:01 BST 2008
Simon Kelley wrote:
>
> Since this is invoking somewhat dangerour behaviour, I want to make it
> explicit, and only have one configuration statement, rather then
> automagically combining two and then doing dangerous things. Hence
>
> dhcp-host=1.2.3.4,<mac-1>,<mac-2>
>
> To keep the host definitions is their own file, add
>
> dhcp-hostsfile=<myfile>
>
> to /etc/dnsmasq.conf and put
>
> 1.2.3.4,<mac-1>,<mac-2>
> 2.3.4.5,<mac-3>,<mac-4>
>
> in <myfile>. Different syntax, same data. I gets reloaded on SIGHUP,
> just like /etc/ethers.
>
> A first stab at this is in
>
> http://www.thekelleys.org.uk/dnsmasq/test-releases/dnsmasq-2.46test12.tar.gz
>
>
> if you'd like to try it out. I've not updated the man page yet.
>
>
> Cheers,
>
> Simon.
>
>
Hi Simon,
That's excellent. The only reason I want to use /etc/ethers was so it
would be easy to parse for some 3rd party tools for adding/removing
hosts. And with separating dhcp-host definitions into a separate file,
that'll work just as well.
I really appreciate your willingness to work with this.
I will try your attached version when I get a little free time.
John
--
John Gray gray at agora-net.com
AgoraNet, Inc. (302) 224-2475
314 E. Main Street, Suite 1 (302) 224-2552 (fax)
Newark, De 19711 http://www.agora-net.com
More information about the Dnsmasq-discuss
mailing list