PXE 引导 Arch 字段 DHCP 选项 93

PXE Boot Arch Field DHCP Option 93

PXE 规范 (http://www.pix.net/software/pxeboot/archive/pxespec.pdf) 为 DHCP 的客户端系统架构指定了以下值

0 = IA x86 PC(2)
1 = NEC/PC98(2)
2 = IA64 PC.(2)
3 = DEC Alpha (2)
4 = ArcX86 (2)
5 = Intel Lean Client (2)

虽然列表看起来有点过时,但现代建筑在 Arch Field 中使用了什么。

例如如果我有一个 ARM 服务器或一个 RISC-V 服务器并且想要执行 PXE 引导,我应该为 ARCH 字段提供什么值?

来自https://www.rfc-editor.org/rfc/rfc5970#section-6: “以下选项已由 IANA 从选项中分配 数字 space 在 DHCPv6 RFC [RFC3315] 的第 24 节中定义。

所以,我建议 https://www.iana.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xhtml#processor-architecture 可能是一个很好的来源。

是的,这是 DHCPv6,而不是 DHCPv4,但似乎没有人足够关心用更新版本取代 rfc4578

得出这个结论后,我查看了 UEFI 2.8。在Table 210. PXE Tag Definitions for EFI中,Client System Architecture的描述是:

Type (2) Type is a two byte, network order, field that identifies the processor and programming environment of the client system. For the various architecture type encodings, see the table "Processor Architecture Types" at “Links to UEFI-Related Documents” (http://uefi.org/uefi) under the heading “Processor Architecture Types

link 实际上再次指向 the IANA page