linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ECMP is not flow-based for forwarded traffic >5.4.x
@ 2020-04-29  7:35 Lars Ekman G
  0 siblings, 0 replies; only message in thread
From: Lars Ekman G @ 2020-04-29  7:35 UTC (permalink / raw)
  To: linux-kernel

Hi,

From somewhere between 5.4.35 and 5.5.7 flow-based ECMP for forwarded traffic has stopped working.
The fault is still present in 5.6.4 and t is present both for ipv4 and ipv6.

Ecmp is setup with (or corresponding ipv6);

        ip route add 10.0.0.0/24 \
                nexthop via 192.168.1.1 \
                nexthop via 192.168.1.2 \
                nexthop via 192.168.1.3 \
                nexthop via 192.168.1.4

Packets are routed flow-based from the machine where this route is set (local works), but traffic forwarded through this
machine is distributed packet-based. This is used as a primitive load-balancer and TCP connections fails.

Forwarded traffic is distributed flow-based in 5.4.35 and everything works. I might have missed some new config
setting in 5.5.x. Sysctls;

# cat /proc/sys/net/ipv4/fib_multipath_hash_policy
1
# cat /proc/sys/net/ipv6/fib_multipath_hash_policy
0


Best Regards,
Lars Ekman

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-29  7:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-29  7:35 ECMP is not flow-based for forwarded traffic >5.4.x Lars Ekman G

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).