最近公司设备增加了个添加静态arp的新功能,测试的时候发现了DHCP和arp的有趣的现象。简单的测试环境,用H3C5500作为DHCP server,笔记本作为客户端。H3C做server时DHCP OFFER和ACK报文都是单播回复的,如果用tftpd32那个软件做server则回复报文是广播。交换机配置如下:
[H3C]int vlan 38
[H3C-Vlan-interface38]ip add 192.168.50.1 255.255.255.0
[H3C-Vlan-interface38]un sh
Interface Vlan-interface 38 is not shut down
[H3C]dhcpserver ip-pool lab
[H3C-dhcp-pool-lab]network 192.168.50.0 24
[H3C-dhcp-pool-lab]dns-list 202.102.24.35
[H3C-dhcp-pool-lab]gateway-list 192.168.50.1
[H3C-dhcp-pool-lab]expired day 0 hour 0 minute 1