URL: <http://savannah.gnu.org/bugs/?35193>
Summary: Grub2 doesn't use info in boot server packets Project: GNU GRUB Submitted by: twhitehead Submitted on: Thu 29 Dec 2011 11:15:45 PM GMT Category: Network Severity: Major Priority: 5 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: Release: other Reproducibility: Every Time Planned Release: None _______________________________________________________ Details: Currently grub2 only processes the DHCP ACK package. When PXE booting this can result in missed PXE options (as the boot server can supplement them) and grub not getting the IP address for the TFTP server that served the core image (as this information may not even be in the DHCP package). I've put together a patch that adds parsing the boot server packet as well to make sure all the required information gets extracted. It gives precedence to DHCP PXE options (as required by the PXE spec) and boot server IP addresses/file names. An example of a situation that doesn't work before this patch is running dnsmasq on a local 192.168.1.x network in proxy mode along side a regular DHCP server that doesn't provide booting services. The dnsmasq parameters are enable-tftp tftp-root=/srv/tftp pxe-service=x86PC, "GRUB", boot/grub/i386-pc/core dhcp-range=192.168.1.0,proxy,255.255.255.0 Another example would be a remote TFTP server setup, such as pxe-service=x86PC, "GRUB", boot/grub/i386-pc/core, 192.168.1.1 Cheers! -Tyson PS: This should address the wrong server issue (DHCP vs boot) in 33348 but doesn't do anything to add http support. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Thu 29 Dec 2011 11:15:45 PM GMT Name: 0001-Include-PXE-info-from-boot-server-too-instead-of-jus.patch Size: 3kB By: twhitehead <http://savannah.gnu.org/bugs/download.php?file_id=24711> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?35193> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-grub mailing list Bug-grub@gnu.org https://lists.gnu.org/mailman/listinfo/bug-grub