环境包含 OS X 10.6.8 服务器和 OS X 10.8.2 客户端。DHCP 在服务器上运行,租约时间为 1 天(86400 秒)。系统日志中每 2 小时记录一次 DHCP REQUEST/ACH 消息(不是预期的 1 天间隔)。请参阅下面的日志“服务器日志”。
在客户端。我检查了 en0 接口的 var/db/dhcpclient/leases 内容。这是唯一启用的接口。结果符合预期。LeaseLength 键的值为 85536 秒(假设它将从 LeaseStartDate 开始递减)。请参阅下面的文件“var/dv/dhcpclient/leases”。
任何关于导致此行为的原因的见解都将不胜感激。谢谢!
服务器日志:
2/27/13 10:00:17 PM bootpd[84012] DHCP REQUEST [en0]: 1,d4:9a:20:d5:7a:9c <labmac36>
2/27/13 10:00:18 PM bootpd[84012] ACK sent labmac36 192.168.6.67 pktsize 322
2/27/13 10:00:24 PM bootpd[84012] DHCP REQUEST [en0]: 1,d4:9a:20:d5:7a:9c <labmac36>
2/27/13 10:00:24 PM bootpd[84012] ACK sent labmac36 192.168.6.67 pktsize 322
2/27/13 10:00:25 PM bootpd[84012] DHCP REQUEST [en0]: 1,d4:9a:20:d5:7a:9c <labmac36>
2/27/13 10:00:25 PM bootpd[84012] ACK sent labmac36 192.168.6.67 pktsize 322
2/28/13 12:00:44 AM bootpd[85662] DHCP REQUEST [en0]: 1,d4:9a:20:d5:7a:9c <labmac36>
2/28/13 12:00:44 AM bootpd[85662] ACK sent labmac36 192.168.6.67 pktsize 322
2/28/13 12:00:51 AM bootpd[85662] DHCP REQUEST [en0]: 1,d4:9a:20:d5:7a:9c <labmac36>
2/28/13 12:00:51 AM bootpd[85662] ACK sent labmac36 192.168.6.67 pktsize 322
2/28/13 2:01:12 AM bootpd[87335] DHCP REQUEST [en0]: 1,d4:9a:20:d5:7a:9c <labmac36>
2/28/13 2:01:12 AM bootpd[87335] ACK sent labmac36 192.168.6.67 pktsize 322
2/28/13 2:01:18 AM bootpd[87335] DHCP REQUEST [en0]: 1,d4:9a:20:d5:7a:9c <labmac36>
2/28/13 2:01:18 AM bootpd[87335] ACK sent labmac36 192.168.6.67 pktsize 322
2/28/13 2:01:19 AM bootpd[87335] DHCP REQUEST [en0]: 1,d4:9a:20:d5:7a:9c <labmac36>
2/28/13 2:01:19 AM bootpd[87335] ACK sent labmac36 192.168.6.67 pktsize 322
2/28/13 4:01:39 AM bootpd[89028] DHCP REQUEST [en0]: 1,d4:9a:20:d5:7a:9c <labmac36>
2/28/13 4:01:39 AM bootpd[89028] ACK sent labmac36 192.168.6.67 pktsize 322
2/28/13 4:01:46 AM bootpd[89028] DHCP REQUEST [en0]: 1,d4:9a:20:d5:7a:9c <labmac36>
2/28/13 4:01:46 AM bootpd[89028] ACK sent labmac36 192.168.6.67 pktsize 322
2/28/13 6:02:06 AM bootpd[90654] DHCP REQUEST [en0]: 1,d4:9a:20:d5:7a:9c <labmac36>
2/28/13 6:02:06 AM bootpd[90654] ACK sent labmac36 192.168.6.67 pktsize 322
2/28/13 6:02:14 AM bootpd[90654] DHCP REQUEST [en0]: 1,d4:9a:20:d5:7a:9c <labmac36>
2/28/13 6:02:14 AM bootpd[90654] ACK sent labmac36 192.168.6.67 pktsize 322
2/28/13 6:02:15 AM bootpd[90654] DHCP REQUEST [en0]: 1,d4:9a:20:d5:7a:9c <labmac36>
2/28/13 6:02:15 AM bootpd[90654] ACK sent labmac36 192.168.6.67 pktsize 322
2/28/13 7:41:52 AM bootpd[92105] DHCP REQUEST [en0]: 1,d4:9a:20:d5:7a:9c <labmac36>
2/28/13 7:41:52 AM bootpd[92105] ACK sent labmac36 192.168.6.67 pktsize 322
2/28/13 7:41:59 AM bootpd[92105] DHCP REQUEST [en0]: 1,d4:9a:20:d5:7a:9c <labmac36>
2/28/13 7:41:59 AM bootpd[92105] ACK sent labmac36 192.168.6.67 pktsize 322
labmac36 上 en0 接口的 /var/db/dhcpclient/leases 内容
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IPAddress</key>
<string>192.168.6.67</string>
<key>LeaseLength</key>
<integer>85536</integer>
<key>LeaseStartDate</key>
<date>2013-02-28T12:41:58Z</date>
<key>PacketData</key>
<data>
AgEGAPomDwgAAAAAAAAAAMCoBkPAqAYKAAAAANSaINV6nAAAAAAAAAAAAABucy5zaGls
bGluZ3RvbnNjaG9vbC5jb20AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABjglNjNQEFNgTAqAYKMwQAAU4g
AQT///8AAwTAqAYBBgTAqAYKDxVzaGlsbGluZ3RvbnNjaG9vbC5jb213FxFzaGlsbGlu
Z3RvbnNjaG9vbANjb20A/w==
</data>
<key>RouterHardwareAddress</key>
<data>
AB2qgZwc
</data>
<key>RouterIPAddress</key>
<string>192.168.6.1</string>
</dict>
</plist>