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

clemens fischer ino-news at spotteswoode.dnsalias.org
Sat Jun 12 22:38:57 BST 2010


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 ...


clemens




More information about the Dnsmasq-discuss mailing list