[Dnsmasq-discuss] Give ip for client only if mac and hostname are specific one

Simon Kelley simon at thekelleys.org.uk
Fri Oct 18 15:13:33 BST 2013


On 18/10/13 15:09, Jim Alles wrote:
> On Fri, Oct 18, 2013 at 9:38 AM, Simon Kelley<simon at thekelleys.org.uk>  wrote:
>> First, set a tag if the hostname is correct
>>
>> dhcp-match=set:hostname-ok,12,<hostname-to-select>
>>
>> then, set a tag if the MAC is correct
>>
>> dhcp-mac=set:mac-ok,00:11:22:33:44:55:66
>>
> noob question: What is wrong with:
>   dhcp-range=tag:hostname-ok,tag:mac-ok,192.168.1.99,192.168.1.99
> ?
>

Nothing! would work just as well. Dunno why I didn't spot that.....


Simon.



More information about the Dnsmasq-discuss mailing list