我有一个在 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
答案1
是的,延长租约的请求不需要 DISCOVER/OFFER 部分。