编辑/etc/dhcpd.conf
host ns {
hardware ethernet 12:34:56:78:AB:CD;
fixed-address 192.168.0.88;
}
hardware 那一行 写要排除地址的MAC
fixed-address 那行写你要绑定的IP(IP要在地址池内)
如果要排除多个
host ns {
hardware ethernet 12:34:56:78:AB:CD;
fixed-address 192.168.0.88;
}
..................
host ns {
hardware ethernet 12:34:56:71:AG:CF;
fixed-address 192.168.0.66;
}
复制几个就行了