15.6.1 Packet Tracer – Configure IPv4 and IPv6 Static and Default Routes – Instructions Answer

15.6.1 Packet Tracer - Configure IPv4 and IPv6 Static and Default Routes (Instructor Version)

15.6.1 Packet Tracer – Configure IPv4 and IPv6 Static and Default Routes

Addressing Table

Device Interface IP Address / Prefix
Edge_Router S0/0/0 10.10.10.2/30
2001:db8:a:1::2/64
S0/0/1 10.10.10.6/30
2001:db8:a:2::2/64
G0/0 192.168.10.17/28
2001:db8:1:10::1/64
G0/1 192.168.11.33/27
2001:db8:1:11::1/64
ISP1 S0/0/0 10.10.10.1/30
2001:db8:a:1::1/64
G0/0 198.0.0.1/24
2001:db8:f:f::1/64
ISP2 S0/0/1 10.10.10.5/30
2001:db8:a:2::1/64
G0/0 198.0.0.2/24
2001:db8:f:f::2/64
PC-A NIC 192.168.10.19/28
2001:db8:1:10::19/64
PC-B NIC 192.168.11.35/27
2001:db8:1:11::45
Customer Server NIC 198.0.0.10
2001:db8:f:f::10

Objectives

In this Packet Tracer summary activity, you will configure static, default, and floating static routes for both the IPv4 and IPv6 protocols.

  • Configure IPv4 Static and Floating Static Default Routes.
  • Configure IPv6 static and floating static default routes.
  • Configure IPv4 static and floating static routes to internal LANs.
  • Configure IPv6 static and floating static routes to the internal LANS.
  • Configure IPv4 host routes.
  • Configure IPv6 host routes.

Background / Scenario

In this activity, you will configure IPv4 and IPv6 default static and floating static routes.

Note: The static routing approach that is used in this lab is used to assess your ability to configure different types of static routes only. This approach may not reflect networking best practices.

Instructions

Part 1: Configure IPv4 Static and Floating Static Default Routes

The PT network requires static routes to provide internet access to the internal LAN users through the ISPs.

In addition, the ISP routers require static routes to reach the internal LANs. In this part of the activity, you will configure an IPv4 static default route and a floating default route to add redundancy to the network.

Step 1: Configure an IPv4 static default route.

On Edge_Router, configure a directly connected IPv4 default static route. This primary default route should be through router ISP1.

Edge_Router(config)#ip route 0.0.0.0 0.0.0.0 s0/0/0
Step 2: Configure an IPv4 floating static default route.

On Edge_Router, configure a directly connected IPv4 floating static default route. This default route should be through router ISP2. It should have an administrative distance of 5.

Edge_Router(config)#ip route 0.0.0.0 0.0.0.0 s0/0/1 5

Part 2: Configure IPv6 Static and Floating Static Default Routes

In this part of the activity, you will configure IPv6 static default and floating static default routes for IPv6.

Step 1: Configure an IPv6 static default route.

On Edge_Router, configure a next hop static default route. This primary default route should be through router ISP1.

Edge_Router(config)#ipv6 route ::/0 2001:db8:a:1::1
Step 2: Configure an IPv6 floating static default route.

On Edge_Router, configure a next hop IPv6 floating static default route. The route should be via router ISP2. Use an administrative distance of 5.

Edge_Router(config)#ipv6 route ::/0 2001:db8:a:2::1 5

Part 3: Configure IPv4 Static and Floating Static Routes to the Internal LANs

In this part of the lab you will configure static and floating static routers from the ISP routers to the internal LANs.

Step 1: Configure IPv4 static routes to the internal LANs.

a. On ISP1, configure a next hop IPv4 static route to the LAN 1 network through Edge_Router.

ISP1(config)#ip route 192.168.10.16 255.255.255.240 10.10.10.2

b. On ISP1, configure a next hop IPv4 static route to the LAN 2 network through Edge_Router.

ISP1(config)#ip route 192.168.11.32 255.255.255.224 10.10.10.2
Step 2: Configure IPv4 floating static routes to the internal LANs.

a. On ISP1, configure a directly connected floating static route to LAN 1 through the ISP2 router. Use an administrative distance of 5.

ISP1(config)#ip route 192.168.10.16 255.255.255.240 g0/0 5

b. On ISP1, configure a directly connected floating static route to LAN 2 through the ISP2 router. Use an administrative distance of 5.

ISP1(config)#ip route 192.168.11.32 255.255.255.224 g0/0 5

Part 4: Configure IPv6 Static and Floating Static Routes to the Internal LANs.

Step 1: Configure IPv6 static routes to the internal LANs.

c. On ISP1, configure a next hop IPv6 static route to the LAN 1 network through Edge_Router.

ISP1(config)#ipv6 route 2001:db8:1:10::/64 2001:db8:a:1::2

d. On ISP1, configure a next hop IPv6 static route to the LAN 2 network through Edge_Router.

ISP1(config)#ipv6 route 2001:db8:1:11::/64 2001:db8:a:1::2
Step 2: Configure IPv6 floating static routes to the internal LANs.

a. On ISP1, configure a next hop IPv6 floating static route to LAN 1 through the ISP2 router. Use an administrative distance of 5.

ISP1(config)#ipv6 route 2001:db8:1:10::/64 2001:db8:f:f::2 5

b. On ISP1, configure a next hop IPv6 floating static route to LAN 2 through the ISP2 router. Use an administrative distance of 5.

ISP1(config)#ipv6 route 2001:db8:1:11::/64 2001:db8:f:f::2 5

If your configuration has been completed correctly, you should be able to ping the Web Server from the hosts on LAN 1 and LAN 2. In addition, if the primary route link is down, connectivity between the LAN hosts and the Web Server should still exist.

Part 5: Configure Host Routes

Users on the corporate network frequently access a server that is owned by an important customer. In this part of the activity, you will configure static host routes to the server. One route will be a floating static route to support the redundant ISP connections.

Step 1: Configure IPv4 host routes.

a. On Edge Router, configure an IPv4 directly connected host route to the customer server.

Edge_Router(config)#ip route 198.0.0.10 255.255.255.255 serial0/0/0

b. On Edger Router, configure an IPv4 directly connected floating host route to the customer sever. Use an administrative distance of 5.

Edge_Router(config)#ip route 198.0.0.10 255.255.255.255 serial0/0/1 5
Step 2: Configure IPv6 host routes.

a. On Edge Router, configure an IPv6 next hop host route to the customer server through the ISP1 router.

Edge_Router(config)#ipv6 route 2001:db8:f:f::10/128 2001:db8:a:1::1

b. On Edger Router, configure an IPv6 (directly connected) next hop floating host route to the customer sever through the ISP2 router. Use an administrative distance of 5.

Edge_Router(config)#ipv6 route 2001:db8:f:f::10/128 2001:db8:a:2::1 5

Answer scripts

ROUTER EDGE_ROUTER

! ==============================================================
!--- 15.6.1 Packet Tracer - Configure IPv4 and IPv6 Static and Default Routes
!--- ANSWER SCRIPT FOR ROUTER EDGE_ROUTER
!--- Usage: from the console on Edge_Router, enter privileged EXEC mode with "enable", then paste this whole file. Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless.
!--- CRITICAL FIX: Part 1 explicitly asks for "directly connected" static default routes (exit-interface only), but the source Answer Scripts used next-hop IP addresses instead (the style that actually belongs to Part 2's IPv6 routes). Since both S0/0/0 (to ISP1) and S0/0/1 (to ISP2) are true point-to-point serial links, "directly connected" syntax is valid here and is what's actually being asked for - fixed below.
! ==============================================================

enable
configure terminal

! --------------------------------------------------------------
!--- Part 1: IPv4 static and floating static DEFAULT routes ("directly connected" - exit interface only)
! --------------------------------------------------------------

!--- Primary default route via ISP1's serial link.
ip route 0.0.0.0 0.0.0.0 Serial0/0/0

!--- Floating default route via ISP2's serial link - AD 5 keeps it out of the routing table unless the primary (AD 1, the default for static routes) is unavailable.
ip route 0.0.0.0 0.0.0.0 Serial0/0/1 5

! --------------------------------------------------------------
!--- Part 2: IPv6 static and floating static DEFAULT routes ("next hop" - global unicast next-hop address)
! --------------------------------------------------------------

ipv6 route ::/0 2001:db8:a:1::1
ipv6 route ::/0 2001:db8:a:2::1 5

! --------------------------------------------------------------
!--- Part 5: Host routes to the customer server
! --------------------------------------------------------------

!--- IPv4 host routes ("directly connected") - /32 mask (255.255.255.255) matches exactly one address.
ip route 198.0.0.10 255.255.255.255 Serial0/0/0
ip route 198.0.0.10 255.255.255.255 Serial0/0/1 5

!--- IPv6 host route ("next hop") through ISP1 - /128 matches exactly one address.
ipv6 route 2001:db8:f:f::10/128 2001:db8:a:1::1

!--- IPv6 floating host route through ISP2. The Instructions' wording for this one ("directly connected... through the ISP2 router") is self-contradictory - "directly connected" style never references a next-hop router at all - so this follows the "next hop" pattern used consistently everywhere else for IPv6 in this lab, and matches "through the ISP2 router" literally.
ipv6 route 2001:db8:f:f::10/128 2001:db8:a:2::1 5

end

! --------------------------------------------------------------
!--- Operational habit (not explicitly required by this lab): save to NVRAM. (Press Enter when prompted for the destination filename.)
! --------------------------------------------------------------
copy running-config startup-config

! ==============================================================
!--- Verification:
!---   Edge_Router# show ip route static   -> default routes via S0/0/0 (AD 1) and S0/0/1 (AD 5, absent unless S0/0/0 is down)
!---   Edge_Router# show ipv6 route static -> same pattern via the IPv6 next-hop addresses
!---   From PC-A or PC-B, ping the Customer Server (198.0.0.10 / 2001:db8:f:f::10) -> success
!---   Shut down S0/0/0 -> traffic fails over to the floating routes via S0/0/1; ping to the server still succeeds
! ==============================================================

ROUTER ISP1

! ==============================================================
!--- 15.6.1 Packet Tracer - Configure IPv4 and IPv6 Static and Default Routes
!--- ANSWER SCRIPT FOR ROUTER ISP1
!--- Usage: from the console on ISP1, enter privileged EXEC mode with "enable", then paste this whole file. Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless.
!--- The source Answer Scripts for ISP1 already matched the Instructions correctly - no fixes needed here. Note: the floating routes below use G0/0 (a shared Ethernet segment with ISP2 and the Customer Server) as a "directly connected" exit interface, per the Instructions' explicit wording - this only works because it's the sole path toward ISP2 in this topology; it's not general best practice on a multi-access link (see the lab's own disclaimer that this activity prioritizes route-type practice over ideal network design).
! ==============================================================

enable
configure terminal

! --------------------------------------------------------------
!--- Part 3, Step 1: IPv4 static routes to LAN 1 and LAN 2 ("next hop" through Edge_Router)
! --------------------------------------------------------------

ip route 192.168.10.16 255.255.255.240 10.10.10.2
ip route 192.168.11.32 255.255.255.224 10.10.10.2

! --------------------------------------------------------------
!--- Part 3, Step 2: IPv4 floating static routes to LAN 1 and LAN 2 ("directly connected" through ISP2)
! --------------------------------------------------------------

ip route 192.168.10.16 255.255.255.240 GigabitEthernet0/0 5
ip route 192.168.11.32 255.255.255.224 GigabitEthernet0/0 5

! --------------------------------------------------------------
!--- Part 4, Step 1: IPv6 static routes to LAN 1 and LAN 2 ("next hop" through Edge_Router)
! --------------------------------------------------------------

ipv6 route 2001:db8:1:10::/64 2001:db8:a:1::2
ipv6 route 2001:db8:1:11::/64 2001:db8:a:1::2

! --------------------------------------------------------------
!--- Part 4, Step 2: IPv6 floating static routes to LAN 1 and LAN 2 ("next hop" through ISP2)
! --------------------------------------------------------------

ipv6 route 2001:db8:1:10::/64 2001:db8:f:f::2 5
ipv6 route 2001:db8:1:11::/64 2001:db8:f:f::2 5

end

! --------------------------------------------------------------
!--- Operational habit (not explicitly required by this lab): save to NVRAM. (Press Enter when prompted for the destination filename.)
! --------------------------------------------------------------
copy running-config startup-config

! ==============================================================
!--- Verification:
!---   ISP1# show ip route static   -> LAN1/LAN2 routes via 10.10.10.2 (AD 1); the GigabitEthernet0/0 floating routes (AD 5) only appear if S0/0/0 goes down
!---   ISP1# show ipv6 route static -> same pattern via the IPv6 next-hop addresses
! ==============================================================

ROUTER ISP2

! ==============================================================
!--- 15.6.1 Packet Tracer - Configure IPv4 and IPv6 Static and Default Routes
!--- ANSWER SCRIPT FOR ROUTER ISP2 (NOT explicitly requested by the Instructions or the source Answer Scripts - see the discrepancy note in chat before applying)
!--- Usage: from the console on ISP2, enter privileged EXEC mode with "enable", then paste this whole file. Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless.
!--- Why this exists: the Instructions never mention configuring ISP2 at all, and neither does the source Answer Scripts section. But ISP1's OWN floating routes (Part 3.2 / 4.2) send LAN1/LAN2-bound traffic out its G0/0 interface toward ISP2 whenever ISP1's direct link to Edge_Router is down - and ISP2 has no way to actually deliver that traffic without its own route back to LAN1/LAN2. Without this, the lab's own stated success criterion ("if the primary route link is down, connectivity... should still exist") cannot actually be satisfied for return traffic from the Customer Server.
! ==============================================================

enable
configure terminal

! --------------------------------------------------------------
!--- Routes to LAN 1 and LAN 2, via Edge_Router's S0/0/1 link ("next hop", matching ISP1's own primary-route style for the same kind of link)
! --------------------------------------------------------------

ip route 192.168.10.16 255.255.255.240 10.10.10.6
ip route 192.168.11.32 255.255.255.224 10.10.10.6
ipv6 route 2001:db8:1:10::/64 2001:db8:a:2::2
ipv6 route 2001:db8:1:11::/64 2001:db8:a:2::2

end

! --------------------------------------------------------------
!--- Operational habit (not explicitly required by this lab): save to NVRAM. (Press Enter when prompted for the destination filename.)
! --------------------------------------------------------------
copy running-config startup-config

! ==============================================================
!--- Verification:
!---   ISP2# show ip route static / show ipv6 route static -> LAN1/LAN2 routes present via 10.10.10.6 / 2001:db8:a:2::2
!---   With S0/0/0 (Edge_Router<->ISP1) shut down, ping the Customer Server from PC-A/PC-B -> still succeeds, including the return path via ISP1's G0/0 floating route -> ISP2 -> S0/0/1 -> Edge_Router
! ==============================================================

Download Packet Tracer (.pka) file:

Subscribe
Notify of
guest

21 Corrections & Clarifications