[Dnsmasq-discuss] "next server" and "vendor encapsulated"

richardvoigt at gmail.com richardvoigt at gmail.com
Sun Jun 13 03:39:30 BST 2010


On Sat, Jun 12, 2010 at 4:38 PM, clemens fischer
<ino-news at spotteswoode.dnsalias.org> wrote:
> Helmut Hullen wrote:
>
>> Hallo,
>>
>> I'm searching for a way which looks like the "next server" option but
>> does not work everytime but only under special conditions.
>>
>> Pseudo code:
>>
>> if MAC = 11.22.33.44.55.66
>>  then goto (PXE-)server 10.11.12.13
>>
>> if MAC in MAC-list
>>  then goto (PXE-)server 172.16.17.18
>>
>> "vendor encapsulated" may do this job but it's not well documentated.
>
> Might not be needed:
>
>    dhcp-mac = set:special, 11.22.33.44.55.66
>    dhcp-mac = set:default, 12.23.34.45.56.67
>    dhcp-mac = set:default, <repeat for other NICs in list>
>    pxe-service = tag:special, ..., 10.11.12.13
>    pxe-service = tag:default, ..., 172.16.17.18
>
> This is the new tagging system in recent versions.
>
> It's all in the manual ...

A little unrelated to the original question.

I saw your example and thought, those ought to be dhcp-host lines.
But I checked the new manpage and, sure enough, dhcp-mac is a valid
option.  dhcp-host seems a lot more powerful though, when would you
use dhcp-mac?  Is the difference the wildcard match?

>
>
> clemens
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>



More information about the Dnsmasq-discuss mailing list