[Dnsmasq-discuss] settings options per host?

B. Cook bcook at poughkeepsieschools.org
Thu Jul 31 13:24:48 BST 2008


On Jul 31, 2008, at 8:15 AM, Simon Kelley wrote:

> B. Cook wrote:
>>
>> 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
>

hmm,

Only asking .. does it have to be:

osxserver,option:router,10.20.16.128

or could it also be

osxserver,3,10.20.16.128

?

I agree the option:router would be clearer and more readable.. but I  
am trying to understand if those options are interchangeable with the  
other options as well?

Thanks for the response.






More information about the Dnsmasq-discuss mailing list