dhcp 的工作方式
- c -> dhcp discover
- s -> dhcp offer
- c -> dhcp request
- s -> dhcp ack
1、dhcp Discover (只有MAC 地址)

2、dhcp Offer

3、dhcp Request

4、dhcp Ack

PXE 协议
dhcp 服务器配置中的PXE 参数
ddns-update-style interim;
ignore client-updates;
allow booting;
allow bootp;
subnet 192.168.1.0 netmask 255.255.255.0
{
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
option time-offset -18000;
default-lease-time 21600;
max-lease-time 43200;
range dynamic-bootp 192.168.1.240 192.168.1.250;
filename “pxelinux.0”;
next-server 192.168.1.180;
}
