[ipxe-devel] [gPXE] Boot By Mac Address from IIS

Michael Brown mbrown at fensystems.co.uk
Mon Jan 3 23:39:57 UTC 2011


On Monday 03 Jan 2011 23:30:13 Dan Weintraub wrote:
> Hi all,
> 
> I'm trying to do something similar to that which is documented here:
> 
> http://www.etherboot.org/wiki/appnotes/bootbymacaddress
> 
> namely, serve the same undionly.kpxe file to a number of computers and
> have them chainload gpxe scripts from a webserver depending on the
> computer's mac address using ${mac}. This works as expected with Apache,
> but Windows won't let you have filenames with a ':' so I can't serve the
> scripts.
> 
> Is there a workaround to have gpxe use the same format for mac address
> as pxelinux.0 (01-aa-bb-cc-dd-ee-ff) or will I have to develop a script
> so I can pass the mac address (with colons) in the query string?

Upgrade to iPXE (http://ipxe.org) and use ${mac:hexhyp}, which will expand to 
the format you are looking for.

Michael



More information about the ipxe-devel mailing list