Free tech learning for everyone, from basics to pro

Network FundamentalsNetworking SecurityBeginner

IP address conflicts: causes, symptoms and how to find and prevent duplicates

In short: An IP conflict happens when two devices use the same address, so traffic goes to the wrong one or flips between them. Common causes are static addresses inside a DHCP range, devices restored with old settings, two DHCP servers on one VLAN, or a virtual machine clone. Finding the two MAC addresses in the ARP table and following them in the switch MAC table identifies both devices.

What goes wrong

An IP address must be unique on a network. When two devices use the same one, other devices' ARP caches point to whichever answered last. Connections to that address break, work for a while, then break again. Windows usually shows "Windows has detected an IP address conflict", and network devices log "duplicate address" messages.

Tracking down an IP conflictSymptomconflict warning,drop-outsARP tablewhich MACsclaim the IPMAC tablewhich portsFind devicesswitch port,DHCP logsFixstatic outsidepool, reservations
Figure 1. Two MAC addresses answering for the same IP is the clue; the switch tables tell you where they are.

Common causes

  • Static address inside the DHCP pool: someone sets a printer to 10.10.20.60 by hand, and later DHCP gives 10.10.20.60 to a laptop.
  • Old configuration: a device returning after months away, or restored from a backup, with a static IP now used by something else.
  • Two DHCP servers handing out the same range on one VLAN, including rogue ones such as a home router plugged in by a user.
  • Cloned virtual machines or devices with a copied configuration.
  • Typing mistakes when configuring static addresses.

Finding the two devices

  1. On the gateway, check which MAC currently owns the IP: show ip arp 10.10.20.60. Clear it (clear ip arp 10.10.20.60) and check again; if the MAC changes, you have both.
  2. Syslog messages often name both MACs: %IP-4-DUPADDR: Duplicate address 10.10.20.60 on Vlan20, sourced by a4bb.6d12.3c4f.
  3. From a PC on the same VLAN, arp -a after pinging the address, or arping on Linux, which shows every MAC that answers.
  4. Find each MAC's switch port with show mac address-table address, following uplinks with CDP or LLDP.
  5. Check DHCP server leases to see which device was given the address legitimately.

Preventing conflicts

  • Keep static addresses outside DHCP ranges, for example .1 to .49 static and .50 to .250 DHCP, and document them in IPAM.
  • Use DHCP reservations instead of static addresses for printers and similar devices.
  • Enable DHCP conflict detection: Cisco IOS pings an address before offering it (ip dhcp ping packets 2), and Windows Server has a conflict detection setting.
  • Use DHCP snooping on switches so only trusted ports can answer DHCP, blocking rogue servers.
  • When cloning VMs, make sure network settings are reset.

Real-world example: the printer that kept vanishing

A school's staff room printer disappeared from the network several times a day. The gateway log showed duplicate address warnings with two MACs. One was the printer; the other was a teacher's laptop. The printer had been given a static address inside the DHCP range years earlier, and whenever the laptop's lease landed on the same address, the printer dropped off. A DHCP reservation for the printer and an exclusion for old static ranges fixed it.

Practice

What is the most common cause of IP conflicts in offices?
A static address configured inside the DHCP pool, later handed out to another device.
How can you see both MAC addresses that claim one IP?
From the gateway's ARP table and duplicate address log messages, or with arping or arp -a on a host in the same VLAN.
Name two features that help prevent IP conflicts.
DHCP reservations, DHCP conflict detection (ping before offer) and DHCP snooping against rogue servers.

Key takeaways

  • Two devices with one IP make connections break and flip between them.
  • Static IPs inside DHCP pools and rogue DHCP servers cause most conflicts.
  • Use ARP tables, logs and MAC tables to find both devices.
  • Keep statics outside pools, use reservations, conflict detection and DHCP snooping.
Tracks your learning on this device only. See your progress on the learning paths.
Verified author✓ Valid
Issued to
Mohamed Fayas
Role
Founder of FM TecHub
Credentials
CCNABTEC HND Network EngineeringBEng (Hons) Computer Networking & Cloud Security
Issuer
FM TecHub · fmtechub.com

He writes practical, plain-English guides on networking, security and cloud.

More about the author →

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Email updates: coming soon

New notes, tools and security news from FM TecHub by email, explained simply. Free. We're not collecting email addresses yet; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesopening soon

Meanwhile, stay connected: