Before assigning an IP address, the DHCP server pings the IP address to ensure that it is not in use. If the IP address to be allocated is already occupied, an IP address conflict alarm is generated. In addition to the preceding logs, you can run the show ip dhcp conflict command to display records of IP address conflicts. Since conflict detection occurs before IP address assignment, this alarm has no impact on services.Phenomenon 2:
When an IP address is shared by multiple clients and the device detects a change inthe ARP entry, the preceding logs are generated. This conflict can lead tonetwork instability and impact the services of clients using the conflicting IPaddress.[size=14.6667px]2. Cause Analysis
1. Enable DHCP snooping on the access switch. Ruijie>enable Ruijie#configure terminal Ruijie(config)#ip dhcp snooping ------> Enable DHCP snooping. 2. Configure the interface connected to the DHCP server as a trusted port. Ruijie(config)#interface gigabitEthernet 0/49 Ruijie(config-GigabitEthernet 0/49)#ip dhcp snooping trust --------All interfaces on the switch with DHCP snooping enabled are untrusted interfaces. The switch forwards only DHCP response packets (offer and ACK) received from trusted interfaces. 3. Save the configuration. Ruijie(config-GigabitEthernet 0/49)#end Ruijie#write//Verify and save the configuration. |
show ip dhcp server track mac c62b.6c7d.b1d7 log count 7 Fri Jul 19 17:52:18 2024 mac:c62b.6c7d.b1d7, ifdex:1, giaddr:0.0.0.0, vid:0, l2ifdex:0, ipaddr:10.0.6.49, unicast recv request packet //Receive a request packet from the client. request packet pretreatment agent current offer status agent request event deal send ack pack //Send the ACK packet. agent change bind status //The client changes to binding status. end Fri Jul 19 17:52:18 2024 mac:c62b.6c7d.b1d7, ifdex:1, giaddr:0.0.0.0, vid:0, l2ifdex:0, ipaddr:10.0.6.49, unicast ping Timer timeout //Perform a ping before IP address assignment. If the result is timeout, the IP address is not occupied. agent current checking status agent ping pass deal send offer pack //Send an offer packet to the client. agent change offer status end Fri Jul 19 17:52:18 2024 mac:c62b.6c7d.b1d7, ifdex:1, giaddr:0.0.0.0, vid:0, l2ifdex:0, ipaddr:10.0.6.49, unicast recv discover packet //Receive a DHCP discover packet. agent current checking status agent discover event deal end |
Welcome to Ruijie Community (https://community.ruijienetworks.com/) | Powered by Discuz! X3.2 |