Octet

Walk me through how you troubleshoot a network problem.

Show the answer

Say this first

I define the problem before I touch anything: what exactly fails, for whom, since when, and what changed. Then I gather facts, rank the likely causes, and test one hypothesis at a time. I pick the method to fit the symptom: bottom-up for physical symptoms, top-down when one application fails, divide and conquer from a ping when I have no strong lead, or follow the path hop by hop. I verify the fix from the user's side and write down the root cause, not just what I changed.

Go deeper

The loop

  1. Define the problem. Turn "the network is slow" into "users on floor 3 see 5-second page loads to the CRM since 09:10".
  2. Gather facts. Scope, timing, recent changes, syslog, monitoring graphs, one reproducible example.
  3. List likely causes. Rank them by how likely they are and how cheap they are to test.
  4. Test one hypothesis at a time. Change one thing, observe, and revert it if it made no difference.
  5. Fix and verify from the user's point of view, not only from the router.
  6. Document. Timeline, cause, fix, and the follow-up actions that stop it happening again.

Picking a method

MethodStart atBest when
Bottom-upLayer 1new install, link lights, interface errors
Top-downThe applicationone app fails while others work
Divide and conquerLayer 3, usually a pingno strong lead; one test rules out half the stack
Follow the pathThe source, hop by hopmulti-hop paths, firewalls, NAT, routing
Compare with workingA known-good device or configone site or port fails, a similar one works
Swap componentsSuspect hardwarecable, optic or NIC is the likely culprit

What a senior answer adds

Read before you write. Capture show output before any change, keep a rollback ready, and tell the incident lead before touching production config. Time-box each hypothesis so you do not sink an hour into a guess.

Traps

  • Jumping to a fix before the problem is defined.
  • Changing several things at once, so nobody learns which one fixed it.
How did you do?Book 1.3 Architecture