netlink icon indicating copy to clipboard operation
netlink copied to clipboard

Support for "ip nexthop" missing

Open anfredette opened this issue 3 years ago • 6 comments

This includes support for both the "ip nexthop" command itself as well as the "nhid" option in the "ip route" command.

The current code includes support for multipath by using multiple nexthop entries for a given route. However, using nexthop groups can be more efficient because many routes can use the same nexthop group, and nexthop groups can be changed without modifying the related routes. Furthermore, resilient nexthop groups are now supported which can reduce the churn when nexthops are added or deleted from a group.

anfredette avatar Mar 19 '22 17:03 anfredette

I'll add that if no one else is working on this, and there are no objections, I or one of my colleagues may be able to implement the support.

anfredette avatar Mar 22 '22 12:03 anfredette

I think ip nexthop support is quite interesting , @anfredette any progress on your implementation so far?

rampxxxx avatar May 04 '22 09:05 rampxxxx

Hello, we are also interested in ip nexthop support, are you planning to implement it?

Koaxiel avatar May 06 '24 10:05 Koaxiel

When I opened this issue, I was working on a POC and used multiple nexthop entries for multipath to get things working. However, we ended up going in a different direction, so unfortunately, I'm not available to work on this issue.

anfredette avatar May 06 '24 13:05 anfredette

Are we still planning to do this ip nexthop?

wanjing2019 avatar Sep 24 '25 00:09 wanjing2019

Minimum work is here: https://github.com/vishvananda/netlink/pull/1139

I may add some other features for my own use cases.

YutaroHayakawa avatar Oct 30 '25 04:10 YutaroHayakawa