Troubleshooting
Before assigning 192.168.10.50 to eth0, an administrator wants to check whether another host on the segment already uses that address. Which command does this?
Show the answer
Correct answerA. arping -D -I eth0 192.168.10.50
AWhy this is right: Duplicate address detection mode sends ARP probes, and any reply shows another host holds the address.
BWhy not this: ip addr show lists only the addresses on this host, not ones used by other hosts.
CWhy not this: Flushing the neighbor table clears cached entries; it does not probe for the address.
DWhy not this: ss lists this host's own sockets; it cannot tell whether another host holds the address.
arping -D uses duplicate address detection mode: it sends ARP probes and exits successfully only if no host answers for the address. A reply means another device already holds that IP, so a conflict exists.