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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.