[Dnsmasq-discuss] "next server" and "vendor encapsulated"
Helmut Hullen
Hullen at t-online.de
Sun Jun 13 11:38:00 BST 2010
Hallo, Clemens,
Du meintest am 12.06.10:
>> 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
> 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 ...
My first trial:
Dnsmasq version 2.52
-----------------------------
dhcp-mac = set:fog, 11.22.33.44.55.66
# beliebig oft zu wiederholen
pxe-service = tag:fog,x86PC,"fog",192.168.0.5
pxe-service = tag:!fog,x86PC,"Arktur",192.168.0.1
#
-----------------------------
But that produces an error message in the "pxe-service" line(s).
What is still wrong?
Viele Gruesse!
Helmut
More information about the Dnsmasq-discuss
mailing list