我有一个在 RHEL 6.6 上运行的 DHCP 服务器。我了解从协议的角度来看对话如何建立租约的过程(有点)。1 - DHCPDISCOVER 消息。2- DHCPOFFER,3- DHCPREQUEST,和 4- DHCPACK。但是,当您在日志中看到以下活动时,这意味着什么?请注意在初始 DHCPOFFER 发生很久之后 IP 上的活动是如何持续的。这里发生了什么?这只是客户端更新/请求相同的 IP,因此不需要进行 DHCPDISCOVER 或 DHCPOFFER 吗?
Dec 7 00:02:17 test dhcpd: DHCPACK on 123.123.123.123 to 00:0f:94:50:f5:60 via em0
Dec 8 00:02:27 test dhcpd: DHCPREQUEST for 123.123.123.123 from 00:0f:94:50:f5:60 via em0
Dec 8 00:02:27 test dhcpd: DHCPACK on 123.123.123.123 to 00:0f:94:50:f5:60 via em0
Dec 9 00:02:35 test dhcpd: DHCPREQUEST for 123.123.123.123 from 00:0f:94:50:f5:60 via em0
Dec 9 00:02:35 test dhcpd: DHCPACK on 123.123.123.123 to 00:0f:94:50:f5:60 via em0
Dec 10 00:02:41 test dhcpd: DHCPREQUEST for 123.123.123.123 from 00:0f:94:50:f5:60 via em0
Dec 10 00:02:41 test dhcpd: DHCPACK on 123.123.123.123 to 00:0f:94:50:f5:60 via em0
是的,延长租约的请求不需要 DISCOVER/OFFER 部分。