16.3.2 Packet Tracer - Troubleshoot IPv4 and IPv6 Static and Default Routes - Physical Mode Answers
Topology
Addressing Table
| Device | Interface | IP Address / Prefix | Default Gateway |
|---|---|---|---|
| R1 | G0/0/0 | 192.168.0.1/28 | N/A |
| 2001:db8:acad::1/64 | |||
| G0/0 | 192.168.0.17/28 | ||
| 2001:db8:acad:16::1/64 | |||
| G0/1 | 172.16.1.1/24 | ||
| 2001:db8:acad:171::1/64 | |||
| G0/2 | 209.165.200.1/25 | ||
| 2001:db8:acad:209::1/64 | |||
| R2 | G0/0/0 | 192.168.0.14/28 | N/A |
| 2001:db8:acad::14/64 | |||
| G0/0 | 192.168.0.30/28 | ||
| 2001:db8:acad:16::2/64 | |||
| G0/1 | 172.16.2.1/24 | ||
| 2001:db8:acad:172::1/64 | |||
| G0/2 | 209.165.200.129/25 | ||
| 2001:db8:acad:210::1/64 | |||
| PC1 | NIC | 172.16.1.2/24 | 172.16.1.1 |
| 2001:db8:acad:171::2/64 | fe80::1 | ||
| PC2 | NIC | 209.165.200.2/25 | 209.165.200.1 |
| 2001:db8:acad:209::2/64 | fe80::1 | ||
| PC3 | NIC | 172.16.2.2/24 | 172.16.2.1 |
| 2001:db8:acad:172::2/64 | fe80::2 | ||
| PC4 | NIC | 209.165.200.130/25 | 209.165.200.129 |
| 2001:db8:acad:210::2/64 | fe80::2 |
Objectives
- Part 1: Evaluate Network Operation
- Part 2: Gather Information, Create an Action Plan, and Implement Corrections
Background / Scenario
All the network devices in this Packet Tracer Physical Mode (PTPM) activity have been preconfigured to include intentional errors that are preventing the network from routing as intended. Your task is to evaluate the network, identify, and correct the configuration errors to restore full connectivity. You may find errors with the route statements or with other configurations that impact the accuracy of the route statements.
Note: The static routing approach used in this activity is used to assess your ability to configure different types of static routes only. This approach may not reflect networking best practices.
Contents
- Part 1: Evaluate Network Operation
- Part 2: Gather Information and Implement Corrections (paths; Problems 1, 2, 3; Fixes 1, 2, 3)
- Final verification
- Device Configs - Final
Instructions
Part 1: Evaluate Network Operation
Use the ping and/or traceroute commands from the router to test the following criteria and record the results.
Note: Use the PCs in the wiring closet to gain console access to networking devices in order to explore and change the device configurations.
- Traffic from R1 to the 172.16.2.1 address on R2 uses the next hop 192.168.0.14.
R1# traceroute 172.16.2.1 Type escape sequence to abort. Tracing the route to 172.16.2.1 1 * * * 2 * * * 3 * * * 4 * * * 5 * * * 6 * * * 7 * * * 8 * * * 9 * * * 10 * * * 11 * * * 12 * * * 13 * * * 14 * * * 15 * * * 16 * * * 17 * * * 18 * * * 19 * * * 20 * * * 21 * * * 22 * * * 23 * * * 24 * * * 25 * * * 26 * * * 27 * * * 28 * * * 29 * * * 30 * * * - Traffic from R1 to the 209.165.200.129 address on R2 uses the next hop 192.168.0.30.
R1# traceroute 209.165.200.129 Type escape sequence to abort. Tracing the route to 209.165.200.129 1 * * * 2 * * * 3 * * * 4 * * * 5 * * * 6 * * * 7 * * * 8 * * * 9 * * * 10 * * * 11 * * * 12 * * * 13 * * * 14 * * * 15 * * * 16 * * * 17 * * * 18 * * * 19 * * * 20 * * * 21 * * * 22 * * * 23 * * * 24 * * * 25 * * * 26 * * * 27 * * * 28 * * * 29 * * * 30 * * * - When the G0/0/0 interface on R1 is shut down, traffic from R1 to the 172.16.2.1 address on R2 uses the next hop 192.168.0.30.
R1(config)# interface gigabitethernet 0/0/0 R1(config-if)# shutdown R1(config-if)# end
R1# traceroute 172.16.2.1 Type escape sequence to abort. Tracing the route to 172.16.2.1 1 * * * 2 * * * 3 * * * 4 * * * 5 * * * 6 * * * 7 * * * 8 * * * 9 * * * 10 * * * 11 * * * 12 * * * 13 * * * 14 * * * 15 * * * 16 * * * 17 * * * 18 * * * 19 * * * 20 * * * 21 * * * 22 * * * 23 * * * 24 * * * 25 * * * 26 * * * 27 * * * 28 * * * 29 * * * 30 * * *Restore the link before the next test:
R1(config)# interface gigabitethernet 0/0/0 R1(config-if)# no shutdown
- Traffic from R2 to the 2001:db8:acad:171::1 address on R1 uses the next hop 2001:db8:acad::1.
R2# traceroute 2001:db8:acad:171::1 Type escape sequence to abort. Tracing the route to 2001:db8:acad:171::1 1 2001:DB8:ACAD::1 0 msec 0 msec 0 msec - Traffic from R2 to the 2001:db8:acad:209::1 address on R1 uses the next hop 2001:db8:acad:16::1.
R2# traceroute 2001:db8:acad:209::1 Type escape sequence to abort. Tracing the route to 2001:db8:acad:209::1 1 2001:DB8:ACAD::1 0 msec 0 msec 0 msec - When the G0/0/0 interface on R2 is shut down, traffic from R2 to the 2001:db8:acad:171::1 address on R1 uses the next hop 2001:db8:acad:16::1.
R2(config)# interface gigabitethernet 0/0/0 R2(config-if)# shutdown R2(config-if)# end
R2# traceroute 2001:db8:acad:171::1 Type escape sequence to abort. Tracing the route to 2001:db8:acad:171::1 1 * * * 2 * * * 3 * * * 4 * * * 5 * * * 6 * * * 7 * * * 8 * * * 9 * * * 10 * * * 11 * * * 12 * * * 13 * * * 14 * * * 15 * * * 16 * * * 17 * * * 18 * * * 19 * * * 20 * * * 21 * * * 22 * * * 23 * * * 24 * * * 25 * * * 26 * * * 27 * * * 28 * * * 29 * * * 30 * * *Restore the link before the next test:
R2(config)# interface gigabitethernet 0/0/0 R2(config-if)# no shutdown
| Criterion | Expected first hop | Result before the fixes | After the fixes (final check) |
|---|---|---|---|
| R1 to 172.16.2.1 | 192.168.0.14 | ✘ no reply (* * *) | ✔ R2 reached in one hop; next hop 192.168.0.14 (routing table) |
| R1 to 209.165.200.129 | 192.168.0.30 | ✘ no reply (* * *) | ✔ 192.168.0.30 |
| R1 to 172.16.2.1, R1 G0/0/0 down | 192.168.0.30 | ✘ no reply (* * *) | ✔ 192.168.0.30 |
| R2 to 2001:db8:acad:171::1 | 2001:DB8:ACAD::1 | ✔ 2001:DB8:ACAD::1 | ✔ 2001:DB8:ACAD::1 |
| R2 to 2001:db8:acad:209::1 | 2001:DB8:ACAD:16::1 | ✘ 2001:DB8:ACAD::1 | ✔ 2001:DB8:ACAD:16::1 |
| R2 to 2001:db8:acad:171::1, R2 G0/0/0 down | 2001:DB8:ACAD:16::1 | ✘ no reply (* * *) | ✔ 2001:DB8:ACAD:16::1 |
Part 2: Gather Information, Create an Action Plan, and Implement Corrections
a. For each criterion that is not met, gather information by examining the running configuration and routing tables to develop a hypothesis for what is causing the malfunction.
R1:
R1# show running-config | include ip route
ip route 209.165.200.128 255.255.255.128 192.168.0.3
ip route 0.0.0.0 0.0.0.0 192.168.0.14 80
ip route 0.0.0.0 0.0.0.0 192.168.0.3R2:
R2# show running-config | include ipv6 route
ipv6 route 2001:DB8:ACAD:209::/64 2001:DB7:ACAD:16::1
ipv6 route ::/0 2001:DB8:ACAD::1 90
ipv6 route ::/0 2001:DB8:ACAD:15::1Compare the static routes with the routing tables:
Primary and backup paths
R1 and R2 are connected by two parallel paths: the direct G0/0/0 link and the path through the switches (R1 G0/0 > S1 > S2 > R2 G0/0). The static routes must use them as follows:
| Traffic | Primary path (AD 1) | Backup path (floating, AD 80) |
|---|---|---|
| R1 IPv4 default route (to 172.16.2.0/24 and beyond) | G0/0/0 > next hop 192.168.0.14 | G0/0 > S1 > S2 > next hop 192.168.0.30 |
| R1 to 209.165.200.128/25 (PC4 LAN) | Always through the switches: next hop 192.168.0.30 | – |
| R2 IPv6 default route (to 2001:DB8:ACAD:171::/64 and beyond) | G0/0/0 > next hop 2001:DB8:ACAD::1 | G0/0 > S2 > S1 > next hop 2001:DB8:ACAD:16::1 |
| R2 to 2001:DB8:ACAD:209::/64 (PC2 LAN) | Always through the switches: next hop 2001:DB8:ACAD:16::1 | – |
Problem 1: Wrong next hop in the routes to the 209 networks
R1: ip route 209.165.200.128 255.255.255.128 192.168.0.3 – no device uses 192.168.0.3; R2 G0/0 is 192.168.0.30. R2: ipv6 route 2001:DB8:ACAD:209::/64 2001:DB7:ACAD:16::1 – the next hop has a typo (DB7 instead of DB8).
Problem 2: The primary default routes have a high administrative distance
R1: ip route 0.0.0.0 0.0.0.0 192.168.0.14 80; R2: ipv6 route ::/0 2001:DB8:ACAD::1 90. The primary route through the direct G0/0/0 link must use the default AD (1).
Problem 3: The floating default routes use AD 1 and a wrong next hop
R1: ip route 0.0.0.0 0.0.0.0 192.168.0.3; R2: ipv6 route ::/0 2001:DB8:ACAD:15::1. With AD 1 these backup routes win over the primary routes, and their next hops do not exist. The backup path is through the switches (R2 G0/0 192.168.0.30, R1 G0/0 2001:DB8:ACAD:16::1) and needs a higher AD (80).
b. Create an action plan that you think will fix the issue. Develop a list of all the commands you intend to use to fix the issue, and a list of all the commands you need to revert the configuration, should your action plan fail to correct the issue.
c. Execute your action plans one at a time for each criterion that fails, and record the fix actions.
Routing problems on both routers:
- Wrong IP for next hop: R1 route to 209.165.200.128/25 via 192.168.0.3; R2 route to 2001:db8:acad:209::/64 via 2001:db7:acad:16::1.
- AD set high versus default: the primary default route uses AD 80 on R1 (via 192.168.0.14) and AD 90 on R2 (via 2001:db8:acad::1).
- Default AD used and wrong next hop IP: the floating default route uses AD 1 with next hop 192.168.0.3 on R1 and 2001:db8:acad:15::1 on R2.
Fix 1: Correct the next hop of the routes to the 209 networks.
R1(config)# no ip route 209.165.200.128 255.255.255.128 192.168.0.3 R1(config)# ip route 209.165.200.128 255.255.255.128 192.168.0.30
R2(config)# no ipv6 route 2001:db8:acad:209::/64 2001:db7:acad:16::1 R2(config)# ipv6 route 2001:db8:acad:209::/64 2001:db8:acad:16::1
R1# show ip route static
209.165.200.0/24 is variably subnetted, 3 subnets, 2 masks
S 209.165.200.128/25 [1/0] via 192.168.0.30
S* 0.0.0.0/0 [1/0] via 192.168.0.3R2# show ipv6 route 2001:DB8:ACAD:209::/64 Routing entry for 2001:DB8:ACAD:209::/64 Known via "static", distance 1, metric 0 Route count is 1/1, share count 0 Routing paths: Routing paths:2001:DB8:ACAD:16::1 Last update 2001:DB8:ACAD:16::1 on , 00:00:00 ago
Fix 2: Recreate the primary default routes with the default AD.
R1(config)# no ip route 0.0.0.0 0.0.0.0 192.168.0.14 80 R1(config)# ip route 0.0.0.0 0.0.0.0 192.168.0.14
R2(config)# no ipv6 route ::/0 2001:db8:acad::1 90 R2(config)# ipv6 route ::/0 2001:db8:acad::1
Fix 3: Recreate the floating default routes with the correct next hop and AD 80.
R1(config)# no ip route 0.0.0.0 0.0.0.0 192.168.0.3 R1(config)# ip route 0.0.0.0 0.0.0.0 192.168.0.30 80
R2(config)# no ipv6 route ::/0 2001:db8:acad:15::1 R2(config)# ipv6 route ::/0 2001:db8:acad:16::1 80
Final verification
Repeat the tests from Part 1. Every criterion must now be met:
- Traffic from R1 to the 172.16.2.1 address on R2 uses the next hop 192.168.0.14.
R1# traceroute 172.16.2.1 Type escape sequence to abort. Tracing the route to 172.16.2.1 1 * 0 msec 0 msecNote: R2 (172.16.2.1) is reached in one hop, but Packet Tracer does not print the address of a hop when its first probe times out, even if the next two probes are answered. The routing table confirms the next hop: after Fix 3, show ip route static on R1 shows S* 0.0.0.0/0 [1/0] via 192.168.0.14, so traffic to 172.16.2.1 uses the direct G0/0/0 link to R2.
- Traffic from R1 to the 209.165.200.129 address on R2 uses the next hop 192.168.0.30.
R1# traceroute 209.165.200.129 Type escape sequence to abort. Tracing the route to 209.165.200.129 1 192.168.0.30 0 msec 0 msec 0 msec - When the G0/0/0 interface on R1 is shut down, traffic from R1 to the 172.16.2.1 address on R2 uses the next hop 192.168.0.30.
R1(config)# interface gigabitethernet 0/0/0 R1(config-if)# shutdown %LINK-5-CHANGED: Interface GigabitEthernet0/0/0, changed state to administratively down %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0/0, changed state to down R1(config-if)# end
R1# traceroute 172.16.2.1 Type escape sequence to abort. Tracing the route to 172.16.2.1 1 192.168.0.30 0 msec 0 msec 0 msecRestore the link:
R1(config)# interface gigabitethernet 0/0/0 R1(config-if)# no shutdown
- Traffic from R2 to the 2001:db8:acad:171::1 address on R1 uses the next hop 2001:db8:acad::1.
R2# traceroute 2001:db8:acad:171::1 Type escape sequence to abort. Tracing the route to 2001:db8:acad:171::1 1 2001:DB8:ACAD::1 0 msec 0 msec 0 msec - Traffic from R2 to the 2001:db8:acad:209::1 address on R1 uses the next hop 2001:db8:acad:16::1.
R2# traceroute 2001:db8:acad:209::1 Type escape sequence to abort. Tracing the route to 2001:db8:acad:209::1 1 2001:DB8:ACAD:16::1 0 msec 1 msec 0 msec - When the G0/0/0 interface on R2 is shut down, traffic from R2 to the 2001:db8:acad:171::1 address on R1 uses the next hop 2001:db8:acad:16::1.
R2(config)# interface gigabitethernet 0/0/0 R2(config-if)# shutdown %LINK-5-CHANGED: Interface GigabitEthernet0/0/0, changed state to administratively down %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0/0, changed state to down R2(config-if)# end
R2# traceroute 2001:db8:acad:171::1 Type escape sequence to abort. Tracing the route to 2001:db8:acad:171::1 1 2001:DB8:ACAD:16::1 0 msec 0 msec 0 msecRestore the link:
R2(config)# interface gigabitethernet 0/0/0 R2(config-if)# no shutdown
Device Configs - Final
ROUTER R1
! ============================================================== !--- 16.3.2 Packet Tracer - Troubleshoot IPv4 and IPv6 Static and Default Routes - Physical Mode !--- FIX SCRIPT FOR ROUTER R1 !--- Usage: copy this whole file and paste it into the R1 terminal (start at the R1> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Part 2: Gather Information, Create an Action Plan, and Implement Corrections. ! -------------------------------------------------------------- !--- 1. Wrong IP for next hop: the route to 209.165.200.128/25 points to 192.168.0.3 (no device uses it). Use R2 G0/0 (192.168.0.30). no ip route 209.165.200.128 255.255.255.128 192.168.0.3 ip route 209.165.200.128 255.255.255.128 192.168.0.30 !--- 2. AD set high versus default: the primary default route via R2 G0/0/0 (192.168.0.14) has AD 80. Recreate it with the default AD. no ip route 0.0.0.0 0.0.0.0 192.168.0.14 80 ip route 0.0.0.0 0.0.0.0 192.168.0.14 !--- 3. Default AD used and wrong next hop IP: the floating default route uses AD 1 and next hop 192.168.0.3. Use 192.168.0.30 with AD 80. no ip route 0.0.0.0 0.0.0.0 192.168.0.3 ip route 0.0.0.0 0.0.0.0 192.168.0.30 80 end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show ip route static -> S* 0.0.0.0/0 [1/0] via 192.168.0.14; S 209.165.200.128/25 [1/0] via 192.168.0.30 !--- traceroute 172.16.2.1 -> first hop 192.168.0.14 !--- traceroute 209.165.200.129 -> first hop 192.168.0.30 !--- Note: after testing the failover (shutdown on G0/0/0 -> first hop 192.168.0.30), enter "no shutdown" on G0/0/0 again. ! ==============================================================
ROUTER R2
! ============================================================== !--- 16.3.2 Packet Tracer - Troubleshoot IPv4 and IPv6 Static and Default Routes - Physical Mode !--- FIX SCRIPT FOR ROUTER R2 !--- Usage: copy this whole file and paste it into the R2 terminal (start at the R2> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Part 2: Gather Information, Create an Action Plan, and Implement Corrections. ! -------------------------------------------------------------- !--- 1. Wrong IP for next hop: the route to 2001:db8:acad:209::/64 points to 2001:db7:acad:16::1. Use R1 G0/0 (2001:db8:acad:16::1). no ipv6 route 2001:db8:acad:209::/64 2001:db7:acad:16::1 ipv6 route 2001:db8:acad:209::/64 2001:db8:acad:16::1 !--- 2. AD set high versus default: the primary default route via R1 G0/0/0 (2001:db8:acad::1) has AD 90. Recreate it with the default AD. no ipv6 route ::/0 2001:db8:acad::1 90 ipv6 route ::/0 2001:db8:acad::1 !--- 3. Default AD used and wrong next hop IP: the floating default route uses AD 1 and next hop 2001:db8:acad:15::1. Use 2001:db8:acad:16::1 with AD 80. no ipv6 route ::/0 2001:db8:acad:15::1 ipv6 route ::/0 2001:db8:acad:16::1 80 end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show ipv6 route -> S ::/0 [1/0] via 2001:DB8:ACAD::1; S 2001:DB8:ACAD:209::/64 [1/0] via 2001:DB8:ACAD:16::1 !--- traceroute 2001:db8:acad:171::1 -> first hop 2001:db8:acad::1 !--- traceroute 2001:db8:acad:209::1 -> first hop 2001:db8:acad:16::1 !--- Note: after testing the failover (shutdown on G0/0/0 -> first hop 2001:db8:acad:16::1), enter "no shutdown" on G0/0/0 again. ! ==============================================================




