A Linux administrator is troubleshooting intermittent network connectivity on a server with the static IP address 192.168.1.55. The administrator suspects an IP address conflict with another device on the same subnet. Which of the following commands would be the most effective tool to confirm this suspicion?
The correct answer is to use arping -D -I eth0 192.168.1.55. The arping command sends ARP requests to a specified address. The -D flag enables Duplicate Address Detection (DAD) mode. In this mode, arping will send an ARP request and wait for a reply. If a reply is received, it signifies that another host is using the IP address, thus confirming a conflict, and the command exits with a status of 1.
ping -c 5 192.168.1.55 is incorrect because while it can test connectivity to an IP address, it does not definitively identify a conflict. It only confirms that a device at that address is responding, not if multiple devices are.
ip addr show eth0 is incorrect because it only displays the IP configuration of the local server's eth0 interface. It cannot detect if another device on the network is using the same IP address.
traceroute 192.168.1.1 is incorrect as traceroute is a tool designed to map the network path (hops) to a destination host, which is typically used for diagnosing routing issues, not for detecting IP conflicts on the local subnet.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What does the `arping` tool do in Linux?
Open an interactive chat with Bash
What is Duplicate Address Detection (DAD) mode in arping?
Open an interactive chat with Bash
Why is `ping` not suitable for detecting IP conflicts?
Open an interactive chat with Bash
CompTIA Linux+ XK0-006 (V8)
Troubleshooting
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access