/30 子网上的 dhcpd 始终抱怨租约不可用

/30 子网上的 dhcpd 始终抱怨租约不可用

我在使用 dhcpd 时遇到了麻烦。

对于具有大量 255.255.255.252 子网的大型 WAN,我们使用 DHCP 将单个 IP 推送到所有这些站点。

每个子网的定义如下

subnet 10.91.17.0 netmask 255.255.255.252 {
            option routers 10.91.17.1;
            option subnet-mask 255.255.255.252;
    pool {
            allow members of "Devices";
            range 10.91.17.2 10.91.17.2;
    }
}

一切正常,但是系统日志中充满了下面的消息。另请参阅 tcpdump。

客户端在网站上永远不会改变,所以每次请求时它都应该获得相同的地址。

你知道为什么我一直收到这些消息吗?

谢谢

DHCPREQUEST for 10.91.17.2 from 00:18:6e:3a:0f:00 via 10.91.17.1: lease 10.91.17.2 unavailable.
DHCPNAK on 10.91.17.2 to 00:18:6e:3a:0f:00 via 10.91.17.1




15:46:10.347927 IP (tos 0x0, ttl 255, id 22511, offset 0, flags [none], proto UDP (17), length 281)
    10.205.148.2.bootps > 10.205.148.5.bootps: [udp sum ok] BOOTP/DHCP, Request from 00:18:6e:3a:0f:00, length 253, xid 0x1, Flags [none] (0x0000)
          Client-IP 10.91.17.2
          Gateway-IP 10.91.17.1
          Client-Ethernet-Address 00:18:6e:3a:0f:00
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: Request
            Client-ID Option 61, length 7: ether 00:18:6e:3a:0f:00
15:46:10.348202 IP (tos 0x0, ttl 64, id 29802, offset 0, flags [DF], proto UDP (17), length 328)
    10.205.148.5.bootps > 10.91.17.1.bootps: [bad udp cksum 0xbb73 -> 0xbe92!] BOOTP/DHCP, Reply, length 300, xid 0x1, Flags [Broadcast] (0x8000)
          Gateway-IP 10.91.17.1
          Client-Ethernet-Address 00:18:6e:3a:0f:00
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: NACK
            Server-ID Option 54, length 4: 10.205.148.5
            MSG Option 56, length 31: "requested address not available"

相关内容