[Bug 1813541] Re: Shim uses wrong TFTP server IP in proxyDHCP mode
Alkis Georgopoulos
1813541 at bugs.launchpad.net
Mon Jan 28 19:01:28 UTC 2019
Specifically, I think the issue is in
https://git.launchpad.net/ubuntu/+source/shim/tree/netboot.c#n293
memcpy(&tftp_addr.v4, pkt_v4->BootpSiAddr, 4);
There should be an "if proxy ... use that one for tftp ... else use
BootpSiAddr" at that point.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to shim in Ubuntu.
https://bugs.launchpad.net/bugs/1813541
Title:
Shim uses wrong TFTP server IP in proxyDHCP mode
Status in shim package in Ubuntu:
New
Bug description:
This works fine:
UEFI > real DHCP > shimx64.efi over TFTP > grubx64.efi over TFTP.
In the scenario above, if we change "real" with "proxy", it fails,
because it's trying to download grubx64.efi from the real DHCP server
instead of the proxy one.
A proxy DHCP server is one that only sends the boot filename, and
leaves the IP assignments to the real DHCP server. We use that a lot
in the ltsp.org and in other netbooting projects, as it avoids the
need for a special network setup.
Sample dnsmasq.conf for proxy setup:
enable-tftp
tftp-root=/var/lib/tftpboot
dhcp-range=10.161.254.0,proxy,255.255.255.0
pxe-service=X86-64_EFI,"Boot from network",shimx64.efi
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shim/+bug/1813541/+subscriptions
More information about the foundations-bugs
mailing list