Interview Prep/Linux/Networking, DNS and firewalls

Two servers have the same IP and connections randomly reset; logs show `IPv4: martian source` or ARP flapping.

IntermediateTroubleshootingNetworking, DNS and firewalls
Answer

Likely causes → IP address conflict on the segment.

Diagnose →

sudo arping -D -I eth0 -c 3 10.0.1.25       # duplicate detection; replies = conflict
ip neigh show 10.0.1.25
journalctl -k | grep -i 'duplicate\|martian'

Fix → Find the other MAC owner (switch tables, DHCP leases, cloud console) and re-address one host.

Prevent → IPAM/DHCP reservations instead of hand-assigned addresses.

All Linux questions Roadmap: Linux

More on Networking, DNS and firewalls