CMD Commands for Network Troubleshooting

Here are some useful Command Prompt (CMD) commands for troubleshooting network issues:

I’ve listed a few commands here that are handy for troubleshooting network problems in Windows. Go ahead and open your command prompt, then try these out to hopefully fix what’s going on.

ping [destination] – Checks connectivity to a specific IP or website.

Ex: ping 192.168.1.1 / ping 8.8.8.8

ipconfig /all – Displays detailed network adapter information.

ipconfig /release & ipconfig /renew – Releases and renews the IP address.

ipconfig /flushdns – Clears the DNS cache to resolve domain-related issues.

tracert [destination] – Traces the route packets take to reach a destination.

tracert 8.8.8.8

netstat -an – Shows active network connections and listening ports.

nslookup [domain] – Retrieves DNS information for a domain.

Ex: nslookup www.google.com

arp -a – Displays the ARP cache, useful for troubleshooting IP-to-MAC mappings.

getmac – Shows the MAC address of network adapters.

Scroll to Top