IP troubleshooting works best when you test one layer at a time. Start with the physical connection, verify the device configuration, then test local and remote connectivity before changing network equipment.
This practical guide explains a reliable workflow for diagnosing common IP network problems on computers, switches, routers, and wireless devices.
Start with the Physical Connection
Check power, link lights, cable condition, Wi-Fi signal, and the correct switch port. A disconnected cable, disabled interface, incorrect VLAN, or weak wireless connection can look like an IP addressing problem.
Verify the IP Configuration
Confirm that the device has the correct IP address, subnet mask or prefix length, default gateway, and DNS servers. A device must use the same subnet as its gateway unless routing is configured. On Windows, use ipconfig /all; on Linux or macOS, use ip addr and ip route.
Use Ping in the Correct Order
- Ping
127.0.0.1to confirm the local TCP/IP stack. - Ping the device’s own IP address to check the assigned interface.
- Ping the default gateway to test local network access.
- Ping a known remote IP address to test routing.
- Ping a domain name to test DNS resolution.
If an IP address replies but a domain name does not, the likely issue is DNS rather than general connectivity.
Check VLAN, Switch Port, and Gateway Settings
For a wired network, verify that the switch port is active and assigned to the correct VLAN. A VLAN mismatch can give the device an address but prevent it from reaching the intended gateway. On Cisco switches, useful commands include show interfaces status, show vlan brief, and show mac address-table.
Check Routing and Firewall Rules
When the gateway responds but a remote network does not, check the routing table, ACLs, firewall policies, NAT rules, and VPN configuration. Do not disable a firewall as a general troubleshooting step. Instead, confirm whether a specific rule is blocking the required protocol, port, or destination.
Useful Diagnostic Commands
ping: tests reachability and packet loss.tracertortraceroute: shows the path toward a destination.nslookupordig: checks DNS responses.arp -a: checks local ARP entries.netstatorss: checks active connections and listening ports.
Document the Result
Record the IP address, gateway, VLAN, test destination, command result, and time of the issue. This makes recurring faults much easier to identify and helps network teams compare working and non-working devices.
Continue Learning
For related topics, read our IP Addressing guide and VLAN Configuration guide. For structured Cisco networking study materials, explore the Cisco Premium PDF collection.