5.3 Given a scenario, troubleshoot common issues with network services
Addressing Issue
📘CompTIA Network+ (N10-009)
Definition
A Duplicate IP occurs when two devices on the same network are assigned the same IP address. Each device on a network must have a unique IP address to communicate properly. If two devices share the same IP, network conflicts happen, which prevents proper communication.
How Duplicate IP Happens
There are several common scenarios:
- Static IP Misconfiguration
- A network administrator assigns a static IP (manually set) to a device.
- Another device already uses the same IP.
- Example: A server is set to
192.168.1.50, and a workstation is also set to192.168.1.50.
- DHCP Conflicts
- DHCP servers automatically assign IP addresses to devices.
- If DHCP scope overlaps with manually set static IPs, a conflict can occur.
- Example: DHCP assigns
192.168.1.100to a laptop, but a printer already has that IP statically assigned.
- Network Device Cloning or Backup
- Cloning a VM or restoring a backup that had a static IP can accidentally create a duplicate.
Symptoms of Duplicate IP
When a duplicate IP exists, the network behaves abnormally. Common signs include:
- IP Conflict Notifications
- Operating systems often show an alert:
- Windows: “Windows has detected an IP address conflict.”
- Linux: Logs in
/var/log/syslogordmesgmay indicate conflict.
- Operating systems often show an alert:
- Loss of Network Connectivity
- Affected devices cannot communicate properly with the network.
- Services like file sharing, printing, or server access may fail intermittently.
- Intermittent Connectivity
- Sometimes, only one device can use the IP at a time, causing random network drops.
- Error in Network Logs
- Switches or routers may log MAC address conflicts or ARP errors.
How to Troubleshoot Duplicate IP
- Identify Conflicting IP
- On Windows:
ipconfig /allLook for the IP and check if it’s static or DHCP. - On Linux/macOS:
ifconfigorip addr show
- On Windows:
- Ping and ARP
- Ping the IP:
ping <conflicting_IP> - Check MAC addresses with ARP table:
arp -a - This identifies which devices have the same IP.
- Ping the IP:
- Check DHCP Server
- Verify DHCP leases.
- Ensure the DHCP pool does not include statically assigned addresses.
- Reassign IP
- Either set one device to a new static IP or allow DHCP to assign an address automatically.
- Restart Device if Necessary
- Some OSes require a reboot after resolving conflicts.
Prevention
- Plan IP Addressing
- Use DHCP for most devices.
- Reserve static IPs outside the DHCP pool.
- IP Address Documentation
- Maintain a record of static IP assignments for servers, printers, and other critical devices.
- Use DHCP Reservations
- Assign specific IPs to specific MAC addresses in DHCP to avoid conflicts.
Key Points for the Exam
- Duplicate IP occurs when two devices share the same IP address.
- It causes network connectivity issues and conflict alerts.
- Common causes: static IP conflicts, DHCP conflicts, cloning/restoring devices.
- Troubleshooting steps: identify conflicting devices, check DHCP, change IPs.
- Prevention: DHCP, documentation, and careful static IP planning.
