Guides to essential networking tools used in IT support roles.
- Ping
- Tracert
- Ipconfig
- nslookup
- Netstat
The ping command is used to verify network connectivity by checking whether a host (domain name or IP address) is reachable and measuring the response time for data packets.
The tracert command shows the path packets take across a network and highlights where delays or connection issues occur.
tracert gooogle.com
Use this command to trace the route from your computer to a website or server. It lists all the routers along the way, and if any hop is slow or unresponsive, it could point to a network issue.
tracert 8.8.8.8
This helps you see the path your network takes to reach a DNS server. It’s useful for troubleshooting slow or failing DNS lookups.
The ipconfig command shows and manages a Windows computer’s IP configuration. It’s commonly used for troubleshooting network issues and refreshing DHCP settings.
ipconfig
Shows and manages your Windows computer’s IP configuration. Useful for troubleshooting network issues and checking your IP settings.
ipconfig /all
Provides detailed information for all network adapters, including MAC addresses, DNS servers, DHCP status, and lease details. Use this for in-depth network diagnostics.
ipconfig /release
Disconnects your computer from the network by releasing its current IP address. Often used before renewing the IP or troubleshooting DHCP issues.
ipconfig /renew
Requests a new IP address from the DHCP server. Use this after releasing an IP or if your connection needs refreshing.
ipconfig /flushdns
Clears the DNS resolver cache on your computer. This is useful if you’re having trouble with outdated or incorrect DNS entries, such as when a website isn’t loading correctly.
The nslookup command is a tool used to query DNS records. It helps resolve domain names to IP addresses and vice versa, making it useful for troubleshooting DNS issues.
Ask your computer’s default DNS server to find the IP address for google.com
nslookup google.com
The results will show:
- Your current DNS server – the server your computer is using to resolve domain names.
- The IP address of google.com – the addresses that the DNS server returns for the domain.
Run the same query, but this time use Google’s public DNS server (8.8.8.8) instead of your default DNS. This lets you see what IP address Google’s DNS returns directly.
nslookup google.com 8.8.8.8.
This is useful for:
- Verifying whether your DNS server returns different results than other servers.
- Checking for DNS-related issues on your network.
The netstat command displays active network connections, listening ports, routing tables, interface statistics, and more. It’s useful for diagnosing network problems or monitoring ongoing connections.
netstat [options]
Displays all active network connections and listening ports, helping you see which applications are communicating over the network.
netstat -a
Displays active connections and listening ports using numerical IP addresses and port numbers, rather than resolving them to host or domain names.
netstat -n
Shows active connections along with the associated Process IDs (PIDs), helping you identify which programs are using each connection.
netstat -o
Combines -a and -n to show all active connections and listening ports using raw IP addresses and port numbers.
netstat -an
Displays which executable (program) created each connection or listening port, helping identify the source of network activity. Requires administrator privileges to run.
netstat -b

