IPv6 Static Routing
IPv6 routing works the same as IPv4 routing.
However, the two processes are separate on the router, and the two routing tables are separate as well.
IPv4 routing is enabled by default.
IPv6 routing is disabled by default, and must be enabled with:
ipv6 unicast-routingIf IPv6 routing is disabled, the router will be able to send and receive IPv6 traffic, but will not route IPv6 traffic (=will not forward it between networks).


A connected network route is automatically added for each connected network.
A local host route is automatically added for each address configured on the router.
Commands

Directly attached static route
Only the exit interface is specified.
In IPv6, you can't use directly attached static routes if the interface is an Ethernet interface. So this command wouldn't work.
Recursive static route
Only the next hop is specified.
Fully specified static route
Both the exit interface and next hop are specified.
Network route
Host route
Default route
Floating Static
Using the ad to set floating static.
If the main route to the destination was learned via OSPF, for example, you'll need to set the static route's AD to higher than 110, because OSPF's AD is 110.
Link-local Next-Hops

Last updated