Troubleshooting Methodology

CompTIA tests the order directly. A question gives you a scenario mid-way through and asks what to do next, and the answer is whichever step comes next in this list, not whichever action would fix it fastest.

The six steps, in order

StepWhat it involvesThe trap
1. Identify the problemQuestion the user, identify changes, back up before changing anythingSkipping the backup
2. Establish a theoryQuestion the obvious, research if neededTesting before you have a theory
3. Test the theoryConfirm it, or form a new one and test againFixing without confirming the cause
4. Establish a plan of actionConsider impact, escalate if neededActing without considering side effects
5. Verify full functionalityConfirm the fix and apply preventive measuresStopping when the symptom disappears
6. DocumentFindings, actions and outcomesLeaving nothing behind for the next person

Network troubleshooting commands

CommandWhat it tells you
pingWhether a host answers, and round-trip time
ping 127.0.0.1Whether the local TCP/IP stack works
ipconfig / ifconfig / ip addrLocal addressing
ipconfig /allDHCP server, DNS servers, MAC address
ipconfig /release and /renewGet a fresh DHCP lease
ipconfig /flushdnsClear a stale DNS cache
tracert / tracerouteWhere along the path it stops
nslookup / digWhether name resolution works, and what it returns
netstat -ano / ss -tulpnWhat is listening and connected
arp -aLocal MAC to IP mappings
pathping / mtrLatency and loss per hop over time

Working out where the fault is

SymptomLikely layer
No link lightPhysical. Cable, port, or NIC
APIPA address 169.254.x.xDHCP unreachable
Can ping IP but not nameDNS
Can ping local but not remoteDefault gateway or routing
Intermittent loss on wireless onlyInterference, channel overlap, or range
One application fails, others workApplication or firewall rule on that port
Slow for everyone at the same timeCongestion, duplex mismatch, or an upstream link

Now test yourself

Memorizing a table is a start. Practice questions are what make it stick, and every answer carries the full explanation.