[ipxe-devel] iPXE DHCP failure

Michael Brown mbrown at fensystems.co.uk
Thu May 19 08:15:12 UTC 2011


On Thursday 19 May 2011 00:24:30 Michael Cirineo wrote:
> But iPXE looks like
> DHCPDISCOVER
> DHCPOFFER
> DHCPDISCOVER
> DHCPOFFER
> DHCPREQUEST
> DHCPREQUEST
> DHCPREQUEST
> DHCPREQUEST
> DHCPREQUEST
> 
> Weirdly, even on the best, working reboots, it always does the discover
>  twice, even though iPXE acknowledges that it recieved the first one.

That at least is easily explained.  PXE requires that we allow time for a 
ProxyDHCPOFFER to be received.  You can eliminate this delay by setting

  option space ipxe;
  option ipxe-encap-opts code 175 = encapsulate ipxe;
  option ipxe.no-pxedhcp code 176 = unsigned integer 8;

  option ipxe.no-pxedhcp 1;

>  I'm just not sure what to do.  How do I turn up the verbosity even more?

Have you looked at the output of "ifstat" after the failed DHCP attempt?  That 
will tell you whether or not the DHCPACK packets were actually received by 
iPXE, for a start.  If the packets were received in error, it will also show 
you what that error was.

Michael



More information about the ipxe-devel mailing list