![MAC/IP 绑定不起作用](https://linux22.com/image/11216/MAC%2FIP%20%E7%BB%91%E5%AE%9A%E4%B8%8D%E8%B5%B7%E4%BD%9C%E7%94%A8.png)
我使用 Centos-7 服务器来分配 MAC/IP。但有时用户会获得其他 IP 地址。
我的dhcpd.conf
authoritative;
subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.10 192.168.1.254;option domain-name "dhcp.local";option routers 192.168.1.1; option broadcast-address 192.168.1.255; max-lease-time 7200;option domain-name-servers 192.168.1.1;}
include "/etc/dhcp/dhclient.d/dhcp_clients.conf";
allow booting;
allow bootp;
option option-128 code 128 = string;
option option-129 code 129 = text;
next-server 192.168.10.1;
filename "pxelinux.0";
在/etc/dhcp/dhclient.d/dhcp_clients.conf
我有
host User.userlaptop {hardware ethernet 00:11:22:33:44:55;fixed-address 192.168.1.34;}
这里发生了什么?为什么它行为不端?
提前致谢