Skip to content
Visual explainer 1h 30m to learn 4 steps

Troubleshooting methodology

Troubleshoot layer by layer and isolate a fault with a repeatable method.

By Invicly Tech, , in Computer Networking. About 11 minutes to read.

Topic 34 of 51

In short

Good troubleshooting is a method, not a guess. Define the symptom and scope precisely, then test layer by layer, bottom-up from the cable or top-down from the application, changing one variable at a time. Writing down each test and result stops you going in circles.

Explained simply

When the network "is broken", the worst thing you can do is start changing settings at random. Good engineers follow a method. They first ask simple questions: what exactly fails, for whom, since when, and what changed just before? These answers often point to the cause before you touch a single command.

Networks are built in layers, like floors in a building. The cable and Wi-Fi are the ground floor. Above that sit MAC addresses and VLANs, then IP addresses and routes, then ports, and finally the application, such as a website. A problem on a low floor breaks everything above it, so checking floor by floor is a reliable way to find it.

You can start at the bottom (cable first) or at the top (the app first). A smart shortcut is to start in the middle: if you can ping the server by IP, layers 1 to 3 already work, and you only need to look higher. This is called divide and conquer.

Two habits make the method work. Change one thing at a time, then test again, so you know what really fixed it. And write everything down: each test, its result, and the final fix. Your notes become the incident report, and next time they become a runbook (a written recipe for a known problem).

Press Play on a diagram to walk through it one step at a time.

FlowBottom-up checklist
  1. 1
    Physical

    Link light, cable, Wi-Fi signal.

  2. 2
    Data link

    Right VLAN, ARP entry for gateway.

  3. 3
    Network

    IP, mask, gateway; ping gateway then remote IP.

  4. 4
    Transport

    Port open? nc or curl to it.

  5. 5
    Application

    DNS resolves? Service logs, HTTP status.

CompareThree ways to walk the layers
Bottom-up
  • Start at cable and link
  • Thorough, never skips a layer
  • Best for new installs
  • Slow if the fault is in the app
Top-down
  • Start at the app and its error
  • Fast with a clear message
  • Uses logs and HTTP codes
  • Can miss low-level faults
Divide and conquer
  • Start with ping by IP
  • Halves the search space
  • Needs some experience
  • The usual choice in practice

In depth

Defining the problem and its scope

A vague report like "the internet is slow" cannot be tested. Turn it into a precise symptom: "Since 09:40, users on floor 2 get a timeout when opening the CRM at crm.internal; other sites load fine." Now you know the time, the group affected, the target and the exact error.

Scope is the most powerful clue. One user failing points to that device or its cable. One whole VLAN failing points to the switch, trunk or DHCP for that VLAN. Everyone failing to one service points to that service or its path. Everyone failing to everything points to the gateway, firewall or internet link. Always ask what changed: a deploy, a firewall rule, a new switch, an expired certificate. Most outages follow a change.

  • What exactly fails, and what is the exact error?
  • Who is affected, and who is not?
  • Since when, and is it constant or intermittent?
  • What changed just before it started?
MapScope points to the likely culprit
Who is affected?
  • One user
    • Device settings
    • Cable, port or Wi-Fi
  • One VLAN or floor
    • Access switch or trunk
    • DHCP scope or relay
  • Everyone, one service
    • The server or app
    • Firewall rule or DNS record
  • Everyone, everything
    • Gateway or firewall
    • Internet link or upstream DNS

Bottom-up, top-down and divide and conquer

Bottom-up starts at the physical layer and climbs. It is thorough and good for new installs or when you suspect hardware: link lights, then VLAN and ARP, then IP and routes, then ports, then the app. Top-down starts at the application: what does the browser or the log say? It is fast when the error message is specific, such as an HTTP 502 or a TLS certificate error.

Divide and conquer starts in the middle, usually with a ping by IP address. If it works, layers 1 to 3 are fine and you go up. If it fails, you go down. Experienced engineers mix the three: they pick the starting point that the symptom suggests, and they fall back to bottom-up when the clues run out.

  • Bottom-up: new hardware, nothing works at all
  • Top-down: clear error from the app
  • Middle-out: start with ping by IP, then move up or down

Compare with a working baseline

The fastest way to find what is wrong is to compare with something that is right. If laptop A works and laptop B does not, compare their IP, mask, gateway, DNS servers and VLAN side by side: ip addr, ip route, and resolvectl status on Linux, or ipconfig /all on Windows. The difference is usually the cause.

A baseline is a record of normal behaviour taken while things are healthy: typical ping times to the gateway and to key servers, normal interface error counters, the usual traceroute path, normal bandwidth use. Without a baseline, you cannot tell whether 40 ms latency is a problem or just normal for that link. Saving a few command outputs every month costs minutes and saves hours later.

One change at a time, and write it down

If you change the DNS server, the gateway and the firewall all at once and things start working, you have learned nothing. Worse, one of those changes may have created a new hidden problem. Make one change, test the original failing case, and record the result. If the change did not help, undo it before trying the next one, so you do not stack unknown changes.

Keep a simple log while you work: time, what you tested, what you saw, and what you changed. At the end, write a short report: symptom, scope, root cause, fix, and how to prevent it. Root cause means the real reason, not the symptom: "the DHCP pool was full" rather than "users had no IP". These reports turn into runbooks the whole team can use.

CycleThe troubleshooting loop
  1. 1
    Observe

    Collect symptoms and scope

  2. 2
    Hypothesis

    Pick the most likely cause

  3. 3
    Test

    Run one check or make one change

  4. 4
    Record

    Write down the result

  5. 5
    Decide

    Fixed? If not, undo and try the next idea

  6. Back to step 1

Learn it in 4 short steps

About 25m each. Track them with a timer in your plan.

  1. 1
    Define the problem and scope~25m
  2. 2
    Work bottom-up or top-down by layer~25m
  3. 3
    Change one thing at a time~25m
  4. 4
    Document findings and the fix~25m

Key points

  • Ask who is affected, since when, and what changed.
  • Ping by IP and by name separately to isolate DNS.
  • Compare a working host with a broken one.
  • Change one thing at a time and record the result.

Key terms

Tap a card to flip it. 0/3 known

Examples

"The internet is down" for one user

Step 1, scope: only Priya's laptop fails; her neighbour is fine, so the switch and internet link are healthy. Step 2, middle-out: ping 1.1.1.1 works, so layers 1 to 3 are fine. Step 3: ping example.com fails with "Temporary failure in name resolution", so the problem is DNS. Step 4, compare with the neighbour: his DNS server is 10.20.40.10, hers is a stale 10.20.40.53 typed by hand last month. Step 5: switch her adapter back to DHCP, test again, and record the root cause (static DNS left over) and the fix.

bash
ip -br addr               # has an IP? on the right subnet?
ip route | grep default   # gateway present?
ping -c 3 1.1.1.1         # works: routing is fine
ping -c 3 example.com     # fails: name resolution
resolvectl status         # compare DNS servers with a working laptop

A web app is slow for everyone after lunch

Step 1, define it: since 13:15, every page of the intranet app takes 8 to 10 seconds; other sites are fast. Step 2, ask what changed: a new firewall rule set was pushed at 13:10. Step 3, top-down: curl timing shows time_connect is fast but time_starttransfer is 8 s, so the network path is fine and the server is waiting on something. Step 4: the app log shows each request waiting on the LDAP server, which the new rules now silently drop on TCP 636. Step 5: restore that one rule, re-test, and note in the report that rule changes need a test checklist.

Quick reference

  • Ask first: what fails, who is affected, since when, and what changed?
  • Ping by IP works but by name fails: suspect DNS, not routing
  • One user broken: check the device. One VLAN broken: check switch, trunk and DHCP
  • Start with ping by IP to split layers 1-3 from layers 4-7
  • Compare a broken host with a working one: IP, mask, gateway, DNS, VLAN
  • Make one change, re-test the original failure, undo it if it did not help
  • Log time, test, result and change as you go; it becomes the report
  • Report the root cause and prevention, not just the symptom

Common mistakes

  • Changing several settings at once, so you never learn what fixed it.
  • Blaming the network before checking the application logs.

Quick quiz

Pick an answer to see if you're right and why.

Question 1

1Users in one VLAN cannot get an IP address, but other VLANs on the same switch are fine. Where should you look first?

Question 2

2You can ping a server by IP. Which layers have you just shown are working?

Question 3

3Why should you change only one thing at a time?

Question 4

4What is a baseline in troubleshooting?

Question 5

5Which is a root cause rather than a symptom?

0/5 answered

Practice exercises

Try each one yourself first. Use the hint if you get stuck, then compare with the solution.

  1. Exercise 1easy

    Rewrite this vague report as a precise problem statement: "Email is broken." Invent realistic details and list the four scoping questions you would ask.

  2. Exercise 2medium

    Write a short Linux checklist script that prints, in bottom-up order, the facts you need to compare a broken host with a working one.

  3. Exercise 3hard

    Write a one-page incident report template and fill it in for this case: the guest Wi-Fi stopped reaching the internet after a firewall change; the fix was re-adding a NAT rule.

Check yourself

Answer in your head, reveal, then be honest with yourself.

Feel confident about this topic?

Frequently asked questions

What is the OSI model troubleshooting approach?
It means testing the network one layer at a time, from cable and Wi-Fi up to the application, so you can find the lowest layer that fails. Everything above a broken layer will also fail.
Should I start bottom-up or top-down?
Start where the symptom points. A clear app error suggests top-down; nothing working at all suggests bottom-up; otherwise start with a ping by IP and move up or down from there.
Why does my network work again after a reboot?
A reboot clears caches, renews DHCP leases and resets stuck processes, which hides the real cause. Note what you saw before rebooting so the problem can be found if it returns.

Go deeper

ShareXLinkedInWhatsApp