DHCP:固定地址配置不正确?

DHCP:固定地址配置不正确?

我的 DHCP 配置是:

dns-update-style interim;
default-lease-time 86400;
max-lease-time 86400;
authoritative;
log-facility local7;
subnet 192.0.1.0 netmask 255.255.255.0 {
pool {
    option subnet-mask 255.255.255.0;
    option broadcast-address 192.0.1.255;
    option routers 192.0.1.1;
    option domain-name-servers 8.8.8.8, 8.8.4.4;
    range 192.0.1.231 192.0.1.231;
    host host_1 {
        hardware ethernet 5C:DC:96:04:1C:CA;
        fixed-address 192.0.1.231;
    }
    range 192.0.1.230 192.0.1.230;
    host host_2 {
        hardware ethernet 7C:01:91:1D:29:B9;
        fixed-address 192.0.1.230;
    }
    range 192.0.1.229 192.0.1.229;
    host host_3 {
        hardware ethernet 6C:88:14:DD:19:D0;
        fixed-address 192.0.1.229;
    }
    deny unknown-clients;
}
pool {
    option subnet-mask 255.255.255.0;
    option broadcast-address 192.0.1.255;
    option routers 192.0.1.1;
    option domain-name-servers 8.8.8.8, 8.8.4.4;
    range 192.0.1.40 192.0.1.40;
    allow unknown-clients;
}
}

我的问题是,有时某些用户(例如,MAC 地址为“6C:88:14:DD:19:D0”)获取的 IP 是 192.0.1.230,而实际上应该获取 IP 192.0.1.229 ...这是什么问题?

我的日志系统中有这些消息:

Feb  2 19:35:05 localhost dhcpd: Abandoning IP address 192.0.1.230: declined. 
Feb  2 19:35:05 localhost dhcpd: DHCPDECLINE of 192.0.1.230 from 6C:88:14:DD:19:D0 via enp14s0: abandoned

但用户 192.0.1.230 始终可以访问互联网。

相关内容