Static IPv6 Route Using Next-Hop IPv6 Address

Only the IP address of the next-hop IPv6 is specified in the next-hop static Pv6 route. The exit interface is derived from the next hop. For example, in Figure 1, three next-hop static routes are configured on Router 0.

Before forwarding any packet, the router must resolve the route to determine the exit interface to forward the packet. This is called a router resolvability process.

It will vary depending on the type of forwarding mechanism being used by the router. CEF (Cisco Express Forwarding) is the default behaviour on most platforms running IOS 12.0 or later.

Next-Hop IPv6

If CEF is not enabled in router1 and the packet is destined for the IP address 2001:AD10:110B:0001::/64 network, on Router1, the process should look like this:

Router 0 looks for a match in the routing table and finds that it has to forward the packets to the next-hop IPv6 address 2001:AD10:110B:0003::2. Each route that references only a next-hop IPv6 address and does not know an exit interface must resolve using another route in the routing table with an exit interface.

Router 0 must now search for an exit interface to reach 2001:AD10:110B:0003::2, So the router searches a second time for a match.

In this case, the IPv6 address matches the route for the directly connected network 2001:AD10:110B:0003::/64, with the exit interface Fast Ethernet 0/0. So, the router looks up Fast Ethernet 0/0 for this network and then forwards the packet to the exit interface.

So, the router takes two routing table lookup processes to forward a packet, and the router will do a routing lookup for each packet at any time. When the router has to perform multiple lookups in the routing table before forwarding a packet, it performs a recursive lookup process.

A recursive static IPv6 route is valid only when the particular following hop resolves directly or indirectly to a valid exit interface. We can verify the ipv6 static route using the figure’s command syntax.