ECMP: cannot add more than 36 nexthops

Updated -

The "ip -6 route add" command cannot add more than 32 routes. It can also segfault if more than 36 routes are added.

$ ip addr add 2001::DB8::200/64 dev br0
$ ip -6 route add 3333::/64 nexthop via 2001:DB8::1 nexthop via 2001:DB8::2  nexthop via 2001:DB83:3  nexthop via 2001:DB8::4  nexthop via 2001:DB8::5 nexthop via 2001:DB8::6 nexthop via 2001:DB8::7  nexthop via 2001:DB8::8 ...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content