Andrei Borzenkov wrote:
On Thu, Jul 11, 2019 at 11:12 AM Per Jessen <per@computer.org> wrote:
(same old story - I am migrating a mail cluster to 15.1 ... this is still the first node, "tattoo16")
For alternating output over two routers (we call them "frontends"), we use a multipath route defined like this:
ip route add default table fe1fe2 nexthop via 10.0.1.145 nexthop via 10.0.2.145
How do you ensure kernel will use table fe1fe2 when computing next hop?
I set a firewall mark (given the right conditions), then I use a rule to select the right table.
I do not have Leap at the moment, quick testing with SLES15 GA (and default routing table) - "ip route get" returns alternate gateways for different addresses (I believe it is not round robin anymore, rather it computes deterministic hash over IP address).
Ah, that might well be the issue - the same IP address would then always be directed via the same route. /Per -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org