IPv6 default route configuration [explained]
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.
ipv6 route ::/0 ipv6-addr
|Specifies the default IPv6 route.|
|Specifies 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