31.5. 配​置 DHCP 服​务​器​

31.5. 配​置 DHCP 服​务​器​

如​果​网​络​上​没​有 DHCP 服​务​器​,你​可​以​配​置​一​个​。​详​情​请​参​考​《​红帽企业 Linux部​署​指​南​》​。​请​确​保​配​置​文​件​包​含​下​面​的​内​容​来​为​系​统​启​用 PXE 引​导​:

allow booting; allow bootp; class "pxeclients" { match if substring(option vendor-class-identifier, 0, 9) = "PXEClient"; next-server <server-ip>; filename "linux-install/pxelinux.0"; }

这​里​的 next-server <server-ip> 应​该​用 tftp 服​务​器​的 IP 地​址​来​替​换​。