We currently send all boot server discovery requests to port 4011. Section 2.2.1 of the PXE spec states that boot server discovery packets should be "sent broadcast (port 67), multicast (port 4011), or unicast (port 4011)". Adjust our behaviour so that any boot server discovery packets that are sent to the broadcast address are directed to port 67 rather than port 4011. This is required for operation with dnsmasq as a PXE server, since dnsmasq listens only on port 67, and relies upon this (specified) behaviour. This change may break some setups using the (itself very broken) Linux PXE server from kano.org.uk. This server will, in its default configuration, listen only on port 4011. It never constructs a boot server list (PXE_BOOT_SERVERS, option 43.8), and uses the wrong definitions for the discovery control bits (PXE_DISCOVERY_CONTROL, option 43.6). The upshot is that it will always instruct the client to perform multicast and broadcast discovery only. In setups lacking a valid multicast route on the server side, this used to work because gPXE would eventually give up on the (non-responsive) multicast address and send a broadcast request to port 4011, which the Linux PXE server would respond to. Now that gPXE correctly sends this broadcast request to port 67 instead, it is never seen by the Linux PXE server, and the boot fails. The fix is to either (a) set up a multicast route correctly on the server side before starting the PXE server, or (b) edit /etc/pxe.conf to contain the server's unicast address in the "multicast_address" field (a hack that happens to work). Suggested-by: Simon Kelley <simon@thekelleys.org.uk>tags/v0.9.8
|
|
||
670 |
|
670 |
|
671 |
|
671 |
|
672 |
|
672 |
|
|
673 |
|
|
|
674 |
|
|
|
675 |
|
|
|
676 |
|
|
|
677 |
|
|
673 |
|
678 |
|
674 |
|
|
|
|
679 |
|
|
675 |
|
680 |
|
676 |
|
681 |
|
677 |
|
682 |
|
|
|
||
680 |
|
685 |
|
681 |
|
686 |
|
682 |
|
687 |
|
683 |
|
|
|
684 |
|
|
|
685 |
|
|
|
686 |
|
|
|
687 |
|
688 |
|
688 |
|
689 |
|
689 |
|
690 |
|
|
|
||
743 |
|
744 |
|
744 |
|
745 |
|
745 |
|
746 |
|
746 |
|
|
|
|
747 |
|
|
|
748 |
|
|
747 |
|
749 |
|
748 |
|
750 |
|
749 |
|
751 |
|