A router interface can have the correct IP address and still fail every connectivity test. The cable may be down, the port may be administratively shut, the subnet mask may be wrong, or the host may be sending traffic to a different default gateway. For Cisco CCNA 200-301, the useful skill is to configure interfaces and then prove which part of the path works. This lab builds that habit with IPv4, IPv6, client checks, and one optional routed extension.
The examples use documentation-only IPv4 ranges and IPv6 documentation prefixes. They are designed for an isolated simulator or test environment, not a production network or addresses to publish on the internet. Cisco IOS and IOS XE interface numbering differs by model: use the interface identifiers actually shown on your device rather than copying GigabitEthernet0/0 blindly.
Begin with a topology you can explain
Place one router, R1, between two test LANs. LAN A uses 192.0.2.0/24, and LAN B uses 198.51.100.0/24. The router connects to a switch and one test host on each LAN. Keeping the first lab this small is deliberate: a single connected route on each side is enough to test addressing, interface state, ARP, and gateway selection before adding static routes or NAT.
| Device and interface | IPv4 address | IPv6 prefix or gateway |
|---|---|---|
| R1 Gi0/0 to LAN A | 192.0.2.1/24 | 2001:db8:10::1/64 |
| Host A | 192.0.2.10/24 | Default gateway 192.0.2.1 |
| R1 Gi0/1 to LAN B | 198.51.100.1/24 | 2001:db8:20::1/64 |
| Host B | 198.51.100.10/24 | Default gateway 198.51.100.1 |
Configure the hosts with the addresses shown, keep their masks at /24, and confirm that the switch ports are actually in the intended access VLANs. If you instead use a router-on-a-stick design, configure 802.1Q subinterfaces rather than placing separate routed addresses directly on physical interfaces. That design difference matters: an IP address on the wrong interface cannot fix a missing trunk or VLAN assignment. Understanding VLANs and trunking explains why the Layer 2 path has to exist first.
Read the interface state before making changes
Start in privileged EXEC mode and inspect the router instead of assuming a factory state. The first three commands reveal the names and IPs in use, whether a port is disabled, and whether an interface already has a meaningful description.
R1# show ip interface brief
R1# show interfaces description
R1# show running-config interface GigabitEthernet0/0
An interface shown as administratively down was disabled by configuration; shutdown or an unchanged initial state is the first place to look. A port shown as down/down after activation usually needs physical checks: device power, cable, transceiver, switchport state, and the far end. An up/up interface confirms an operational local link, not that a host has the right mask or can reach its destination. Treat these outputs as three different kinds of evidence, not interchangeable success indicators.
Record the state of R1’s two LAN interfaces before editing them. This baseline prevents the common lab error of configuring a similarly named but unused port. A production change also requires a rollback plan, permitted maintenance window, and console or out-of-band access when altering the management path.
Assign IPv4 addresses and activate the ports
The following IOS-style configuration creates the intended routed interfaces. Interface descriptions make later troubleshooting easier; no shutdown removes an administrative disable but cannot repair a failed cable. These commands assume the lab device accepts the interface names shown.
R1# configure terminal
R1(config)# interface GigabitEthernet0/0
R1(config-if)# description LAB-A-192.0.2.0-24
R1(config-if)# ip address 192.0.2.1 255.255.255.0
R1(config-if)# no shutdown
R1(config-if)# exit
R1(config)# interface GigabitEthernet0/1
R1(config-if)# description LAB-B-198.51.100.0-24
R1(config-if)# ip address 198.51.100.1 255.255.255.0
R1(config-if)# no shutdown
R1(config-if)# end
The router should now install two connected IPv4 network routes once both interfaces are operational. Verify the result rather than guessing from a configuration command’s acceptance.
R1# show ip interface brief
R1# show ip route connected
R1# show arp
R1# ping 192.0.2.10
R1# ping 198.51.100.10
If either connected route is absent, inspect the associated interface’s operational state. If the connected route exists but the host fails to reply, check the host address, subnet mask, host firewall, VLAN assignment, switchport, and ARP behavior. A successful router-to-host ping is valuable evidence, but it does not by itself prove that traffic from Host A can reach Host B or return.
Add IPv6 without confusing local and routed scope
CCNA also expects candidates to configure and verify IPv6 addressing and understand why an IPv6 default gateway is often a link-local address. Enable IPv6 unicast routing for this lab, apply the documentation prefixes, and verify both local neighbor discovery and end-to-end reachability. Do not assume that IPv4 success proves IPv6 is configured.
R1# configure terminal
R1(config)# ipv6 unicast-routing
R1(config)# interface GigabitEthernet0/0
R1(config-if)# ipv6 address 2001:db8:10::1/64
R1(config-if)# exit
R1(config)# interface GigabitEthernet0/1
R1(config-if)# ipv6 address 2001:db8:20::1/64
R1(config-if)# end
R1# show ipv6 interface brief
R1# show ipv6 route connected
R1# show ipv6 neighbors
Give Host A a test address such as 2001:db8:10::10/64 and Host B 2001:db8:20::10/64 in an environment that supports manual IPv6 configuration. Their default next hop can be the router’s link-local address on each respective LAN, provided the host can resolve that address on its own interface. Link-local addresses are valid local next hops but are not globally routable identifiers.
If an IPv6 host cannot reach its gateway, inspect prefix size, interface state, and neighbor discovery. If it can reach the gateway but not the other LAN, inspect IPv6 forwarding and return paths. The underlying reasoning is the same as for IPv4 and IPv6 subnet boundaries, but IPv6 does not use ARP or broadcast in the IPv4 sense.
Prove the path from Windows, macOS, or Linux
The official v1.1 blueprint specifically includes checking client operating-system IP parameters. That is not merely a command memorization exercise: it helps distinguish a broken router from a host that never received the intended gateway or prefix.
| Client OS | Address / route checks | Useful question |
|---|---|---|
| Windows | ipconfig /all, route print, tracert 198.51.100.10 |
Does the default gateway and subnet mask match LAN A? |
| macOS | ifconfig, netstat -rn, traceroute 198.51.100.10 |
Which active interface owns the address and default route? |
| Linux | ip address, ip route, tracepath 198.51.100.10 (if installed) |
Which route and source interface are selected? |
From Host A, first ping 192.0.2.1, then 198.51.100.1, then Host B at 198.51.100.10. The first test checks local gateway connectivity. The second traverses the router to its other interface. The third also depends on Host B’s address, local access network, and reply behavior. Run the same sequence in reverse from Host B. Where ICMP is filtered, use routing tables, ARP or neighbor entries, interface counters, and an allowed application test instead of interpreting a silent ping as conclusive proof that the route is missing.
Introduce static routing only when a third network appears
R1 needs no static route between its two directly connected LANs. Adding one would conceal the concept being tested. To learn actual route selection, introduce R2 across an additional isolated /30 link and a separate destination network behind R2. For example, use R1 203.0.113.1/30 facing R2 203.0.113.2/30, with R2 owning 203.0.113.64/26. On R1, a static route might read:
R1(config)# ip route 203.0.113.64 255.255.255.192 203.0.113.2
R1# show ip route 203.0.113.64
R1# traceroute 203.0.113.65
Configure R2’s destination interface and a return route toward the relevant R1 client subnet before expecting end-to-end success. This last requirement is easy to miss: packets that travel outward but lack a valid return route appear broken to the application. The distinction between connected, static, more-specific, and default routes is covered in routing and path selection for 200-301.
Consider the path from Host A as a sequence of independent claims. If Host A has 192.0.2.10/24 but its default gateway is incorrectly set to 192.0.2.254, a ping to 192.0.2.1 may still work because that destination is local. Yet traffic to 198.51.100.10 can fail because the host sends it to the wrong gateway. The router itself can show healthy connected routes throughout this failure. This is why an interface configuration alone does not prove the host has a usable route.
Now invert the problem: Host A has the correct gateway, R1’s Gi0/0 is up, and Host A can ping 192.0.2.1, but R1’s Gi0/1 is administratively shut. This time Host A passes the local test and fails when a packet needs to leave via LAN B. show ip interface brief locates the blocked egress quickly; changing Host A’s subnet mask would only introduce a second problem. If both routed interfaces are up but Host B cannot answer, compare the host’s configuration and the access-port state before assuming the router needs an additional static route.
When the route points to R2, check both directions explicitly. R1 should have a route to the destination through 203.0.113.2, and R2 should have a return route for the source subnet through 203.0.113.1. A host’s default gateway is not a substitute for a return route on the remote router. Use traceroute as a clue about where packets stop, but remember that intermediate devices can rate-limit or block the probe responses while still forwarding actual application traffic.
The same logic applies to IPv6 with one important difference. A host may learn a link-local default router address through Router Advertisements. That next hop is meaningful only on the host’s local link, so record the interface used rather than treating fe80:: as a globally unique destination. Use show ipv6 neighbors to confirm local resolution, then inspect the IPv6 forwarding table and remote return path. A ping to the local router’s global address checks something different from whether Router Advertisements and default-router discovery succeeded.
Use symptoms to select the next check
| Observed symptom | Likely failure domain | First useful evidence |
|---|---|---|
administratively down |
Configured shutdown | show running-config interface |
down/down after no shutdown |
Cable, transceiver, remote port, power | show interfaces and healthy peer comparison |
Router port up/up but host cannot ping gateway |
Host address, mask, VLAN or filtering | Host IP details, ARP, switchport VLAN |
| Host can reach gateway but not distant subnet | Missing next hop or return route | show ip route on both routers |
| IPv4 works but IPv6 fails | IPv6 addressing, forwarding or neighbor discovery | show ipv6 interface brief, neighbors, routes |
| Only names fail while direct IP works | DNS or client resolver path | Client resolver setting and DNS reachability |
The last row is not an interface-address failure. A correct IP path can coexist with a broken naming service. Recognizing this boundary is part of diagnosing IP services without changing unrelated configuration. Examining DNS and network services helps explain that distinction.
Finish with a reproducible configuration and evidence set
Before calling the lab complete, save the running configuration only after the interface addresses, operational states, connected routes, IPv6 neighbors, and both host-to-host directions have been checked. For every failed test, write down the last successful hop and the evidence that supports the diagnosis. Then intentionally change one variable—for example, shut an interface or place Host A in the wrong mask—and predict the observed symptom before testing again.
This approach turns a series of IOS commands into a troubleshooting method. CCNA questions may give you a routing table, an interface summary, an addressing diagram, or a client screenshot rather than a request to type a command. The answer is the same disciplined sequence: understand the intended path, locate the earliest proven failure, and avoid changing the part of the network that is already working.
Continue exploring the technologies and certification concepts that matter most to you.