A workstation can ping the company's application server. Its network adapter is active, it has a valid IP address, and the default gateway responds normally.
Yet the employee still cannot open the business application.
The network technician restarts the workstation. Nothing changes. Someone suggests replacing the Ethernet cable, while another employee recommends changing the DNS settings. A third person wants to disable the firewall temporarily.
Each suggestion might address a particular type of failure, but none is supported by the evidence collected so far.
The most important skill in TCP/IP troubleshooting is not knowing dozens of commands. It is knowing which part of the communication process each command tests—and what its result actually proves.
A successful ping does not guarantee that a web server is accepting TCP connections. A completed TCP connection does not guarantee that TLS negotiation will succeed. Correct DNS resolution does not mean an application is healthy.
These distinctions help engineers identify problems without making unnecessary configuration changes.
In this guide, we'll investigate seven common TCP/IP networking problems, compare diagnostic commands for Windows and Linux, and build a local troubleshooting lab that demonstrates the difference between IP reachability and application availability.
We'll also follow a fictional office network incident from its initial symptoms to the final verification.
Why TCP/IP Troubleshooting Requires More Than Ping
TCP/IP is a collection of protocols that allow computers and applications to communicate across interconnected networks.
The commonly used four-layer TCP/IP model helps organize these responsibilities.
Application communication and network services
Communication between endpoints
Addressing and routing packets
Communication over local network connections
A web application request may depend on several layers working correctly.
The computer needs an operational network connection and appropriate addressing. It needs a route toward the destination and may need DNS to translate the application's hostname into an IP address.
For a conventional HTTPS connection over TCP, it also needs to establish a connection to the appropriate destination port.
TLS negotiation and application processing follow.
Modern HTTPS may also use HTTP/3 over QUIC, which runs over UDP. Therefore, the exact transport tests must match the application and protocol being investigated.
The important point is that each stage can fail independently.
Think of Troubleshooting as a Series of Questions
A useful investigation follows the communication path:
The application is unavailable | v Is the network interface operational? | v Does the device have valid IP configuration? | v Is there a usable route to the destination? | v Does the expected hostname resolve? | v Can the required transport connection succeed? | v Does the application respond correctly? | v Is performance acceptable? This is a diagnostic model rather than a rule that every investigation must follow exactly this order.
If an application provides a clear database authentication error, an engineer may begin with that evidence instead of repeating basic cable checks.
The purpose is to isolate the failing component and avoid confusing one symptom with another.
1. Network Interface Failures: When Communication Cannot Start
The first category involves the local network connection.
A workstation may have an unplugged Ethernet cable, a disabled adapter, incorrect switch-port configuration, or a wireless connection problem.
The result may be a completely unavailable connection or intermittent communication.
Symptoms Worth Investigating
A device may report that its network is disconnected.
The operating system might show an inactive adapter, or the connection may repeatedly disappear.
Sometimes a physical link exists, but the device still cannot communicate because of an incorrect VLAN or related network-access configuration.
Check the Interface on Windows
Open PowerShell and run:
Get-NetAdapter This displays the available network adapters and their reported operational status.
You can also inspect the network configuration:
ipconfig /all The second command provides addressing information, but it does not replace a direct examination of the adapter and underlying connection.
Check the Interface on Linux
ip -br link For additional information:
ip link show On systems with the appropriate utility installed, ethtool can provide further details about supported Ethernet connections.
Example: An Apparently Connected Workstation
Suppose a desktop computer cannot communicate with other devices.
The operating system reports that the Ethernet link is unavailable.
The engineer checks the physical connection and finds that the cable is not properly connected.
After correcting the connection, the link becomes operational.
The next step is to verify that IP communication and the required application also work.
A restored link does not automatically prove that every higher-layer problem has been resolved.
Diagnostic principle: Verify that the local connection is functioning before changing routes, DNS settings, or application configuration.
2. Incorrect IP Configuration: When the Addressing Does Not Match the Network
A device can have an active network interface but still lack a usable IP configuration.
Common problems include incorrect IPv4 addresses, subnet masks, gateways, and duplicate address assignments.
These problems can affect local communication or prevent the device from reaching remote networks.
Understanding the Network Prefix
Consider this configuration:
IPv4 Address: 192.168.10.25 Subnet Mask: 255.255.255.0 Network Prefix: 192.168.10.0/24 Default Gateway: 192.168.10.1 With a /24 prefix, the ordinary local subnet contains addresses in the 192.168.10.0/24 network.
The default gateway is also located in that subnet.
Now imagine a workstation configured with:
IPv4 Address: 192.168.20.25 Subnet Mask: 255.255.255.0 Default Gateway: 192.168.10.1 The configured address and gateway are not within the same directly connected /24 network.
Without an additional suitable route or specialized configuration, the workstation may be unable to reach its intended gateway.
Diagnose Addressing on Windows
ipconfig /all Review the assigned address, subnet mask, default gateway, and DNS configuration.
Compare these values with the intended addressing plan.
Diagnose Addressing on Linux
ip -br address ip route The first command shows the interface addresses.
The second displays the installed routes.
What About Duplicate IP Addresses?
Two devices using the same IPv4 address on the same network may experience unstable connectivity.
Symptoms can include intermittent communication, conflicting neighbor information, and unexpected changes in reachability.
Engineers should examine address assignments and relevant ARP information before changing configuration.
Assigning random replacement addresses can introduce additional conflicts.
IPv6 uses different address formats and prefix conventions.
A link-local address beginning with fe80:: is normal on IPv6 interfaces and should not automatically be treated as evidence of failure.
For IPv6 connectivity, verify the relevant addresses, prefixes, neighbor discovery, and routes.
Diagnostic principle: The existence of an IP address does not prove that it is correct for the network.
3. DHCP Failures: When Devices Cannot Obtain the Expected Configuration
Dynamic Host Configuration Protocol provides automatic network configuration.
In many IPv4 environments, DHCP supplies an address, subnet mask, default gateway, and DNS server information.
This reduces the need to configure every workstation manually.
Understanding the DHCP Process
A typical DHCPv4 assignment follows four messages:
Client DHCP Server | | |-------- DHCP Discover -------->| |<-------- DHCP Offer -----------| |-------- DHCP Request --------->| |<-------- DHCP ACK -------------| | | This is commonly called DORA: Discover, Offer, Request, and Acknowledgment.
A failure in the process can prevent a client from receiving the intended configuration.
A Useful Troubleshooting Clue
Suppose office computers normally receive addresses from:
A newly installed Windows computer instead receives:
An address within 169.254.0.0/16 may indicate automatic IPv4 link-local addressing.
This can occur when the device does not obtain an expected DHCP lease.
However, the address alone does not identify the exact underlying cause.
Investigate the DHCP Path
Potential causes include an unavailable DHCP server, exhausted address pool, incorrect VLAN assignment, or missing DHCP relay configuration.
When clients and a DHCPv4 server are located on different subnets, a relay may be required.
A Cisco router may provide this functionality using an appropriate ip helper-address configuration.
Inspect the current configuration:
ipconfig /all In an authorized local troubleshooting session, you may use:
ipconfig /release ipconfig /renew These commands can interrupt connectivity. They should not be executed casually during an active remote administrative session.
Inspect current addresses and routes:
ip address show ip route For systems using NetworkManager:
nmcli device show DHCP management commands vary according to the Linux distribution and networking service.
The Important Distinction
A DHCP server can provide a valid address while the device still lacks internet or application connectivity.
DHCP successfully assigning configuration is only one part of the communication process.
Diagnostic principle: Investigate automatic address assignment separately from routing, DNS, and application connectivity.
4. Routing Problems: When Packets Cannot Reach the Destination
Routing determines how IP packets move between networks.
A workstation may communicate normally with devices on its local subnet but fail to reach a remote server.
This often suggests a routing or gateway-related issue, although security restrictions and other factors may produce similar symptoms.
Understanding the Default Gateway
Consider a workstation with:
IP Address: 192.168.10.20 Subnet Mask: 255.255.255.0 Default Gateway: 192.168.10.1 When the workstation needs to reach a destination outside its directly connected networks, it uses an appropriate route.
If no more specific route is available, the default route commonly directs traffic toward the gateway.
Inspect Routes on Windows
route print Test the configured gateway when ICMP testing is permitted:
ping 192.168.10.1 You can also investigate the route toward an authorized destination:
tracert -d 192.168.20.10 The -d option avoids resolving intermediate hop addresses into hostnames.
Inspect Routes on Linux
ip route To ask Linux which route it would use:
ip route get 192.168.20.10 If traceroute is available:
traceroute -n 192.168.20.10 Example: Two Office Networks
Imagine a company with:
Office A: 192.168.10.0/24 Office B: 192.168.20.0/24 An application is hosted in Office B.
Employees in Office A cannot reach it.
The engineer verifies local connectivity and discovers that a router lacks an appropriate route toward the destination subnet.
Before changing the routing configuration, the engineer should also investigate the return path.
A packet might reach the server while the server's reply cannot return to the source.
Why Traceroute Requires Careful Interpretation
A missing response from an intermediate router does not automatically indicate that the router is dropping forwarded application traffic.
Network devices may restrict or deprioritize diagnostic responses while continuing to forward other packets.
Therefore, traceroute output should be interpreted alongside routing information and application tests.
Diagnostic principle: Verify forward and return reachability, and do not mistake missing diagnostic replies for definitive proof of a broken network path.
5. DNS Failures: When the Address Works but the Name Does Not
Domain Name System translates names into information used by network applications.
For example, a user may access an application through a hostname rather than entering its IP address.
If the hostname cannot be resolved, the application may appear unavailable even when the underlying server is reachable.
A Typical DNS Symptom
Suppose a workstation can establish a connection to a server using its known IP address.
However, a DNS lookup for the application's expected hostname fails.
This suggests that name resolution requires investigation.
Possible causes include incorrect resolver settings, missing DNS records, forwarding problems, or unavailable internal DNS servers.
Windows Diagnostic Commands
nslookup example.com You can also use PowerShell:
Resolve-DnsName example.com Inspect configured DNS servers:
ipconfig /all Linux Diagnostic Commands
getent ahosts example.com This uses the system's configured name-resolution mechanisms.
If installed, nslookup can help query DNS.
On systems using systemd-resolved:
resolvectl status Internal DNS Is Different From Public DNS
A corporate application might use an internal DNS zone that public resolvers cannot access.
If a workstation is accidentally configured to use an external resolver, public websites may work while internal application names fail.
Changing DNS servers without understanding the intended configuration can make the problem worse.
Another Important Limitation
A web application may require the correct hostname for TLS certificate validation or virtual-host routing.
Even when a direct IP connection succeeds, accessing the application by IP might not produce the same result as accessing its intended hostname.
This is why DNS troubleshooting should examine both resolution and the way the application uses the resolved address.
When Should You Clear the DNS Cache?
If evidence suggests an outdated local cache entry, clearing the cache may be appropriate.
ipconfig /flushdns However, this does not repair missing authoritative records or an unreachable DNS resolver.
Diagnostic principle: Test name resolution and IP connectivity independently. A failed hostname lookup is not the same as a failed network route.
6. TCP Connection Failures: When Ping Works but the Application Does Not
This is one of the most important distinctions in practical network troubleshooting.
A server may respond to ICMP Echo Requests while the required TCP service is unavailable.
For example, a host might respond to ping but fail to accept connections on TCP port 443.
How a TCP Connection Begins
TCP commonly establishes a connection using a three-way handshake:
Client Server | | |------------ SYN -------------->| |<---------- SYN-ACK ------------| |------------ ACK -------------->| | | Connection established The handshake is defined in the IETF's Transmission Control Protocol specification, RFC 9293.
A completed handshake establishes a TCP connection. It does not guarantee that the higher-level application will process a request successfully.
Test a TCP Port on Windows
Test-NetConnection example.com -Port 443 The result includes information about TCP connectivity to the selected destination.
The test helps distinguish a port-connectivity problem from basic ICMP reachability.
If Netcat is installed:
nc -vz example.com 443 For a supported HTTPS service:
curl -I https://example.com The first command attempts to establish a TCP connection.
The second performs a higher-level HTTPS request for response headers, involving additional protocol processing.
Use these commands only against approved destinations.
Interpret Common Outcomes
Possible Interpretation
TCP connection refused
The connection was rejected, possibly because no service accepts it
TCP connection timed out
Filtering, routing, or destination availability may be involved
TCP connection succeeds
The selected transport endpoint is reachable
TCP succeeds but TLS fails
Certificate or TLS configuration requires investigation
HTTPS returns HTTP 500
The server handled the request but encountered an application-side error
A timeout is not conclusive proof of a firewall problem.
A connection refused response can also be generated by devices other than the intended server.
Why Disabling the Firewall Is Usually the Wrong First Move
If a TCP connection fails, the engineer should examine the required service port, the listening process, routing, and applicable filtering rules.
Disabling an entire firewall can create unnecessary exposure and may conceal the actual configuration mistake.
A safer approach is to identify the specific rule responsible and evaluate an appropriately scoped correction.
Diagnostic principle: Ping tests selected network reachability. A TCP connection test examines a different condition. Neither, by itself, guarantees that an application works.
7. Packet Loss, Latency, and MTU: When the Connection Works but Performance Doesn't
Not every TCP/IP problem results in a complete outage.
Some applications connect successfully but become slow, freeze intermittently, or fail during larger transfers.
These symptoms may involve congestion, packet loss, latency, interface problems, or packet-size handling.
Packet loss occurs when packets fail to reach their intended destination.
Possible causes include network congestion, faulty interfaces, wireless interference, filtering, and overloaded systems.
TCP provides retransmission mechanisms to recover from certain lost data.
However, retransmissions can increase delays and reduce effective performance.
Latency describes the delay involved in communication.
High latency can affect interactive applications, remote sessions, and request-response workflows.
Jitter refers to variation in packet delay.
It is particularly relevant to real-time voice and video communication.
Maximum Transmission Unit describes a maximum packet size associated with a network link or interface, depending on the technology.
A network path may contain links with different MTU values.
If packets exceed the supported size and the necessary mechanisms do not operate correctly, communication may be affected.
Suppose employees connect through a VPN.
They can authenticate and open a web application, but large file transfers repeatedly stall.
The VPN adds encapsulation overhead, which can affect the effective packet size available for traffic.
The problem might involve MTU configuration or Path MTU Discovery.
However, the symptoms alone do not prove that MTU is the root cause.
Engineers should review packet behavior, interface statistics, path characteristics, and applicable configuration.
For IPv6, ICMPv6 Packet Too Big messages play an important role in standard Path MTU Discovery.
Blocking necessary control messages can cause connections to stall when larger packets are transmitted.
This illustrates why broadly blocking diagnostic or control protocols can create unintended network problems.
Basic Packet-Loss Tests
ping -n 10 192.168.10.1 On Linux:
ping -c 10 192.168.10.1 These commands send a limited number of ICMP probes to the example gateway.
Their results can provide useful evidence, but some devices rate-limit or restrict ICMP responses.
A short ping test is not sufficient to characterize every application performance problem.
Inspecting TCP Retransmissions
When an authorized packet capture is available, Wireshark can help examine TCP behavior.
One useful display filter is:
tcp.analysis.retransmission Retransmissions can indicate that acknowledgments or data were not received as expected.
They do not automatically identify which device or link caused the problem.
Diagnostic principle: When applications stall or perform poorly, investigate packet behavior and path characteristics rather than assuming that more bandwidth is the only solution.
A Decision Matrix for TCP/IP Troubleshooting
The seven categories can be organized into a practical diagnostic reference.
Useful Starting Test
Network disconnected
Get-NetAdapter or ip link
Adapter, cable, Wi-Fi, switch port
Wrong local IP address
ipconfig /all or ip address
Address, subnet, assignment
Unexpected 169.254.x.x address
DHCP settings and logs
DHCP server, pool, VLAN, relay
Local network works, remote fails
route print or ip route
Gateway, destination and return routes
Hostname cannot resolve
Resolver, zone, DNS record
Server responds to ping, app fails
TCP port and application test
Firewall, service, TLS, application
Large transfers stall
Capture and performance analysis
Loss, MTU, Path MTU Discovery
The table does not identify the root cause automatically.
It identifies the next area where useful evidence can be collected.
Real incidents may involve more than one problem, so the investigation must remain adaptable.
Hands-On Lab: Prove That Ping Success Does Not Mean a Web Server Is Running
This exercise demonstrates an important TCP/IP principle using a temporary local HTTP server.
It requires Python 3 and a terminal.
You will run the service on your own computer using the IPv4 loopback address 127.0.0.1.
The exercise does not require scanning or changing a corporate network.
Start a local HTTP server, verify access, stop the server, and compare the results of IP reachability and application-level tests.
Step 1: Prepare a Test Directory
Create a folder named:
tcpip-troubleshooting-lab Inside that folder, create a file named index.html:
Local Web Server
The HTTP service is running.
This provides a simple page for the web server to return.Step 2: Start the Web Server
Open a terminal in the folder.
On Windows, where the Python launcher is available:
py -m http.server 8000 --bind 127.0.0.1 On Linux:
python3 -m http.server 8000 --bind 127.0.0.1 The server listens on TCP port 8000.
Binding it to the loopback interface limits access to the local machine under normal operating conditions.
Keep this terminal open.
Step 3: Test Loopback IP Reachability
Open a second terminal.
ping 127.0.0.1 On Linux:
ping -c 2 127.0.0.1 The loopback address should normally respond.
This shows that the local host can process the selected ICMP traffic.
It does not establish that the web server is running.
Step 4: Test the HTTP Application
Open the following address in a browser:
http://127.0.0.1:8000/
You should see the test page.
On Linux, or any environment where the standard curl executable is available, run:
curl -I http://127.0.0.1:8000/ On Windows, you can use:
curl.exe -I http://127.0.0.1:8000/ With the server running correctly, the request should return HTTP response headers.
Step 5: Test the TCP Port on Windows
Test-NetConnection 127.0.0.1 -Port 8000 The TCP test should report success while the local server is accepting connections.
This confirms that the selected TCP endpoint is reachable.
Step 6: Stop the Server
Return to the terminal running the Python HTTP server.
This stops the server process.
Step 7: Repeat the Same Tests
First, ping the loopback address again.
The ping test should normally continue to work.
Now repeat the HTTP request:
curl -I http://127.0.0.1:8000/ The request should fail if no other service is listening on port 8000.
On Windows, repeating the PowerShell TCP test should also indicate that the connection is unsuccessful.
Step 8: Compare the Expected Results
TCP connection to port 8000
These are expected outcomes for the described environment.
They are not fabricated results from an independently performed live test.
If another process uses port 8000 or local security settings differ, your observed results may not match the table exactly.
Stopping the server does not normally disable the local IP stack.
The computer can still respond to ICMP traffic while no process accepts connections on the application port.
This is a useful troubleshooting distinction.
An engineer should never conclude that a business application is operational merely because its host responds to ping.
Following an Office Outage From Symptom to Root Cause
Let's apply the same reasoning to a larger fictional environment.
A company has 60 employees connected through several office network segments.
Its internal web application is hosted on a different subnet.
One morning, employees in a particular office area report that they cannot open the application.
First Observation: Only One Network Segment Is Affected
The technician confirms that employees in other office areas can access the application.
This suggests that the investigation should focus on components or configurations shared by the affected users.
However, the scope alone does not identify the failure.
Second Observation: Physical Links Are Working
The affected workstations show active network interfaces.
The technician finds no immediate evidence of disconnected cables or unavailable switch ports.
This reduces the likelihood of a simple link failure.
Third Observation: IP Addressing Is Correct
The workstations have IP addresses and subnet masks consistent with the intended network.
Their default gateway configuration also matches the approved addressing plan.
Fourth Observation: The Gateway Responds
The affected computers can reach their local default gateway using permitted diagnostic traffic.
This provides evidence that local IP connectivity is functioning.
It does not prove that remote application traffic is reaching its destination.
Fifth Observation: The Remote Path Is Incorrect
The technician examines the routing configuration.
The relevant router does not contain the expected route toward the application subnet.
The engineer checks the routing design and confirms that the missing route is necessary for the intended communication path.
The return route is also examined.
Sixth Observation: Application Security Rules Are Appropriate
The team reviews the intended firewall policy.
The required application traffic is permitted through the relevant controls.
The evidence points to routing rather than a firewall configuration error.
Seventh Observation: The Route Is Corrected
An authorized network engineer applies the appropriate routing change using the organization's change-management process.
The team repeats the original application test.
The affected users can now access the application.
The engineer checks the resulting routing information and confirms that the expected communication path works.
The incident is documented with its symptoms, evidence, confirmed cause, correction, and verification results.
This fictional scenario demonstrates a disciplined process rather than a specific real-world outage.
Its value is the reasoning.
The first symptom was an unavailable application, but the underlying problem was a missing route.
Changing DNS servers, replacing cables, or broadly disabling firewalls would not have addressed the confirmed cause.
Essential Windows and Linux Commands for Network Troubleshooting
Different operating systems provide tools for examining similar problems.
Inspect network interfaces
Examine network path
Examine neighbor information
Get-NetTCPConnection
Wireshark or tcpdump
Some commands require additional packages, appropriate permissions, or platform-specific options.
Knowing what a command measures is more important than memorizing the complete list.
For example, ip route shows routing information, while ss can help examine sockets and connection states.
Neither replaces application logs when the underlying failure is inside the application itself.
TCP/IP Troubleshooting Practices That Prevent Bigger Problems
Collect Evidence Before Changing Configuration
Record the error, affected systems, relevant addresses, and observed behavior.
A change made before collecting evidence may temporarily hide the problem without identifying its cause.
Compare a Working and Failing Device
If one workstation succeeds and another fails, compare their configurations and network paths.
This can reveal differences in DNS settings, gateway information, access policies, or application behavior.
Avoid Changing Several Variables at Once
Changing routes, firewall rules, and DNS settings simultaneously makes it difficult to identify which change resolved the issue.
Where practical, make one controlled correction and verify the result.
Don't Use ICMP as the Only Test
A failed ping does not necessarily mean that the destination application is unavailable.
A successful ping does not prove that a TCP port or HTTP service is working.
Choose tests that match the actual user-facing service.
Consider IPv4 and IPv6
Modern environments may support both address families.
A problem might affect one protocol family while the other continues working.
Check the application's actual destination addresses and selected network path.
Protect Remote Administrative Sessions
Renewing IP configuration, disabling interfaces, or changing routes can disconnect a remote session.
Perform potentially disruptive actions only with authorization and suitable recovery procedures.
Document the Root Cause
A useful incident report should explain what failed, which evidence supported the diagnosis, which correction was made, and how normal behavior was verified.
Documentation makes future investigations more efficient.
A Four-Week TCP/IP Troubleshooting Learning Roadmap
A structured learning plan can help beginners turn protocol knowledge into practical investigation skills.
Network access and IP addressing
Inspect interfaces, addresses, and routes
DHCP, DNS, and routing
Diagnose incorrect configurations
TCP connections and packet behavior
Complete the Python HTTP server lab
Integrated troubleshooting
Introduce controlled faults in a network lab
Week 1: Understand Basic Connectivity
Study Ethernet, IPv4, IPv6, TCP, UDP, and the TCP/IP model.
Practice identifying whether a problem concerns the local connection or a higher networking layer.
Week 2: Investigate Configuration Problems
Use sample addressing plans, routing tables, DHCP settings, and DNS records.
Practice identifying differences between intended and actual configurations.
Week 3: Understand Application Connectivity
Study the TCP handshake and common connection failures.
Run the local web-server exercise and compare ICMP, TCP, and HTTP test results.
Week 4: Combine the Skills
Build a small network in an authorized lab environment.
Introduce one fault at a time, such as an incorrect subnet mask, missing default route, or unavailable DNS resolver.
Collect evidence, identify the cause, restore the working configuration, and document the result.
The four-week schedule is a learning framework, not a guarantee of professional-level troubleshooting competence.
Why TCP/IP Troubleshooting Still Matters in Cloud and Security Roles
TCP/IP troubleshooting is not limited to traditional network engineers.
Systems administrators need it to investigate server connectivity and network services.
Cloud engineers use the same principles when diagnosing virtual networks, routes, private endpoints, DNS, and application dependencies.
Cybersecurity analysts examine TCP connections, network flows, DNS activity, and suspicious communication patterns.
Software developers also benefit from understanding the difference between network connectivity and application behavior.
For example, a cloud-hosted application can fail because of a missing route, an incorrectly scoped security rule, an unavailable service, or an application authorization error.
Each problem requires different evidence.
The underlying principles remain useful even as organizations introduce more automation and managed networking services.
AI-assisted troubleshooting tools may suggest commands or possible explanations, but engineers still need to validate those suggestions against actual results.
Closing: Troubleshoot the Failure, Not the Symptom
TCP/IP networking problems can produce similar user complaints even when their causes are completely different.
A disconnected network adapter prevents communication at the local connection level.
Incorrect addressing or DHCP configuration can stop a device from using the intended network.
Routing problems can prevent packets from reaching remote destinations, while DNS failures can stop users from resolving application names.
Firewall restrictions and unavailable services can prevent transport connections even when a host responds to ping.
Packet loss, latency, and MTU problems can produce slow or intermittent behavior that requires deeper analysis.
These seven categories demonstrate why effective troubleshooting should be systematic.
The local Python lab illustrates a particularly important distinction: the IP stack can remain functional while an application service is unavailable.
The fictional office outage shows the same principle at a larger scale. The network's local connections and IP configuration were correct, but a missing route prevented the application from being reached.
Both examples emphasize the importance of evidence.
The goal of TCP/IP troubleshooting is not to find a command that makes an error disappear. It is to identify the point where expected communication differs from actual behavior, explain why that difference exists, and verify that the correction restores the required service.
That approach remains useful across network engineering, systems administration, cybersecurity, cloud infrastructure, and software operations.
I'm Ryan Nakamura, a networking specialist with 10+ years in IT. I simplify Cisco, Linux,topics through guides for Cert Mage
Startups of the Year











