Sub topic 14
Applying the Troubleshooting Methodology to Lab Scenarios
This chapter assumes you have a working virtual machine lab and have run basic command-line tools such as ipconfig, ping, and ip addr. Here you will use the CompTIA troubleshooting steps on faults you create yourself.
The Six Steps
The A+ objectives list a standard process. Exam questions often ask which step comes next, so learn the order.
- Identify the problem.
- Establish a theory of probable cause.
- Test the theory to determine the cause.
- Establish a plan of action, then implement the solution.
- Verify full system functionality and implement preventive measures.
- Document findings, actions, and outcomes.
Step 1 includes gathering information, questioning the user, identifying symptoms, and noting recent changes. It also includes backing up before you change anything. Step 3 has a branch: if the theory is wrong, form a new one, or escalate.
Break It, Then Fix It
A lab lets you create faults safely. Take a VM snapshot first, so you can undo your changes. Then break something and have the fix be the only goal.
| Injected fault | Likely symptom | First evidence to gather |
|---|---|---|
| Wrong static gateway | Local ping works, internet fails | `ipconfig /all`, then ping the gateway |
| Bad DNS server address | Sites fail by name, work by IP | `nslookup example.com` |
| Disabled network adapter | No connectivity at all | `ipconfig /all` or `ip addr show` |
| Corrupted system file | Errors or crashes in Windows | `sfc /scannow` |
Worked Example: Names Fail, Addresses Work
Suppose a Windows guest cannot open websites, but you inject the fault yourself by setting a wrong DNS server.
Identify. Browsing fails. Nothing else changed except the adapter settings you edited.
Theory. Work from the bottom of the network path upward. The test below shows whether the problem is at the IP layer or in name resolution.
ipconfig /all
ping 127.0.0.1
ping <default-gateway-address>
nslookup example.com
tracert example.comIf the first three succeed and nslookup times out, the theory becomes a DNS fault. The gateway answers, so the path out is fine.
Test. Pinging a public IP address that you know, such as one from your provider's documentation, should work. That confirms the theory.
Plan and fix. Restore the DNS server in the adapter settings, or set it back to automatic.
Verify. Run nslookup example.com again, then open a site. Also check that nothing else broke.
Document. Write what you saw, what you changed, and how you confirmed it.
The same order applies on a Linux guest. Use ip addr show, ip route show, ping -c 4 <default-gateway-address>, and resolvectl status.
Common Mistakes
- Jumping to a fix before gathering evidence.
- Skipping the verify step because the first symptom disappeared.
- Forgetting to document, then repeating the same work later.
- Reverting a snapshot instead of finding the cause. This ends the lab without teaching you anything.
Exercise
A user reports that no websites load. You ping the default gateway successfully, but nslookup example.com times out. Which step of the methodology are you in when you conclude that DNS is the probable cause, and what is the next step?
Show answer
You are in step 2, establishing a theory of probable cause. The next step is step 3, testing the theory, for example by pinging a known public IP address (which should work) and trying a different DNS server.
Exercise
You fix a lab fault and the original symptom disappears. Name the two steps that still remain.
Show answer
Verify full system functionality and implement preventive measures (step 5), then document findings, actions, and outcomes (step 6).