1、检查dhcp服务是否启动
2、可以将客户端的MAC地址和固定IP写入 /etc/dhcpd.conf 的文件中类似:
allow booting;
allow bootp;
option routers 10.10.10.1;
option subnet-mask 255.255.255.0;
option domain-name "company.com";
option domain-name-servers 10.10.10.1;
ddns-update-style ad-hoc;
subnet 10.10.10.0 netmask 255.255.255.0 {
range dynamic-bootp 10.10.10.2 10.10.10.6;
default-lease-time 21600;
max-lease-time 43200;
filename "/pxelinux.0";
next-server 10.10.10.1;
host client7 {
### NOTE: CHANGE THIS TO THE MALWARE CLIENT'S MAC ADDR
hardware ethernet 00:0C:29:34:8A:4E;
fixed-address 10.10.10.7;
}
# please don't delete this last squirrely brace.
}