Guide
Network troubleshooting: tools, IPv4 addressing and client connectivity
Use a layered approach: verify the address and local link, test reachability, inspect the path, then check services and packet evidence.
3 parts · 32 practice questions
Troubleshooting tools
A router's ordinary ping uses the address of its outgoing interface as the source. Extended ping lets you choose a source IP address or interface, either with the source keyword or through the interactive dialog after typing ping in privileged EXEC mode. A source-specific test checks connectivity using that source, including whether replies can return to it. If the ordinary ping works but a ping sourced from the router's LAN address fails, check whether the remote network has a route back to that LAN; filtering or other path problems can also prevent a reply.
- Ping reply
- !
- Ping timeout
- .
- Ping unreachable
- U
Catalyst IOS XE ping output uses ! for a received reply, . for a timeout, and U for a destination-unreachable error. A timeout does not identify the cause: routing, filtering, an unavailable host, or packet loss can prevent a reply.
IOS traceroute sends probes with successively larger IP time-to-live (TTL) values, starting at 1. Each router reduces TTL; when it reaches zero, that router normally sends ICMP time-exceeded, exposing that hop. The destination ends an IOS UDP-based trace with an ICMP port-unreachable response. Windows tracert is a corresponding host command; it sends ICMP echo probes with increasing TTL. A row of * means no answer arrived for those probes; it does not prove the destination is down. Investigate filtering of probes or replies and routing or return-path problems beyond the last responding hop.
Use show logging to read buffered system messages. Catalyst IOS XE documents an internal message buffer and configurable timestamps; check the device clock before relying on date and time stamps.
A packet capture provides packet-level evidence for troubleshooting. Catalyst 9800 documentation describes using a packet capture to examine packets between a client, controller, and RADIUS server. On a Catalyst switch, SPAN (Switched Port Analyzer) copies traffic from selected source ports or VLANs to a dedicated destination port connected to an analyzer. SPAN does not affect switching on the source ports or VLANs, and the destination port is dedicated to SPAN while configured.
On a switch, show mac address-table maps learned MAC addresses to VLANs and switch ports, helping locate a connected device. On a router or Layer 3 device, show arp maps local IPv4 addresses to link-layer MAC addresses. These tables answer different questions: the MAC table locates a device at Layer 2, while ARP associates an IPv4 neighbor with its MAC address.
ping 203.0.113.9 source 192.168.1.1
ping
traceroute 203.0.113.9
show logging
show mac address-table
show arpIPv4 addressing troubleshooting
RFC 1918 private IPv4 blocks are 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16; the middle block spans 172.16.0.0 through 172.31.255.255. Cisco IOS XE routing guidance identifies private and loopback addresses as invalid source addresses for Internet ingress or egress filtering. NAT translates addresses between private and public networks when configured.
- RFC 1918 private block
- 10.0.0.0/8
- RFC 1918 private block
- 172.16.0.0/12
- RFC 1918 private block
- 192.168.0.0/16
A prefix length counts the network bits in a 32-bit IPv4 address. The remaining bits are host bits. For ordinary subnets with at least two host bits, the all-zero host value is the network address and the all-one host value is the directed broadcast; usable host count is 2 to the power of host bits minus 2. Thus /27 leaves 5 host bits, 32 total addresses, and 30 usable host addresses. A /26 has blocks of 64 addresses in the final octet. Therefore 192.168.10.130/26 belongs to the .128 through .191 block: .128 is the network and .191 the broadcast.
A host normally reaches other networks through a default gateway on its own IP subnet. With a /25 mask, 10.1.1.200 is in 10.1.1.128/25, while 10.1.1.1 is in 10.1.1.0/25; that gateway is off-subnet and the host cannot resolve it directly with ARP. A /24 mask means 255.255.255.0, so 192.168.10.25/24 is in 192.168.10.0/24 and cannot use 192.168.20.1 as its directly reachable gateway.
Avoid overlapping subnets. 192.168.1.0/25 covers .0 through .127, so 192.168.1.64/26, which covers .64 through .127, is contained within it. These address ranges overlap, so they do not identify separate, disjoint subnets.
A /30 subnet has four addresses, typically a network address, two usable endpoint addresses, and a broadcast address. IOS XE supports /31 prefixes on point-to-point WAN interfaces, where both addresses serve as endpoints; this does not apply to multiaccess interfaces.
Duplicate IPv4 addresses mean two devices claim the same address. Connectivity can become intermittent as ARP mappings associate the address with different MAC addresses. Check for a manually configured address inside the DHCP pool and reserve or exclude addresses that DHCP must not allocate. show ip interface brief gives a concise list of router interfaces, IPv4 addresses, and status; use show ip interface or the running configuration when you need details such as the mask.
show ip interface brief
show ip interface
show running-config
show ip routeReferences (5)
- Catalyst 9300 IOS XE 17.18 Network Address Translation
- Catalyst 9300 IOS XE 17.13 Unicast RPF and Invalid Source Addresses
- Catalyst 9300 IOS XE 17.18 IP Addressing Services Configuration Guide
- Catalyst 9300 IOS XE 17.18 Command Reference: Interface and Hardware Commands
- Catalyst IOS XE 17.x IPv4 Addressing and /31 Point-to-Point Prefixes
Client connectivity troubleshooting
Start with the client link and its addressing. On Windows, ipconfig /all shows adapter addresses, subnet masks, default gateways, DNS servers, DHCP status, DHCP server, and lease details. ipconfig /release gives up a DHCP lease and ipconfig /renew requests one again; these can refresh settings after a VLAN or DHCP-scope change. ipconfig /flushdns clears the local DNS resolver cache. Linux examples include ip addr (or ip a) for interface addresses and ip route for routes, including a default via <gateway> line. On macOS, ifconfig shows interface addresses and status, netstat -rn shows routes, and networksetup -getinfo Wi-Fi summarizes the Wi-Fi service address, mask, and router.
- IPv4 link-local example
- 169.254.x.x
- DHCP relay command
- ip helper-address
- Authentication
- 802.1X
Catalyst IOS XE documentation describes IPv4 link-local addresses as self-assigned when infrastructure services such as DHCP are unavailable. If a Windows client shows a 169.254.x.x address, check whether it obtained DHCP configuration. When a client does not receive DHCP configuration, check physical or wireless link, access VLAN, DHCP service and scope, and the relay on the client VLAN interface when the DHCP server is on another subnet. On IOS XE, configure ip helper-address on the Layer 3 interface closest to the client to forward DHCP requests to a server on another subnet. DHCP snooping filters DHCP messages based on trusted and untrusted switch ports; by default, ports are untrusted. Renewing the lease requests fresh configuration but cannot fix a broken path to DHCP.
If a client can reach other hosts in its own subnet but not remote networks, verify that its default gateway is configured and belongs to the client's subnet, then check routing beyond it. If a client can ping a public IP address such as 8.8.8.8 but cannot open sites by name, IP connectivity is working and DNS is the first check: verify the configured resolver, how DHCP supplied it, and whether the resolver can be reached. A valid IP address alone does not prove that the gateway or DNS settings are correct.
For wireless problems, distinguish association and authentication from IP configuration. Catalyst 9800 WPA3 guidance documents compatibility differences among WPA3 security combinations, so confirm the WLAN configuration supports the client. On Windows, netsh wlan show interfaces reports the connected SSID, BSSID, radio type, channel, signal, authentication mode, and cipher. If a client is associated and has an address but access is unreliable, check signal strength and signal-to-noise ratio (SNR), then gateway and DNS settings.
WPA2-Enterprise uses 802.1X authentication with a RADIUS server. In EAP-PEAP, a server-side certificate is required and the client authenticates inside the secured channel; EAP-TLS requires both server-side and client-side certificates. Cisco's Catalyst 9800 EAP-TLS procedure says to verify that the endpoint certificate and full trust chain are installed. A DHCP renewal does not resolve a failed authentication exchange.
show ip interface brief
show ip route
show running-config | include ip helper-address
show loggingReferences (7)
- Catalyst 9300 IOS XE 17.18 Configuring DHCP
- Catalyst 9300 IOS XE 17.8 Configuring DHCP
- Catalyst 9800 IOS XE WPA3 Configuration Compatibility
- Catalyst 9800 IOS XE 26.x 802.1X Authentication
- Catalyst 9800 EAP-TLS Configuration
- Catalyst 3650 IOS XE Link-Local Addressing
- Cisco Wireless Client Troubleshooting: Windows netsh wlan
Check your understanding
Network troubleshooting: tools, IPv4 addressing and client connectivity
All 3 sections · no timer
Unlimited retries
Questions from every section are combined into one assessment. Answer them all correctly to complete the article.
Your completion saves in this browser. Sign in to sync it to your account.