Client IP Verification
Cheat sheet · https://pcornel.dk/topic.php?topic=573
Answer
Client IP verification checks a host's own view — IP address, mask/prefix, default gateway and DNS servers — before blaming the network, using ipconfig, ip address/ip route or ifconfig/networksetup.
Remember
Read the host's own settings first: address, prefix, gateway, DNS. 169.254.x.x means DHCP failed; a gateway outside the host's subnet cannot work; wrong DNS makes names fail while IP addresses work. Clear stale state with ipconfig /renew and ipconfig /flushdns (Windows) or by restarting the interface.
First checks
ipconfig /all(Windows) — address, mask, gateway, DNS, DHCP server and lease.ip -br addrandip route(Linux) — addresses and default route.resolvectl status(Linux) /scutil --dns(macOS) — DNS servers in use.arp -a/ip neigh— gateway MAC resolved.nslookup <name>— DNS answer and which server gave it.
Commands
show ip interface brief- Compact IPv4 interface/address/protocol state.
ip addrip routenmcliip neighnslookupdigresolvectl querytracerttracerouteip -br a; ip routeresolvectl statusnmcli con up …sudo ipconfig set en0 DHCP
Verify in this order
link up → address received (not APIPA) → prefix and gateway consistent → gateway resolved and answers → DNS server set and answers → names and destinations reachable
Where it usually breaks
physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=573