
Per Jessen wrote:
Andrei Borzenkov wrote:
On Thu, Jul 11, 2019 at 1:51 PM Per Jessen <per@computer.org> wrote:
Ah, that might well be the issue - the same IP address would then always be directed via the same route.
https://codecave.cc/multipath-routing-in-linux-part-2.html may be of some interest.
Yeah, I've just read it :-)
Hmm. I'm going to try that net.ipv4.fib_multipath_hash_policy setting - it looks like it will use the source port too, that might be sufficient to get alternating routes.
Sofar I can't make it work. I have changed the hashing policy to '1', which should enable L4 hashing, which should also take the source port into account. I've even double checked the code :-) Andrei, you wouldn't happen to know how to look at the hash value used? Afaict, it doesn't change - if I do e.g. 10 or 20 new sessions one after one, they all pick the same route. -- Per Jessen, Zürich (21.6°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org