Hi Neil,
thanks again.
So, this is actually coming in NetworkManager 1.42, I got my versions mixed up. See https://networkmanager.dev/blog/networkmanager-1-42/ ) and will work as you expect. I mixed up my versions last night when writing the email.
Checking with Red Hat documentation it looks like this is coming with RHEL 9.2. Let's hope it won't take long to be released.
Using a separate systemd service that will execute a script to add/remove routes via the ip command might be a (dirty) workaround. Or putting even more distance to the distribution I might install systemd-networkd which provides true ECMP and does not require an always running service.
Systemd-networkd is a good option, and one that I would recommend, generally. You may also be intrested in nmstate [1] though I'm not sure if it supports ECMP.
The issue I have with using parts of systemd that are not provided by the distribution is that versions of systemd usually differ between the distribution packages and the ones coming from EPEL. Though that hopefully doesn't matter much.
The second issue I have is that RHEL and its derivatives imply that NetworkManager is installed and software is linked against. But that's a totally different rabbit hole that I don't want to descend into right now.
Best,
Uwe
Personally, when I deploy ECMP, the routes are coming from an IGP, not staticly on the host. That may be an option you wish to look into, as well, but it requires changing up how you're networking your servers (routed vs switched access)
If there are other suggestions for how to get true ECMP routing I'd really like to hear those.
Have a nice weekend,
You too! --Neil
Uwe _______________________________________________ rocky mailing list -- rocky@lists.resf.org To unsubscribe send an email to rocky-leave@lists.resf.org