[Dnsmasq-discuss] "next server" and "vendor encapsulated"
Helmut Hullen
Hullen at t-online.de
Sun Jun 13 14:37: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.
Next try, with dnsmasq-2.55
dhcp-mac = set:fog, 00:0d:60:76:4f:1c
pxe-service = tag:fog,x86PC,"fog",gpxelinux,192.168.0.5
pxe-service = tag:!fog,x86PC,"Arktur",gpxelinux,192.168.0.1
#
--------------------------------------------
Messages:
Auto-select:
fog
BOOT Server IP: 192.168.0.5
...
gPXE initialising devices
...
---------------------------------------------
It recognizes the desired "next server", it tells the desired string.
But then it loads and shows the boot menu of server "Arktur", not of
server "fog".
Even when I change the IP address of the second server (which is the
DHCP server too) to 192.168.0.5 the system only shows the boot menu from
server "Arktur" = 192.168.0.1
How can/must I tell the machine the place of the desired boot menu?
Viele Gruesse!
Helmut
More information about the Dnsmasq-discuss
mailing list