CCNA Subnetting and IPv6: A Troubleshooting Lab

CCNA Subnetting and IPv6: A Troubleshooting Lab

An address can look correct on a workstation and still be the reason every application fails. A wrong prefix length silently moves a gateway outside the host’s usable network; a missing IPv6 neighbor entry can interrupt local delivery even when the router advertises the correct prefix. The challenge in a CCNA 200-301 lab is to show which part of the path has failed, rather than recite definitions of masks or address families.

This exercise uses documentation-only IPv4 and IPv6 addresses, two VLANs and a router. The intended outcome is not one perfect configuration to memorize. It is a compact method for converting a symptom into evidence: calculate the boundary, inspect the host and interface, test the next hop, examine the route, then validate the corrected flow in both directions. Cisco’s v1.1 blueprint remains current through February 2, 2027; the announced v2.0 refresh begins the next day.

Evidence to capture
Observation Why it matters
Client prefix and gateway Confirms the host is addressing the intended local segment
ARP or IPv6 neighbor table Tests local resolution independently of remote routing
Connected and static routes Shows whether the router has a path for both source and destination
VLAN membership and trunk path Separates Layer 2 faults from prefix or routing faults
Forward and return reachability Prevents a one-direction success from hiding the actual outage

Start with a topology that exposes an addressing error

Build a router or Layer 3 switch with VLAN 20 for clients and VLAN 30 for a test server. Give the client 192.0.2.66/27 with intended gateway 192.0.2.65. Place the server at 198.51.100.130/26 with gateway 198.51.100.129. The addresses come from documentation ranges; they should not be placed on a real organization’s production routing domain. A correctly routed lab can carry packets between these two networks without translation.

Before turning on the devices, write down your prediction. The client network is 192.0.2.64/27, its usable hosts are .65 through .94, and .95 is the subnet broadcast address. The server network is 198.51.100.128/26, with usable hosts .129 through .190 and broadcast .191. This calculation provides an independent reference against which a displayed mask or route can be judged. Without it, a device that merely shows “up” may create false confidence.

A second worksheet can invert the problem: begin with two hosts that should share a VLAN and ask which prefix lengths make each host consider the other on-link. For example, 192.0.2.78/28 and 192.0.2.82/28 are in different /28 networks even if the two switch ports belong to the same VLAN. If there is no router between them, that classification affects the next-hop decision. Calculate the two subnet IDs first, then inspect actual neighbor discovery and gateway configuration to explain the failed communication. This makes the prefix calculation operational rather than decorative.

Calculate prefixes instead of guessing the gateway

A /27 mask leaves five host bits, which creates blocks of 32 IPv4 addresses. The interesting boundary is therefore not where the host number looks convenient, but the multiple of 32 that contains it. For 192.0.2.66, that is 64. A /26 leaves six host bits, creating 64-address blocks; 198.51.100.130 belongs to the block beginning at 128. Treat network and broadcast addresses as unavailable for ordinary IPv4 hosts in these conventional subnets.

Now deliberately change the client’s prefix to /28 while leaving its address and gateway unchanged. The host address 192.0.2.66/28 falls in 192.0.2.64–79, so its gateway .65 is still on-link and this particular change may not produce the outage you expected. This is an important lab lesson: not every mask mismatch proves the hypothesized fault. Instead, change the gateway to 192.0.2.97 or the host to 192.0.2.98/27, then predict the mismatch and verify the behavior. Good troubleshooting tests a falsifiable condition.

Separate local reachability from routed reachability

First inspect the client interface address and prefix. Then ping the default gateway. If that test fails, examine VLAN membership, Layer 2 link state and the host’s neighbor or ARP table before investigating dynamic routing on remote devices. On Cisco IOS-style equipment, show ip interface brief confirms the presence and administrative state of routed interfaces, while show interfaces switchport or show vlan brief helps validate an access-port assignment on a switch.

When the gateway responds, test the server address directly. If the server does not respond, inspect the router with show ip route; the connected routes for both lab networks should be present if the corresponding interfaces are operational. Remember that ICMP can also be deliberately filtered. A failed ping is a symptom, not proof of an absent route. Compare route tables with access-control policy and the return path before labeling the cause.

Read the interface state and the forwarding table together

A routed VLAN interface may exist in running configuration but remain down because the corresponding VLAN has no operational member port, depending on platform and configuration. A subinterface may be physically up but carry the wrong 802.1Q tag. A host may reach a local neighbor yet fail when the upstream router uses an incorrect next hop. These cases produce different evidence and should not be lumped into a single “IP problem.”

Write an expected route table before troubleshooting. For a basic two-subnet router, each directly connected prefix should appear as a connected route. Add an upstream router and an explicit default or static route only after that simple path works. The moment you introduce another hop, you must test return reachability as carefully as the forward path. Packet delivery cannot be declared successful because one interface can ping itself.

IPv6 changes discovery, not the need for evidence

Assign the client a documentation prefix such as 2001:db8:20:1::/64 and the server 2001:db8:30:1::/64 on separate routed interfaces. A global-unicast address identifies the host within its subnet. A link-local address beginning with fe80:: is used for local-neighbor communication and often acts as the next-hop address. Because link-local addresses have interface scope, the outgoing interface may be needed to disambiguate a next hop in a manual static route.

On IOS-style devices, show ipv6 interface brief identifies assigned IPv6 interfaces, show ipv6 neighbors displays discovered link-layer neighbors, and show ipv6 route shows the routing table. Inspect all three when a client can reach its router’s link-local address but not the server prefix. The failure could be a missing route, broken router advertisement, local filtering or the inability to resolve a neighbor’s link-layer address.

An IPv6 address that appears valid does not reveal whether the route is actually usable. In a dual-stack test, try an IPv4 destination and an IPv6 destination separately and log which address family fails. Verify whether the remote host has enabled IPv6 forwarding where appropriate and whether its firewall allows the exact test traffic. Treat router advertisements, neighbor caches and routing entries as separate sources of evidence. A common error is to alter an IPv6 global address while the real fault is a missing default-router advertisement or an incomplete remote route.

Distinguish SLAAC, DHCPv6 and manual configuration

Router advertisements convey information about the local IPv6 prefix and default-router availability. Depending on flags and policy, a client may construct an address using SLAAC, obtain other parameters or an address through DHCPv6, or be configured manually. Do not assume that receiving an IPv6 address also proves that the client has a default route. Likewise, do not treat DHCPv6 as the universal source of the IPv6 default gateway: ordinary IPv6 host default-router discovery uses router advertisements.

Break the lab in stages. Suppress or misconfigure a router advertisement and inspect whether the host still knows a valid next hop. Change a prefix on only one side and observe whether neighbor discovery succeeds locally even while remote reachability fails. Finally, restore the correct advertisement and test the remote prefix. Record which single observation distinguished the advertisement problem from the missing-route problem.

Build a verification notebook around the packet path

For every failure, keep five short fields: intended source and destination, expected next hop, observed interface and route state, discriminating test, and verified correction. A useful entry might say that a client in VLAN 20 cannot reach its gateway; inspection shows an access port assigned to VLAN 30; changing the port back to VLAN 20 restores neighbor learning and communication. That demonstrates a causal chain rather than a lucky sequence of commands.

A different entry might show an IPv6 host with the intended prefix and successful local-neighbor resolution but no remote default route. Its correction may involve router advertisements rather than changing the host’s global address. Keeping cases distinct makes later CCNA troubleshooting questions less arbitrary. The objective is to recognize the layer at which the observed path diverges from the intended design.

Use failures to decide what to practice next

If subnet arithmetic is still slow, use varied prefixes rather than repeating /24 and /27. If the arithmetic is accurate but packets do not flow, increase the proportion of labs with VLAN mistakes, incorrect gateways and asymmetric routes. If IPv6 is the weak area, focus on router advertisements, link-local next hops and neighbor states before attempting a large dual-stack topology. Practice should target the earliest incorrect assumption you made in the troubleshooting chain.

The broader CCNA study sequence connects these addressing skills to switching, routing, network services and security. A good address lab is not an isolated math exercise: it becomes useful when the candidate can explain how a host chooses local delivery, how a gateway forwards it, and which evidence proves the remote response returned successfully.

img