IPv6 default route configuration [explained]

Introduction

Why do we need a default route!

Default routes are used to direct packets addressed to networks not explicitly listed in the routing table.

Default routes are invaluable in topologies where learning all the more specific networks is not desirable, as in the case of stub networks, or not feasible due to limited system resources such as memory and processing power.

This post explains how to configure a default route for IPv6 addressing.

Syntax

ipv6 route ::/0 ipv6-addr
::/0Specifies the default IPv6 route.
ipv6-gateway-addrSpecifies the next-hop router for traffic sent to the default route.




IPv6 default route configuration example

If 2001:db8:c::9f:35 is the IPv6 address of your ISP router, all non-local traffic could be directed to the ISP by configuring the following default route:

Router-X(config)# ipv6 route ::/0 2001:db8:c::9f:35

Where 2001:db8:c::9f:35 is the next-hop IPv6 address.



Floating IPv6 default route

check Floating static routes:

ipv6 route ::/0 ipv6-gateway-addr 120



https://techhub.hpe.com/eginfolib/networking/docs/switches/K-KA-KB/16-01/5200-0133_ipv6_config_k/content/ch06s07.html

Bilel-A

Enthusiastic Network Engineer specializing in Cisco ACI, passionate about solving challenges. A lifelong learner who loves gaining and sharing knowledge. Profile: https://www.linkedin.com/in/bilel-ameur-71116b2b5
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x