Skip to content

Use the iPXE shim for IPv6 UEFI HTTP boot - #396

Merged
jjohnson42 merged 2 commits into
xcat2:masterfrom
Obihoernchen:feat/httpboot6-ipxe-shim
Nov 18, 2026
Merged

jjohnson42 merged 2 commits into
xcat2:masterfrom
Obihoernchen:feat/httpboot6-ipxe-shim

Conversation

@Obihoernchen

Copy link
Copy Markdown
Member

IPv6 UEFI HTTP boot now uses the iPXE shim like IPv4 does, when the profile has boot.ipxe.shim and the shim of the booting architecture is installed.

  • Answer iPXE's own DHCPv6 requests (user class iPXE) with the boot.ipxe.shim or boot.ipxe URL
  • Handle Information-request (router advertisement with only the O flag) and only assign an address when the request asks for one
  • Reply to Release, which the firmware retransmitted for over a minute before starting the shim
  • Ignore Requests addressed to another DHCPv6 server

Needs #395

Tested on AlmaLinux 10 (x86_64, OVMF): with the M flag, and with only the O flag before the Release and Request changes.

IPv6 UEFI HTTP boot always served boot.img. Offer the iPXE shim when
the profile has boot.ipxe.shim and the shim of the booting
architecture is installed, as the IPv4 path does.

iPXE then sends its own DHCPv6 request with user class iPXE and a
PXEClient vendor class, which was refused as IPv6 PXE. Answer it with
the boot.ipxe.shim URL, or boot.ipxe when the profile has no shim
script. With only the other configuration flag in the router
advertisement, iPXE sends an Information-request, which was not
handled at all and carries no IA_NA. Handle it and only assign an
address when the request asks for one.

Before it starts the shim, the firmware releases the address and
retransmits the Release while it is unanswered, which delayed the
handoff by over a minute. Answer a Release sent to this server.
A client sends its Request to the server whose Advertise it picked,
named by the server identifier. confluent answered every Request, so
with several DHCPv6 servers on the segment, such as the members of a
collective, all of them replied to it.
@jjohnson42
jjohnson42 merged commit 447d867 into xcat2:master Nov 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants