[syslinux] Using mac address in syslinux

Philip Rowlands phr at doc.ic.ac.uk
Sat Oct 30 07:14:21 PDT 2004


On Sat, 30 Oct 2004, Rajeev Agrawala wrote:

>Is it possible for pxelinux.0 to use the mac address of the machine in
>addition to IP address and its derivatives from the tftp server?

Assuming you mean "in preference to" rather than "in combination with",
then yes; PXELINUX's documented search tries the MAC address (since
2.05) followed by the increasingly-partial IP, then lastly "default".

NEWS:
 * PXELINUX: Add a default query based on the hardware address
   of the boot device.  This is in lower case hexadecimal form
   separated by dashes and including the hardware type, for
   example, the Ethernet (type 1) address 88:99:AA:BB:CC:DD
   would query the file pxelinux.cfg/01-88-99-aa-bb-cc-dd.

----
pxelinux.doc:
  As an example, for 192.0.2.91, it will try C000025B, C000025,
  C00002, C0000, C000, C00, C0, C, and default, in that order.



Cheers,
Phil




More information about the Syslinux mailing list