16.3.1 Packet Tracer - Troubleshoot Static and Default Routes Answers
Topology
16.3.1 Packet Tracer – Troubleshoot Static and Default Routes
Addressing Table
| Device | Interface | IP Addresses |
|---|---|---|
| R1 | G0/0 | 172.31.1.1/25 |
| 2001:DB8:1::1/64 | ||
| S0/0/0 | 172.31.1.194/30 | |
| 2001:DB8:2::194/64 | ||
| R2 | G0/0 | 172.31.0.1/24 |
| 2001:DB8:3::1/64 | ||
| S0/0/0 | 172.31.1.193/30 | |
| 2001:DB8:2::193/64 | ||
| S0/0/1 | 172.31.1.197/30 | |
| 2001:DB8:4::197/64 | ||
| R3 | G0/0 | 172.31.1.129/26 |
| 2001:DB8:5::1/64 | ||
| S0/0/1 | 172.31.1.198/30 | |
| 2001:DB8:4::198/64 | ||
| PC1 | NIC | 172.31.1.126/25 |
| 2001:DB8:1::126/64 | ||
| PC2 | NIC | 172.31.0.254/24 |
| 2001:DB8:3::254/64 | ||
| Server | NIC | 172.31.1.190/26 |
| 2001:DB8:5::190/64 |
Objectives
In this activity you will troubleshoot static and default routes and repair any errors that you find.
- Troubleshoot IPv4 static routes.
- Troubleshoot IPv4 default routes.
- Troubleshoot IPv6 static routes.
- Configure IPv4 static routes.
- Configure IPv4 default routes.
- Configure IPv6 static routes.
Background / Scenario
A newly hired network technician is attempting to preconfigure a simple topology that will be delivered to a customer. The technician has not been able to establish connectivity between the three LANs. You have been asked to troubleshoot the topology and verify connectivity between the hosts on the three LANs over IPv4 and IPv6.
Instructions
Contents
- Test connectivity
- Step 1: Locate and document the problems (route checklist, Problems 1, 2, 3, 4, 5)
- Step 2: Repair the problems (Fixes 1, 2, 3, 4, 5)
- Final verification
- Device Configs - Final
Test connectivity
Before looking at the routers, test which hosts can reach each other over IPv4 and IPv6:
Copy
C:\> ping 172.31.0.254
Pinging 172.31.0.254 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 172.31.0.254:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Copy
C:\> ping 2001:db8:3::254
Pinging 2001:db8:3::254 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 2001:DB8:3::254:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Copy
C:\> ping 172.31.1.190
Pinging 172.31.1.190 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 172.31.1.190:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Copy
C:\> ping 2001:db8:5::190
Pinging 2001:db8:5::190 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 2001:DB8:5::190:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Copy
C:\> ping 172.31.1.126
Pinging 172.31.1.126 with 32 bytes of data:
Reply from 172.31.1.198: Destination host unreachable.
Reply from 172.31.1.198: Destination host unreachable.
Reply from 172.31.1.198: Destination host unreachable.
Reply from 172.31.1.198: Destination host unreachable.
Ping statistics for 172.31.1.126:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Copy
C:\> ping 2001:db8:1::126
Pinging 2001:db8:1::126 with 32 bytes of data:
Reply from 2001:DB8:3::1: Destination host unreachable.
Reply from 2001:DB8:3::1: Destination host unreachable.
Reply from 2001:DB8:3::1: Destination host unreachable.
Reply from 2001:DB8:3::1: Destination host unreachable.
Ping statistics for 2001:DB8:1::126:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Copy
C:\> ping 172.31.1.190
Pinging 172.31.1.190 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 172.31.1.190:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Copy
C:\> ping 2001:db8:5::190
Pinging 2001:db8:5::190 with 32 bytes of data:
Reply from 2001:DB8:5::190: bytes=32 time=12ms TTL=126
Reply from 2001:DB8:5::190: bytes=32 time=5ms TTL=126
Reply from 2001:DB8:5::190: bytes=32 time=6ms TTL=126
Reply from 2001:DB8:5::190: bytes=32 time=6ms TTL=126
Ping statistics for 2001:DB8:5::190:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 5ms, Maximum = 12ms, Average = 7ms
Copy
C:\> ping 172.31.1.126
Pinging 172.31.1.126 with 32 bytes of data:
Reply from 172.31.1.129: Destination host unreachable.
Reply from 172.31.1.129: Destination host unreachable.
Reply from 172.31.1.129: Destination host unreachable.
Reply from 172.31.1.129: Destination host unreachable.
Ping statistics for 172.31.1.126:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Copy
C:\> ping 2001:db8:1::126
Pinging 2001:db8:1::126 with 32 bytes of data:
Reply from 2001:DB8:5::1: Destination host unreachable.
Reply from 2001:DB8:5::1: Destination host unreachable.
Request timed out.
Reply from 2001:DB8:5::1: Destination host unreachable.
Ping statistics for 2001:DB8:1::126:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Copy
C:\> ping 172.31.0.254
Pinging 172.31.0.254 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 172.31.0.254:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Copy
C:\> ping 2001:db8:3::254
Pinging 2001:db8:3::254 with 32 bytes of data:
Reply from 2001:DB8:3::254: bytes=32 time=6ms TTL=126
Reply from 2001:DB8:3::254: bytes=32 time=1ms TTL=126
Reply from 2001:DB8:3::254: bytes=32 time=5ms TTL=126
Reply from 2001:DB8:3::254: bytes=32 time=1ms TTL=126
Ping statistics for 2001:DB8:3::254:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 6ms, Average = 3ms
What we learned:
- PC1 cannot reach any other host, over IPv4 or IPv6.
- From PC2, the ping to PC1 over IPv4 gets Destination host unreachable from 172.31.1.198 (R3): R2 sends LAN 1 traffic to R3 instead of R1.
- From the Server, R3 (172.31.1.129) answers Destination host unreachable for PC1 (172.31.1.126): R3 has no route that covers this address.
- Only IPv6 between PC2 and the Server works. Every IPv4 path and every IPv6 path to or from LAN 1 is broken, so the faults are in the static routes, not in the hosts.
Key concept: routing must work in both directions
A ping succeeds only if the request reaches the destination and the reply finds its way back. Each router decides on its own, using only its own routing table, so a correct route on the sending side is not enough. For example, R1 already has a correct IPv6 route to LAN 3, but the Server still cannot answer PC1 over IPv6 because R3 has no IPv6 route back to LAN 1 (Problem 4). When a ping fails, check the routes for the forward path and for the return path.
Step 1: Locate and document the problems.
Review the routing tables on R1, R2, and R3.
Copy
R1# show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is 172.31.1.195 to network 0.0.0.0
172.31.0.0/16 is variably subnetted, 4 subnets, 3 masks
C 172.31.1.0/25 is directly connected, GigabitEthernet0/0
L 172.31.1.1/32 is directly connected, GigabitEthernet0/0
C 172.31.1.192/30 is directly connected, Serial0/0/0
L 172.31.1.194/32 is directly connected, Serial0/0/0
S* 0.0.0.0/0 [1/0] via 172.31.1.195
Copy
R1# show ipv6 route
IPv6 Routing Table - 8 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route, M - MIPv6
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
ND - ND Default, NDp - ND Prefix, DCE - Destination, NDr - Redirect
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
D - EIGRP, EX - EIGRP external
C 2001:DB8:1::/64 [0/0]
via GigabitEthernet0/0, directly connected
L 2001:DB8:1::1/128 [0/0]
via GigabitEthernet0/0, receive
C 2001:DB8:2::/64 [0/0]
via Serial0/0/0, directly connected
L 2001:DB8:2::194/128 [0/0]
via Serial0/0/0, receive
S 2001:DB8:3::/64 [1/0]
via Serial0/0/0, directly connected
S 2001:DB8:4::/64 [1/0]
via Serial0/0/0, directly connected
S 2001:DB8:5::/64 [1/0]
via Serial0/0/0, directly connected
L FF00::/8 [0/0]
via Null0, receive
Copy
R2# show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
172.31.0.0/16 is variably subnetted, 8 subnets, 5 masks
C 172.31.0.0/24 is directly connected, GigabitEthernet0/0
L 172.31.0.1/32 is directly connected, GigabitEthernet0/0
S 172.31.1.0/25 [1/0] via 172.31.1.198
S 172.31.1.128/26 [1/0] via 172.31.1.194
C 172.31.1.192/30 is directly connected, Serial0/0/0
L 172.31.1.193/32 is directly connected, Serial0/0/0
C 172.31.1.196/30 is directly connected, Serial0/0/1
L 172.31.1.197/32 is directly connected, Serial0/0/1
Copy
R2# show ipv6 route
IPv6 Routing Table - 9 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route, M - MIPv6
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
ND - ND Default, NDp - ND Prefix, DCE - Destination, NDr - Redirect
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
D - EIGRP, EX - EIGRP external
S 2001:DB6:1::/64 [1/0]
via 2001:DB8:2::194
C 2001:DB8:2::/64 [0/0]
via Serial0/0/0, directly connected
L 2001:DB8:2::193/128 [0/0]
via Serial0/0/0, receive
C 2001:DB8:3::/64 [0/0]
via GigabitEthernet0/0, directly connected
L 2001:DB8:3::1/128 [0/0]
via GigabitEthernet0/0, receive
C 2001:DB8:4::/64 [0/0]
via Serial0/0/1, directly connected
L 2001:DB8:4::197/128 [0/0]
via Serial0/0/1, receive
S 2001:DB8:5::/64 [1/0]
via 2001:DB8:4::198
L FF00::/8 [0/0]
via Null0, receive
Copy
R3# show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
172.31.0.0/16 is variably subnetted, 7 subnets, 5 masks
S 172.31.0.0/24 is directly connected, Serial0/0/1
S 172.31.1.0/28 is directly connected, Serial0/0/1
C 172.31.1.128/26 is directly connected, GigabitEthernet0/0
L 172.31.1.129/32 is directly connected, GigabitEthernet0/0
S 172.31.1.192/30 is directly connected, Serial0/0/1
C 172.31.1.196/30 is directly connected, Serial0/0/1
L 172.31.1.198/32 is directly connected, Serial0/0/1
Copy
R3# show ipv6 route
IPv6 Routing Table - 7 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route, M - MIPv6
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
ND - ND Default, NDp - ND Prefix, DCE - Destination, NDr - Redirect
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
D - EIGRP, EX - EIGRP external
S 2001:DB8:2::/64 [1/0]
via Serial0/0/1, directly connected
S 2001:DB8:3::/64 [1/0]
via Serial0/0/1, directly connected
C 2001:DB8:4::/64 [0/0]
via Serial0/0/1, directly connected
L 2001:DB8:4::198/128 [0/0]
via Serial0/0/1, receive
C 2001:DB8:5::/64 [0/0]
via GigabitEthernet0/0, directly connected
L 2001:DB8:5::1/128 [0/0]
via GigabitEthernet0/0, receive
L FF00::/8 [0/0]
via Null0, receive
Check the static routes exactly as they are configured (the no commands in Step 2 must match them):
Copy
R1# show running-config | include route
ip route 0.0.0.0 0.0.0.0 172.31.1.195
ipv6 route 2001:DB8:4::/64 Serial0/0/0
ipv6 route 2001:DB8:3::/64 Serial0/0/0
ipv6 route 2001:DB8:5::/64 Serial0/0/0
Copy
R2# show running-config | include route
ip route 172.31.1.0 255.255.255.128 172.31.1.198
ip route 172.31.1.128 255.255.255.192 172.31.1.194
ipv6 route 2001:DB8:5::/64 2001:DB8:4::198
ipv6 route 2001:DB6:1::/64 2001:DB8:2::194
Copy
R3# show running-config | include route
ip route 172.31.0.0 255.255.255.0 Serial0/0/1
ip route 172.31.1.192 255.255.255.252 Serial0/0/1
ip route 172.31.1.0 255.255.255.240 Serial0/0/1
ipv6 route 2001:DB8:3::/64 Serial0/0/1
ipv6 route 2001:DB8:2::/64 Serial0/0/1
What we learned:
The running-config shows the exact static route commands, which are needed for the no commands in Step 2. R3 has IPv6 routes to 2001:DB8:2::/64 and 2001:DB8:3::/64 only; there is no ipv6 route 2001:DB8:1::/64.
Routes each router needs
List the remote networks that each router must reach, then compare the list with its routing table:
| Router | Destination | Required route | Found in the routing table |
|---|---|---|---|
| R1 | Any remote IPv4 network | Default route via R2 (172.31.1.193) | ✘ next hop 172.31.1.195 (Problem 1) |
| R1 | LAN 2, R2-R3 link, LAN 3 (IPv6) | 2001:DB8:3::/64, 2001:DB8:4::/64, 2001:DB8:5::/64 via Serial0/0/0 | ✔ |
| R2 | LAN 1 (IPv4) | 172.31.1.0/25 via R1 (172.31.1.194) | ✘ via R3 (172.31.1.198) (Problem 3) |
| R2 | LAN 3 (IPv4) | 172.31.1.128/26 via R3 (172.31.1.198) | ✘ via R1 (172.31.1.194) (Problem 3) |
| R2 | LAN 1 (IPv6) | 2001:DB8:1::/64 via 2001:DB8:2::194 | ✘ destination 2001:DB6:1::/64 (Problem 2) |
| R2 | LAN 3 (IPv6) | 2001:DB8:5::/64 via 2001:DB8:4::198 | ✔ |
| R3 | LAN 1 (IPv4) | 172.31.1.0/25 via Serial0/0/1 | ✘ mask /28 (Problem 5) |
| R3 | LAN 2 and R1-R2 link (IPv4) | 172.31.0.0/24 and 172.31.1.192/30 via Serial0/0/1 | ✔ |
| R3 | LAN 1 (IPv6) | 2001:DB8:1::/64 via Serial0/0/1 | ✘ missing (Problem 4) |
| R3 | LAN 2 and R1-R2 link (IPv6) | 2001:DB8:3::/64 and 2001:DB8:2::/64 via Serial0/0/1 | ✔ |
Problem 1: R1 – the IPv4 default route uses the wrong next hop
See Gateway of last resort is 172.31.1.195 in the R1 tab. 172.31.1.195 is the broadcast address of the 172.31.1.192/30 link, not the address of R2 (172.31.1.193).
Problem 2: R2 – the IPv6 route to LAN 1 has the wrong destination network
See S 2001:DB6:1::/64 in the R2 tab: LAN 1 is 2001:DB8:1::/64.
Problem 3: R2 – the next hops of the two IPv4 static routes are swapped
In the R2 tab, LAN 1 (172.31.1.0/25) points to R3 (172.31.1.198) and LAN 3 (172.31.1.128/26) points to R1 (172.31.1.194).
Problem 4: R3 – the IPv6 route to LAN 1 is missing
The R3 IPv6 routing table has static routes to 2001:DB8:2::/64 and 2001:DB8:3::/64, but none to 2001:DB8:1::/64.
Problem 5: R3 – the IPv4 route to LAN 1 has the wrong mask
See S 172.31.1.0/28 in the R3 tab: LAN 1 is 172.31.1.0/25.
Record your findings in a table like the one below.
| # | Location | Problem | Solution |
|---|---|---|---|
| 1 | R1 | The IPv4 default route next hop address is incorrect. | Change the next hop address to 172.31.1.193. |
| 2 | R2 | IPv6 route to LAN 1 has the wrong network address for the destination network. | Change destination address from 2001:DB6:1::/64 to 2001:DB8:1::/64. |
| 3 | R2 | The next hop addresses in the two IPv4 routes are reversed. | Change the statements to ip route 172.31.1.0 255.255.255.128 172.31.1.194 and ip route 172.31.1.128 255.255.255.192 172.31.1.198. |
| 4 | R3 | The IPv6 route to LAN 1 is missing. | Configure a directly connected static route to 2001:DB8:1::/64. |
| 5 | R3 | The IPv4 route to LAN 1 has the wrong mask for the network. | Change the mask to 255.255.255.128. |
Step 2: Repair the problems.
Configure the devices so that full connectivity exists between the hosts on the LANs over IPv4 and IPv6.
Note: Your task is to establish connectivity using the existing static route design. Changing the types of static routes used will result in a loss of points.
Key concept: the three types of static routes
Next-hop route: ip route 172.31.1.0 255.255.255.128 172.31.1.194 – the router forwards to a neighbor address (R2 in this activity, and R1 for its default route).
Directly connected route: ip route 172.31.1.0 255.255.255.128 Serial0/0/1 – the router sends the packets out of an exit interface (R3 for IPv4 and IPv6, and R1 for IPv6). On a point-to-point serial link no next-hop lookup is needed.
Fully specified route: both the exit interface and the next hop, for example ip route 172.31.1.0 255.255.255.128 Serial0/0/1 172.31.1.197.
The activity grades the existing design, so each fix keeps the type that the device already uses: replace only the wrong value (next hop, destination or mask).
Fix 1: R1: replace the IPv4 default route.
Copy
R1(config)# no ip route 0.0.0.0 0.0.0.0 172.31.1.195
R1(config)# ip route 0.0.0.0 0.0.0.0 172.31.1.193
Copy
R1# show ip route static
S* 0.0.0.0/0 [1/0] via 172.31.1.193
What we learned:
The default route now points to R2 S0/0/0 (172.31.1.193).
Fix 2: R2: correct the destination of the IPv6 route to LAN 1.
Copy
R2(config)# no ipv6 route 2001:DB6:1::/64 2001:DB8:2::194
R2(config)# ipv6 route 2001:DB8:1::/64 2001:DB8:2::194
Copy
R2# show ipv6 route 2001:DB8:1::/64
Routing entry for 2001:DB8:1::/64
Known via "static", distance 1, metric 0
Route count is 1/1, share count 0
Routing paths:
Routing paths:2001:DB8:2::194
Last update 2001:DB8:2::194 on , 00:00:00 ago
What we learned:
R2 now has a static route to LAN 1 (2001:DB8:1::/64) via R1 (2001:DB8:2::194).
Fix 3: R2: swap back the next hops of the two IPv4 routes.
Copy
R2(config)# no ip route 172.31.1.0 255.255.255.128 172.31.1.198
R2(config)# no ip route 172.31.1.128 255.255.255.192 172.31.1.194
R2(config)# ip route 172.31.1.0 255.255.255.128 172.31.1.194
R2(config)# ip route 172.31.1.128 255.255.255.192 172.31.1.198
Copy
R2# show ip route static
172.31.0.0/16 is variably subnetted, 8 subnets, 5 masks
S 172.31.1.0/25 [1/0] via 172.31.1.194
S 172.31.1.128/26 [1/0] via 172.31.1.198
What we learned:
LAN 1 (172.31.1.0/25) now points to R1 (172.31.1.194) and LAN 3 (172.31.1.128/26) to R3 (172.31.1.198).
Fix 4: R3: add the missing IPv6 route to LAN 1 (directly connected, like the other R3 IPv6 routes).
Copy
R3(config)# ipv6 route 2001:DB8:1::/64 Serial0/0/1
Copy
R3# show ipv6 route 2001:DB8:1::/64
Routing entry for 2001:DB8:1::/64
Known via "static", distance 1, metric 0
Route count is 1/1, share count 0
Routing paths:
Routing paths: directly connected, via Serial0/0/1
Last update 0.0.0.0 on Serial0/0/1, 00:00:00 ago
What we learned:
R3 now has a directly connected static route to LAN 1 (2001:DB8:1::/64) through Serial0/0/1.
Fix 5: R3: correct the mask of the IPv4 route to LAN 1.
Copy
R3(config)# no ip route 172.31.1.0 255.255.255.240 Serial0/0/1
R3(config)# ip route 172.31.1.0 255.255.255.128 Serial0/0/1
Copy
R3# show ip route static
172.31.0.0/16 is variably subnetted, 7 subnets, 5 masks
S 172.31.0.0/24 is directly connected, Serial0/0/1
S 172.31.1.0/25 is directly connected, Serial0/0/1
S 172.31.1.192/30 is directly connected, Serial0/0/1
What we learned:
The route to LAN 1 now uses the correct /25 mask, which covers PC1 (172.31.1.126).
Final verification
All hosts must reach each other over IPv4 and IPv6:
Copy
C:\> ping 172.31.0.254
Pinging 172.31.0.254 with 32 bytes of data:
Reply from 172.31.0.254: bytes=32 time=8ms TTL=126
Reply from 172.31.0.254: bytes=32 time=7ms TTL=126
Reply from 172.31.0.254: bytes=32 time=1ms TTL=126
Reply from 172.31.0.254: bytes=32 time=8ms TTL=126
Ping statistics for 172.31.0.254:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 8ms, Average = 6ms
Copy
C:\> ping 2001:db8:3::254
Pinging 2001:db8:3::254 with 32 bytes of data:
Reply from 2001:DB8:3::254: bytes=32 time=5ms TTL=126
Reply from 2001:DB8:3::254: bytes=32 time=1ms TTL=126
Reply from 2001:DB8:3::254: bytes=32 time=7ms TTL=126
Reply from 2001:DB8:3::254: bytes=32 time=8ms TTL=126
Ping statistics for 2001:DB8:3::254:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 8ms, Average = 5ms
Copy
C:\> ping 172.31.1.190
Pinging 172.31.1.190 with 32 bytes of data:
Reply from 172.31.1.190: bytes=32 time=12ms TTL=125
Reply from 172.31.1.190: bytes=32 time=4ms TTL=125
Reply from 172.31.1.190: bytes=32 time=6ms TTL=125
Reply from 172.31.1.190: bytes=32 time=8ms TTL=125
Ping statistics for 172.31.1.190:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 4ms, Maximum = 12ms, Average = 7ms
Copy
C:\> ping 2001:db8:5::190
Pinging 2001:db8:5::190 with 32 bytes of data:
Reply from 2001:DB8:5::190: bytes=32 time=11ms TTL=125
Reply from 2001:DB8:5::190: bytes=32 time=8ms TTL=125
Reply from 2001:DB8:5::190: bytes=32 time=2ms TTL=125
Reply from 2001:DB8:5::190: bytes=32 time=2ms TTL=125
Ping statistics for 2001:DB8:5::190:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 2ms, Maximum = 11ms, Average = 5ms
Copy
C:\> ping 172.31.1.126
Pinging 172.31.1.126 with 32 bytes of data:
Reply from 172.31.1.126: bytes=32 time=10ms TTL=126
Reply from 172.31.1.126: bytes=32 time=8ms TTL=126
Reply from 172.31.1.126: bytes=32 time=6ms TTL=126
Reply from 172.31.1.126: bytes=32 time=6ms TTL=126
Ping statistics for 172.31.1.126:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 6ms, Maximum = 10ms, Average = 7ms
Copy
C:\> ping 2001:db8:1::126
Pinging 2001:db8:1::126 with 32 bytes of data:
Reply from 2001:DB8:1::126: bytes=32 time=12ms TTL=126
Reply from 2001:DB8:1::126: bytes=32 time=12ms TTL=126
Reply from 2001:DB8:1::126: bytes=32 time=2ms TTL=126
Reply from 2001:DB8:1::126: bytes=32 time=2ms TTL=126
Ping statistics for 2001:DB8:1::126:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 2ms, Maximum = 12ms, Average = 7ms
Copy
C:\> ping 172.31.1.190
Pinging 172.31.1.190 with 32 bytes of data:
Reply from 172.31.1.190: bytes=32 time=9ms TTL=126
Reply from 172.31.1.190: bytes=32 time=7ms TTL=126
Reply from 172.31.1.190: bytes=32 time=8ms TTL=126
Reply from 172.31.1.190: bytes=32 time=1ms TTL=126
Ping statistics for 172.31.1.190:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 9ms, Average = 6ms
Copy
C:\> ping 2001:db8:5::190
Pinging 2001:db8:5::190 with 32 bytes of data:
Reply from 2001:DB8:5::190: bytes=32 time=2ms TTL=126
Reply from 2001:DB8:5::190: bytes=32 time=1ms TTL=126
Reply from 2001:DB8:5::190: bytes=32 time=1ms TTL=126
Reply from 2001:DB8:5::190: bytes=32 time=8ms TTL=126
Ping statistics for 2001:DB8:5::190:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 8ms, Average = 3ms
Copy
C:\> ping 172.31.1.126
Pinging 172.31.1.126 with 32 bytes of data:
Reply from 172.31.1.126: bytes=32 time=10ms TTL=125
Reply from 172.31.1.126: bytes=32 time=2ms TTL=125
Reply from 172.31.1.126: bytes=32 time=4ms TTL=125
Reply from 172.31.1.126: bytes=32 time=2ms TTL=125
Ping statistics for 172.31.1.126:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 2ms, Maximum = 10ms, Average = 4ms
Copy
C:\> ping 2001:db8:1::126
Pinging 2001:db8:1::126 with 32 bytes of data:
Reply from 2001:DB8:1::126: bytes=32 time=14ms TTL=125
Reply from 2001:DB8:1::126: bytes=32 time=6ms TTL=125
Reply from 2001:DB8:1::126: bytes=32 time=2ms TTL=125
Reply from 2001:DB8:1::126: bytes=32 time=2ms TTL=125
Ping statistics for 2001:DB8:1::126:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 2ms, Maximum = 14ms, Average = 6ms
Copy
C:\> ping 172.31.0.254
Pinging 172.31.0.254 with 32 bytes of data:
Reply from 172.31.0.254: bytes=32 time=8ms TTL=126
Reply from 172.31.0.254: bytes=32 time=6ms TTL=126
Reply from 172.31.0.254: bytes=32 time=3ms TTL=126
Reply from 172.31.0.254: bytes=32 time=9ms TTL=126
Ping statistics for 172.31.0.254:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 3ms, Maximum = 9ms, Average = 6ms
Copy
C:\> ping 2001:db8:3::254
Pinging 2001:db8:3::254 with 32 bytes of data:
Reply from 2001:DB8:3::254: bytes=32 time=10ms TTL=126
Reply from 2001:DB8:3::254: bytes=32 time=3ms TTL=126
Reply from 2001:DB8:3::254: bytes=32 time=1ms TTL=126
Reply from 2001:DB8:3::254: bytes=32 time=2ms TTL=126
Ping statistics for 2001:DB8:3::254:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 10ms, Average = 4ms
What we learned:
All three hosts reach each other over IPv4 and IPv6. TTL=126 shows that the packets cross two routers (for example LAN 1 to LAN 2 through R1 and R2); TTL=125 shows three routers (LAN 1 to LAN 3 through R1, R2 and R3).
Device Configs - Final
ROUTER R1
Copy
! ==============================================================
!--- 16.3.1 Packet Tracer - Troubleshoot Static and Default Routes
!--- 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
! --------------------------------------------------------------
!--- Step 2: Repair the problems.
! --------------------------------------------------------------
!--- R1: the IPv4 default route points to 172.31.1.195 (broadcast address of the R1-R2 link). Remove it and use R2 S0/0/0 (172.31.1.193) as the next hop.
no ip route 0.0.0.0 0.0.0.0 172.31.1.195
ip route 0.0.0.0 0.0.0.0 172.31.1.193
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 172.31.1.193
!--- From PC1, ping 172.31.0.254 and 172.31.1.190 -> success after R2 and R3 are also fixed
! ==============================================================
ROUTER R2
Copy
! ==============================================================
!--- 16.3.1 Packet Tracer - Troubleshoot Static and Default Routes
!--- 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
! --------------------------------------------------------------
!--- Step 2: Repair the problems.
! --------------------------------------------------------------
!--- R2: the next hop addresses in the two IPv4 routes are reversed. Remove both wrong routes first.
no ip route 172.31.1.0 255.255.255.128 172.31.1.198
no ip route 172.31.1.128 255.255.255.192 172.31.1.194
!--- LAN 1 (172.31.1.0/25) via R1 S0/0/0; LAN 3 (172.31.1.128/26) via R3 S0/0/1.
ip route 172.31.1.0 255.255.255.128 172.31.1.194
ip route 172.31.1.128 255.255.255.192 172.31.1.198
!--- R2: the IPv6 route to LAN 1 uses the wrong destination network (2001:DB6:1::/64). Replace it with 2001:DB8:1::/64, keeping the same next hop.
no ipv6 route 2001:DB6:1::/64 2001:DB8:2::194
ipv6 route 2001:DB8:1::/64 2001:DB8:2::194
end
! --------------------------------------------------------------
!--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.)
! --------------------------------------------------------------
copy running-config startup-config
! ==============================================================
!--- Verification:
!--- show ip route static -> 172.31.1.0/25 via 172.31.1.194, 172.31.1.128/26 via 172.31.1.198
!--- show ipv6 route -> S 2001:DB8:1::/64 via 2001:DB8:2::194 (no 2001:DB6:1::/64 entry)
!--- From PC2, ping PC1 and the Server over IPv4 and IPv6 -> success after R1 and R3 are also fixed
! ==============================================================
ROUTER R3
Copy
! ==============================================================
!--- 16.3.1 Packet Tracer - Troubleshoot Static and Default Routes
!--- FIX SCRIPT FOR ROUTER R3
!--- Usage: copy this whole file and paste it into the R3 terminal (start at the R3> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless.
! ==============================================================
enable
configure terminal
! --------------------------------------------------------------
!--- Step 2: Repair the problems.
! --------------------------------------------------------------
!--- R3: the IPv4 route to LAN 1 has the wrong mask (/28). Replace it with 255.255.255.128 (/25), keeping the directly connected design.
no ip route 172.31.1.0 255.255.255.240 Serial0/0/1
ip route 172.31.1.0 255.255.255.128 Serial0/0/1
!--- R3: the IPv6 route to LAN 1 is missing. Add a directly connected static route, like the other R3 IPv6 routes.
ipv6 route 2001:DB8:1::/64 Serial0/0/1
end
! --------------------------------------------------------------
!--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.)
! --------------------------------------------------------------
copy running-config startup-config
! ==============================================================
!--- Verification:
!--- show ip route static -> 172.31.1.0/25 is directly connected, Serial0/0/1
!--- show ipv6 route -> S 2001:DB8:1::/64 via Serial0/0/1, directly connected
!--- From the Server, ping PC1 and PC2 over IPv4 and IPv6 -> success after R1 and R2 are also fixed
! ==============================================================
Download Packet Tracer (.pka) file:
16.3.1 Packet Tracer - Troubleshoot Static and Default Routes.pka
1 file(s) 515.61 KB
Previous Lab
15.6.1 Packet Tracer – Configure IPv4 and IPv6 Static and Default Routes
Next Lab
16.3.2 Packet Tracer – Troubleshoot IPv4 and IPv6 Static and Default Routes – Physical Mode
