[ipxe-devel] Infiniband GUID
Michael Brown
mcb30 at ipxe.org
Tue Sep 5 23:57:58 UTC 2017
On 06/09/17 00:38, Allen, Benjamin S. wrote:
> I'm attempting to emulate what we're doing for ethernet clients in ISC-DHCP by passing the iPXE cfg path, eg 'filename "http://10.1.1.1/ipxe/cfg/${mac}";', where iPXE helpfully evaluates and fills in ${mac}.
The (local) eIPoIB MAC address is systematically derived from the GUID
by just omitting the middle two bytes:
http://git.ipxe.org/ipxe.git/blob/HEAD:/src/drivers/net/ipoib.c#l273
If you know the GUID, then you can trivially calculate the IPoIB MAC
that will be used by iPXE (and exposed as ${netX/mac}). Does this give
you the functionality that you need?
Michael
More information about the ipxe-devel
mailing list