GNU GRUB - Bugs: bug #61033, Wrong IP used when boot with...
You are not allowed to post comments on this tracker with your current authentication level.
bug #61033: Wrong IP used when boot with dnsmasq in proxy DHCP mode
Submitter: | Andrew Goodbody <agoodbody_linaro> | ||
Submitted: | Thu 12 Aug 2021 01:54:33 PM UTC | ||
Category: | Network | Severity: | Major |
Priority: | 5 - Normal | Item Group: | Software Error |
Status: | None | Privacy: | Public |
Assigned to: | None | Originator Name: | |
Open/Closed: | Open | Release: | Git master |
Release: | Reproducibility: | Every Time | |
Planned Release: | None |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
No changes have been made to this item
Powered by Savane 3.13-d3ae.
Corresponding source code
On a network where the DHCP server cannot be used to serve net boot file information, dnsmasq has a proxy mode to provide the additional information. The UEFI firmware correctly loads the grub2 image from the information on the proxy DHCP but grub2 itself only sees the main DHCP server.
The below log shows that the proxy is on 192.168.36.117 and this is where the grub2 image is loaded from, but grub2 thinks it should load from the main DHCP server at 192.168.36.1
[Bds]Booting UEFI PXEv4 (MAC:0002F700883A)
.PXE: Failed to read system GUID from the smbios table!
Station IP address is 192.168.36.199
Server IP address is 192.168.36.117
NBP filename is /EFI/grubnetaa64.efi
NBP filesize is 266240 Bytes
Downloading NBP file...
NBP file downloaded successfully.
Loading driver at 0x000F8F59000 EntryPoint=0x000F8F5A000
Loading driver at 0x000F8F59000 EntryPoint=0x000F8F5A000
Welcome to GRUB!
error: time out opening `/EFI/arm64-efi/normal.mod'.
Entering rescue mode...
grub rescue> set
cmdpath=(tftp,192.168.36.1)
net_default_interface=efinet0
net_default_ip=192.168.36.199
net_default_mac=00:02:f7:00:88:3a
net_default_server=192.168.36.1
net_efinet0_ip=192.168.36.199
net_efinet0_mac=00:02:f7:00:88:3a
net_efinet0_next_server=192.168.36.1
prefix=(tftp,192.168.36.1)/EFI
pxe_default_server=192.168.36.1
root=tftp,192.168.36.1