[FROG] v6 Route Replace semantics

hongal hongal at gmail.com
Wed Apr 8 13:46:51 EDT 2020


Hi Donald

This is your old email

Can you please confirm  4.18 linux kernel is the correct version that
supports   `--v6-rr-semantics'?.

Is  version 4.15.0-36  will be ok also ?.

From:
http://docs.frrouting.org/en/latest/overview.html#supported-protocols-vs-platform
====================================
Known Kernel Issues
<http://docs.frrouting.org/en/latest/overview.html#known-kernel-issues>

   -

   Linux < 4.11

   v6 Route Replacement - Linux kernels before 4.11 can cause issues with
   v6 route deletion when you have ECMP routes installed into the kernel. This
   especially becomes apparent if the route is being transformed from one ECMP
   path to another.

   =======================

Thanks
Thippanna

On Fri, May 25, 2018 at 10:46 AM Donald Sharp <sharpd at cumulusnetworks.com>
wrote:

> All -
>
> We recently introduced, into master, a new cli switch for zebra on
> linux `--v6-rr-semantics`.  This was allow zebra to take advantage of
> the linux kernel getting v6 route replace semantics that is coming
> soon in the 4.18 linux kernel.  So if you are on the bleeding edge of
> linux kernels and FRR you can start to take advantage of this new
> feature.
>
> What are Route Replace semantics you ask?
>
> Suppose we have a v6 route with 2 nexthops:
> S>* 4:6:7::/64 [1/0] via 1:2:3::4, enp0s3, 00:00:02
>                      via 1:2:8::8, enp0s8, 00:00:02
>
> Now suppose we remove a nexthop:
> robot# conf t
> robot(config)# no ipv6 route 5:7:9::/78 1:2:8::9
> robot(config)# end
> robot# show ipv6 route
> [snip]
> S>* 5:7:9::/78 [1/0] via 1:2:3::4, enp0s3, 00:01:04
>
> Let's look at the netlink notifications for this event:
> [ROUTE]5:7:9::/78 proto static metric 20      <----------- From
> creation of the 2x ecmp for 5:7:9::/78
> nexthop via 1:2:3::4 dev enp0s3 weight 1
> nexthop via 1:2:8::9 dev enp0s8 weight 1
> [ROUTE]Deleted 5:7:9::/78 proto static metric 20 <---- We delete the route
> nexthop via 1:2:3::4 dev enp0s3 weight 1
> nexthop via 1:2:8::9 dev enp0s8 weight 1
> [ROUTE]5:7:9::/78 via 1:2:3::4 dev enp0s3 proto static metric 20 pref
> medium <----- We add it back in.
>
> In order to get the routes right in the kernel we had to delete the
> route first and then add it back in.  Exposing a small window of
> packets being dropped while the route is fixed in the fib.
>
> Route Replace semantics tells the linux kernel to just replace the
> nexthops for the route.  New packets coming in would immediately start
> using the new ecmp nexthop group path:
> [ROUTE]5:7:9::/78 proto static metric 20
> nexthop via 1:2:3::4 dev enp0s3 weight 1
> nexthop via 1:2:8::9 dev enp0s8 weight 1
> [ROUTE]5:7:9::/78 via 1:2:3::4 dev enp0s3 proto static metric 20 pref
> medium
>
> thanks!
>
> donald
>
> _______________________________________________
> frog mailing list
> frog at lists.frrouting.org
> https://lists.frrouting.org/listinfo/frog
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frrouting.org/pipermail/frog/attachments/20200408/b059ee92/attachment-0001.html>


More information about the frog mailing list