bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #61033] Wrong IP used when boot with dnsmasq in proxy DHCP mode


From: Andrew Goodbody
Subject: [bug #61033] Wrong IP used when boot with dnsmasq in proxy DHCP mode
Date: Thu, 12 Aug 2021 09:54:35 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?61033>

                 Summary: Wrong IP used when boot with dnsmasq in proxy DHCP
mode
                 Project: GNU GRUB
            Submitted by: agoodbody_linaro
            Submitted on: 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: 
        Originator Email: 
             Open/Closed: Open
                 Release: 
                 Release: Git master
         Discussion Lock: Any
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

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)

>>Start PXE over IPv4PXE: Failed to read system GUID from the smbios table!
.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





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61033>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]