[Dnsmasq-discuss] settings options per host?
Simon Kelley
simon at thekelleys.org.uk
Thu Jul 31 13:15:44 BST 2008
B. Cook wrote:
> hello all,
>
> Working on switching a bigger network from isc to dnsmasq, and so far it
> is going quite well.
>
> I do have the need to set certain parameters per host, like gateways;
> and can not seem to figure out how it would be done with dnsmasq.
>
> This would be the isc entries ..
> host osxserver { hardware ethernet 00:17:f2:0f:11:22; option
> routers 10.20.0.23; }
> host pcsdsnap { hardware ethernet 00:60:08:2a:11:22;
> fixed-address 10.20.16.11; option routers 10.20.16.128;}
>
> What would this look like in dnsmasq?
>
It's a two stage process: first set a tag when the host is seen, then
control the options sent based on that tag. Something like
dhcp-host=00:17:f2:0f:11:22,10.20.16.11,net:osxserver
dhcp-option=osxserver,option:router,10.20.16.128
HTH
Simon.
More information about the Dnsmasq-discuss
mailing list