howtonetwork.net

Cisco Certification Training

  • Products
  • CCNA
    • CCNA Videos
    • CCNA Lectures
    • CCNA Practice Exams
    • Challenge Labs
      • Challenge Video Solutions
    • Cisco Commands
  • CCNP ROUTE
    • ROUTE Exams
  • CCNP SWITCH
    • SWITCH Exams
  • CCNP TSHOOT
  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training
You are here: Home / Show IP DHCP Conflict

Show IP DHCP Conflict

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

simple

Below is an example of show ip dhcp conflict. First, we will configure R2 to provide DHCP services.

R2(config)#ip dhcp pool VLAN
R2(dhcp-config)#dns-server 4.2.2.2
R2(dhcp-config)#network 10.1.1.0 /24

Now we will change R2’s Fa0/0 IP address to be the first address in the range.

R2(config)#int fa0/0
R2(config-if)#ip add 10.1.1.1 255.255.255.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
R1(config-if)#ip add dhcp
R1(config-if)#shut
R1(config-if)#no shut
*Mar 1 01:54:31.603: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 10.1.1.2 (FastEthernet0/0) is down: interface down
R1(config-if)#
*Mar 1 01:54:41.947: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 10.1.1.1 (FastEthernet0/0) is up: new adjacency
R1(config-if)#d
*Mar 1 01:54:42.947: %DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet0/0 assigned DHCP address 10.1.1.2, mask 255.255.255.0, hostname R1

*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
IP address Detection method Detection time VRF
10.1.1.1 Gratuitous ARP Mar 01 2002 01:54 AM

Get access to over 5 hours of IT webinar videos as well as regular study tips and ideas when you
join our mailing list

About This Site

We replaced this site some time ago with an upgraded version. Please feel free to enjoy the content and if you like what you see check out our brilliant new site:

howtonetwork.com

Keep In Touch

About Us

This is a free access website which has now been replaced by howtonetwork.com.

Navigation

  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training

Copyright

All content is protected by international copyright laws. Copyright Reality Press Ltd.

Copyright © 2023 · Dynamik Website Builder on Genesis Framework · WordPress · Log in