Command
Show IP DHCP Conflict
Use
This command shows information about IP conflicts that are detected during the DHCP negotiation. IP conflicts occur when hosts have statically assigned IP addresses that are within the DHCP configured range, but are not excluded.
Syntax
Router#show ip dhcp conflict
Example
Below is an example of show ip dhcp conflict. First, we will configure R2 to provide DHCP services.
|
Now we will change R2’s Fa0/0 IP address to be the first address in the range.
R2(config)#int fa0/0 |
We then configure R1’s Fa0/0 interface to receive its address via DHCP. Notice how R1 reaches 10.1.1.2 as its address.
R1(config)#int fa0/0 *Mar 1 01:39:42.143: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 10.1.1.2 (FastEthernet0/0) is up: new adjacency |
When we check R2, we can see that there was a conflict when R2 tried to offer 10.1.1.1 as an address.
R2(config-if)#do show ip dhcp conflict |