12 mins read

ISIS metric – 3rd trap, the differences between IPv4 and IPv6

1. Intro

In this part we will focus on the ISIS IPv6 metric, more specifically, the differences between IPv4 and IPv6.

But before that, let’s remind ourselves that this post is part of a 3 part series about the impact of ISIS Narrow and Wide metrics:

  • 1st part – in the 1st post we saw the unexpected impact of using both Narrow and Wide by default
  • 2nd part – in the previous post we covered the unexpected impact of configuring wide-metrics-only
  • 3rd part – in this post, we will cover the differences between IPv4 and IPv6 related to this metric topic

2. The test topology

The topology is the same, the only addition is that R5 is now redistributing IPv6 external routers to ISIS. Let’s review the main points:

  • All links have metric 1000
  • R1 and R2 will be L2 routers in Area 49.001, the backbone or our network.
  • R4 is a L1/L2 router in Area 49.002, the ABR.
  • R3 and R5 are L1 routers in Area 49.002.
  • R5 is the ASBR, redistributing IPv6 external routes to ISIS.
  • At this point wide-metrics-only is configured everywhere.
ISIS IPv6 metric

We will start this post with the configuration from post 2. The only addition to the configuration is the redistribution of IPv6 external routes. Let’s see the ISIS configuration:

3. Different metric impact on IPv6 routes

First, as a quick reminder, let’s review the ISIS metric main points for IPv4 routes:

  • With default settings, the wide metric TLV is limited to the maximum value (63) of the narrow metric
  • We know that IPv4 external routes become internal routes when wide-metric-only is configured, and this is also reflected in the administrative distance

Let’s highlight how IPv6 routes are different when compared with IPv4 routes:

  • With default settings, the IPv6 Reachability TLV will also limit metric to the maximum value (63) of the narrow metric – no change here
  • The IPv6 Reachability TLV has an External/Internal bit, so there will no change in route type, external routers will remain external routes, with the same administrative distance, even if wide-metric-only is configured – different behavior when compared with IPv4

Let’s check the CLI output and confirm that the IPv6 are marked as External even if wide-metric-only is configured, and the consequence is that they will not pass to L2 :

Next, let’s remove wide-metric-only and that the metric will be limited to 63:

This confirms that with the default metric (narrow + wide), IPv4 and IPv6 have the same behaviour.

4. Conclusion

  • With default settings, the IPv6 Reachability TLV 236 will also limit metric to the maximum value (63) of the narrow metric – same as IPv4
  • The IPv6 Reachability TLV 236 has an External/Internal bit, so there will no impact for IPv6 routes when configuring wide-metric-only. External routers will remain external routes, with the same administrative distance – different behavior when compared with IPv4

External Resources: