Hands-On Lab: Configuring IPv6 Default Routes

This hands-on lab configures a default static route for IPv6 on an edge router, using the IPv6 equivalent of the all-zeros IPv4 default route to represent every otherwise-unmatched destination.

IPv6 Default Route::/0 NotationIPv6 Gateway of Last Resort

~3 min read · Updated Sep 22, 2026

Lab Objective

Configure a default IPv6 static route on an edge router pointing toward an ISP, verify it appears as the gateway of last resort, and confirm it successfully routes traffic to a destination with no more specific matching route.

Lab Purpose

Just as with IPv4, discussed in an earlier lab, maintaining individual IPv6 routes for every possible internet destination is impractical. The IPv6 default route uses different notation from its IPv4 counterpart but serves the identical purpose.

Lab Topology

R1 (edge router) ---- Serial0/0/1 ---- ISP Router
R1's internal LAN: 2001:DB8:D:1::/64

R1's serial address: 2001:DB8:FFFF:1::1/64
ISP's serial address: 2001:DB8:FFFF:1::2/64

Task 1: Configure Basic IPv6 Addressing

Configure R1's serial interface toward the ISP and its internal LAN interface.

Task 2: Configure the Default IPv6 Static Route

Configure a default route on R1 pointing to the ISP's serial address.

Task 3: Verify the Gateway of Last Resort

Confirm the IPv6 routing table identifies this route as the gateway of last resort.

Task 4: Test the Default Route

Ping an IPv6 address with no specific matching route in R1's table and confirm the default route is used.

Solution and Verification

R1(config)# ipv6 unicast-routing
R1(config)# interface serial0/0/1
R1(config-if)# ipv6 address 2001:DB8:FFFF:1::1/64
R1(config-if)# no shutdown
R1(config-if)# exit
R1(config)# interface gigabitethernet0/0
R1(config-if)# ipv6 address 2001:DB8:D:1::1/64
R1(config-if)# no shutdown

R1(config)# ipv6 route ::/0 2001:DB8:FFFF:1::2

-- ::/0 is the IPv6 equivalent of IPv4's
-- 0.0.0.0/0 -- a prefix length of 0 means
-- no bits need to match, so every possible
-- destination is covered

R1# show ipv6 route

IPv6 Routing Table
S    ::/0 [1/0]
      via 2001:DB8:FFFF:1::2
C    2001:DB8:D:1::/64 [0/0]
      via GigabitEthernet0/0, directly connected
C    2001:DB8:FFFF:1::/64 [0/0]
      via Serial0/0/1, directly connected

R1# ping 2001:4860:4860::8888

-- (simulated public IPv6 destination beyond
--  the ISP, no specific route exists for it)

!!!!!
Success rate is 100 percent (5/5)

R1# show ipv6 route 2001:4860:4860::8888

% Route not found
-- Confirms no specific entry exists, yet the
-- ping succeeded because the default route
-- (::/0) caught it instead

Key Takeaway

::/0 is IPv6's notation for "match everything," functionally identical to IPv4's 0.0.0.0/0 covered in an earlier lab — the underlying concept of a default route catching any destination without a more specific match carries over completely between the two protocols, only the address notation itself differs.

Written & researched by Dr. Shahin Siami

Related Articles

Hands-On Lab: Configuring RIP Version 2

This hands-on lab configures RIPv2 as a basic dynamic routing protocol between three routers, disables automatic summarization, and verifies routes are learned dynamically without any manual static route configuration.

Continue

Hands-On Lab: Configuring IP Floating Static Routes

This hands-on lab configures a floating static route with a higher administrative distance than an existing OSPF-learned route, demonstrating how it remains inactive as a backup until the primary route fails, then automatically takes over.

Continue

Hands-On Lab: Configuring IPv6 Static Routes

This hands-on lab configures static routes for IPv6 destinations between two routers, mirroring the IPv4 static routing syntax covered earlier in this series while highlighting the IPv6-specific command keyword and address format.

Continue

Hands-On Lab: Configuring Default Static Routes

This hands-on lab configures a default static route on an edge router to reach the internet through an ISP connection, demonstrating how a single route can represent every otherwise-unknown destination rather than requiring individual routes for each one.

Continue

Hands-On Lab: Configuring and Naming Static Routes

This hands-on lab configures static routes with descriptive names attached using the name keyword, improving documentation and making the routing table significantly easier to interpret for anyone reviewing the configuration later.

Continue

Hands-On Lab: Configuring Static Routing via IP Addresses

This hands-on lab configures static routes using a next-hop IP address rather than an outgoing interface, the generally preferred syntax, and compares the resulting routing table entry against the interface-based approach from the previous lab.

Continue