Description
Describe the bug
IPv4 based network boot sends arch code 0000 (corresponding to x86 BIOS) making it impossible for the dhcp server to identify the client architecture and send the correct dhcp options and binaries for the rpiboot.
Therefore, there is no way to network boot rpi and x86 hosts on the same network environment.
To reproduce
Enable rpi network boot, capture dhcp discover packet sent from the pi while booting.
Expected behavior
Option 93 = 41
(0x00 0x29
)
Option 60 = PXEClient:Arch:00041:UNDI:002001
Actual behavior
Option 93 = 0
(0x00 0x00
)
Option 60 = PXEClient:Arch:00000:UNDI:002001
Additional context
Iana Processor Architecture Types and raspberry docs for network boot using DHCPv6.
I understand strictly speaking there is no option in the IPv4 DHCP PXE specification to match rpiboot or arm64 in RFC 4578, but it is common practice to use the newer ones from v6 in v4, and that would make more sense than the broken "I am x86" behavior.
Activity