The IT Handbook

← All cheat sheets

Network

Network triage in five commands

Work from the bottom of the stack up: is the machine configured, can it reach the gateway, can it reach the internet, can it resolve names.

QuestionCommandWhat a good result looks like
What IP do I have?ipconfig /allAn address in your network range, not 169.254.x.x
Can I reach the gateway?ping 192.168.1.1Replies within a few milliseconds, no timeouts
Can I reach the internet?ping 8.8.8.8Replies, no timeouts
Does DNS resolve?nslookup example.comAn IP address comes back
Where does traffic stop?tracert example.comHops continue to the destination
Refresh a bad leaseipconfig /release && ipconfig /renewA new valid address appears