Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
settings [2013/08/23 11:43]
mcb30
settings [2015/11/05 14:47]
mcb30
Line 86: Line 86:
     net0: 192.168.0.100/​255.255.255.0     net0: 192.168.0.100/​255.255.255.0
  
 +{{ :​clipart:​dragon.png?​134x132 |Here be dragons}} ​
 +
 +===== Advanced topics =====
 +
 +==== PXE NBPs ====
 +
 +PXE NBPs such as Windows Deployment Service'​s ''​wdsnbp.com''​ or ''​pxelinux.0''​ will attempt to retrieve the contents of the various DHCP packets used by iPXE (via the ''​PXENV_GET_CACHED_INFO''​ API call). ​ For example, ''​wdsnbp.com''​ will examine these DHCP packets to determine which TFTP server address to use.
 +
 +There are three packets that may be requested by the PXE NBP: ''​DHCPDISCOVER'',​ ''​DHCPACK''​ and ''​BINL''​. ​ iPXE will construct packets for the PXE NBP based on a combination of the actual DHCP packets and settings provided by other means (such as the ''​[[:​cmd:​set]]''​ command).
 +
 +The scoping rules for the PXE NBP packets are slightly different from the logical hierarchy of settings scopes used within iPXE:
 +
 +  * For the DHCPACK packet, any settings within the network device scope (e.g. ''​netX/​next-server''​) will override any top-level settings (e.g. ''​next-server''​).
 +  * For the BINL packet, any settings present in the ProxyDHCPACK (e.g. ''​proxydhcp/​next-server''​) or in the Boot Server Reply (e.g. ''​pxebs/​next-server''​) will override any top-level settings (e.g. ''​next-server''​).
 +
 +If you need to manually pass specific settings to a PXE NBP, then in most cases you should set these within the network device scope. ​ For example, to manually set the TFTP server address and path used by ''​wdsnbp.com'',​ you could use:
 +
 +    set netX/​next-server 192.168.1.2
 +    set netX/​filename boot\x86\wdsnbp.com
 +    chain tftp://​192.168.1.2/​boot/​x86/​wdsnbp.com
  
settings.txt ยท Last modified: 2015/11/05 14:47 by mcb30
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL https://ipxe.org
References to "iPXE" may not be altered or removed.