Date: Tue, 21 Sep 2021 00:06:50 +0100 From: "Alexander V. Chernikov" <melifaro@ipfw.ru> To: Mark Kamichoff <prox@prolixium.com> Cc: freebsd-net <freebsd-net@freebsd.org> Subject: Re: ROUTE_MPATH and hashing Message-ID: <FB79A4F1-8A9E-4ACE-89EA-02DAAB8D81A8@ipfw.ru> In-Reply-To: <YUPi/r8iGCecEz4H@prolixium.com> References: <YUPi/r8iGCecEz4H@prolixium.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 17 Sep 2021, at 01:36, Mark Kamichoff <prox@prolixium.com> wrote: >=20 > Hi -=20 >=20 Hi Mark, > Does anyone here know how to tweak the hashing algorithm (per = flow/packet/x) > that's used for the new ROUTE_MPATH option that's in 13? >=20 > I'm using FRR 7 and I see both routes in the FIB but only one is ever > chosen and takes traffic. Is it IPv6 forwarding or the packets are originated locally? In case of former, what is the receive interface? (e.g. is it tun as = well)? >=20 > (dax:20:23:EDT)% show ipv6 route 2620:6:2003:105::/64 =20 > Routing entry for 2620:6:2003:105::/64 > Known via "bgp", distance 20, metric 0, best > Last update 08:24:34 ago > 2620:6:2000:104::35 (recursive), weight 1 > * 2620:6:2000:1ff::10c2, via tun9, weight 1 > * 2620:6:2000:1ff::1172, via tun12, weight 1 >=20 > (dax:20:23:EDT)% netstat -rn|grep 2620:6:2003:105::/64 > 2620:6:2003:105::/64 2620:6:2000:1ff::1172 UG1 = tun12 > 2620:6:2003:105::/64 2620:6:2000:1ff::10c2 UG1 = tun9 > (dax:20:23:EDT)% route -n6 get 2620:6:2003:105:: =20 > route to: 2620:6:2003:105:: > destination: 2620:6:2003:105:: > mask: ffff:ffff:ffff:ffff:: > gateway: 2620:6:2000:1ff::1172 > fib: 0 > interface: tun12 > flags: <UP,GATEWAY,DONE,PROTO1> > recvpipe sendpipe ssthresh rtt,msec mtu weight expire > 0 0 0 0 1455 0 0=20 > (dax:20:23:EDT)% >=20 > I didn't see any sysctls exposed but maybe I'm not looking in the = right > place. >=20 > - Mark >=20 > --=20 > Mark Kamichoff > prox@prolixium.com > https://www.prolixium.com/ >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FB79A4F1-8A9E-4ACE-89EA-02DAAB8D81A8>