First connectivity diagnosis
Define what is failing
Connectivity is not one yes-or-no property. A device may answer ICMP echo while its web service is unavailable. A name may resolve to the wrong address even while the intended server is healthy. Start with a precise expected outcome: A should reach the fictional service on B at 198.51.100.10 TCP port 8080 and receive the application’s expected response. Record the source, destination, protocol and time of the symptom; the examples below use invented records with no real timestamps.
A repeatable order of checks
First compare interface state and address/prefix with the plan. Then inspect the forward and return routes; a gateway needs its own reachable next hop if a further route is required. Next distinguish neighbor resolution, ICMP echo and path-probe evidence. Test name resolution against the expected address, then TCP connection establishment and finally the actual application response. These checks are a reasoning order, not a requirement to send every probe. Existing evidence may already identify the next useful check. Never interpret a timeout as a unique diagnosis.
Compare five independent cases
Each row is a separate synthetic test from the same authorized lab design. OK means the specific check succeeded, REFUSED means the client observed a refusal, TIMEOUT means no expected response arrived in time, WRONG means DNS returned an unexpected address, and SKIP means not tested. TCP and app checks here use the intended numeric address, not the DNS answer. In case A, investigate listener/binding or rejecting policy. In B, the service is reachable despite failed echo. In C, compare DNS records with the plan. In D, inspect the path, policy, listener and return route before concluding why the TCP attempt timed out. In E, transport succeeded but the application did not meet its expected response.
Case Echo DNS TCP AppA OK OK REFUSED SKIPB TIMEOUT OK OK OKC OK WRONG OK OKD OK OK TIMEOUT SKIPE OK OK OK ERRORMake the smallest justified correction
Suppose case A has additional evidence: B listens on 127.0.0.1:8080, although the lab specification requires its Ethernet address. This is a concrete mismatch. Propose that the lab owner correct the service binding to the intended interface and permit only the required lab client according to the policy. Retest the original failing application request, check that an unrelated port remains unavailable and document the change and rollback. Do not disable the firewall, change the host default route or expose the service to all interfaces as a shortcut. This is a paper proposal, not an actual change.
Write a useful incident note
Use a short note: expected behavior, actual observation, evidence, plausible causes, next check, proposed fix, verification and rollback. In the case above the route is not proven faulty by a refused connection; the binding evidence gives a better hypothesis. For the milestone, combine earlier chapters: calculate a subnet, identify the next-hop MAC, separate DNS from transport, and explain what a successful application response does and does not prove. It proves that particular check worked under the tested conditions, not universal availability or security.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
First connectivity diagnosis — knowledge check
Interpret a fictional network and select evidence-based checks.
Echo succeeds but TCP port 8080 is refused. What is a useful next check?
Echo times out but the expected application response arrives. What can be concluded?
DNS returns a wrong address but the intended numeric address works. What should be compared first?
TCP connects but the app returns an error. What is the next useful investigation?
A TCP attempt times out. Which statement is accurate?