DEV Community

Cover image for Learning Network Troubleshooting: Checking IP Address and Connectivity
Beny
Beny

Posted on

Learning Network Troubleshooting: Checking IP Address and Connectivity

Today, I worked on a fundamental networking task: checking the IP address of my system and testing network connectivity using practical commands in Windows Command Prompt.

At first, commands like ipconfig and ping seemed very simple. But after implementing them practically, I understood that these commands can help identify where a network problem is actually occurring.

I started with:

ipconfig

This helped me check my system's IPv4 address, subnet mask, and default gateway.

Next, I tested the local network stack using:

ping 127.0.0.1

The result confirmed that my local TCP/IP networking stack was working correctly.

One interesting part of the task was testing:

ping 192.168.1.1

The request timed out. Instead of immediately assuming there was a network problem, I checked my actual network configuration and realized that 192.168.1.1 was not the default gateway of my current network.

This was an important practical lesson for me: we should not assume that every network uses 192.168.1.1 as its gateway. We should first check the actual default gateway using ipconfig.

Finally, I tested external connectivity and DNS resolution using:

ping google.com

The successful response confirmed that my system could communicate with an external network and that DNS resolution was also working.

My Main Takeaway

Today's task helped me understand that network troubleshooting should follow a logical process.

First, check the IP configuration. Then test the local network stack, verify the actual default gateway, test external connectivity, and finally check DNS resolution.

The most important thing I learned is that troubleshooting is not about randomly running commands. Each command helps test a different part of the network.

A simple practical task, but it gave me a much clearer understanding of how to identify whether a connectivity problem is related to the device, local network, gateway, internet connection, or DNS.

#Networking #NetworkTroubleshooting #WindowsCMD #Linux #DevOps #ITInfrastructure #IPAddress #LearningInPublic #TechLearning

Top comments (0)