Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 2021 19:36:14 -0500
From:      Mark Kamichoff <prox@prolixium.com>
To:        freebsd-net@freebsd.org
Subject:   ROUTE_MPATH and hashing
Message-ID:  <YUPi/r8iGCecEz4H@prolixium.com>

next in thread | raw e-mail | index | archive | help
Hi - 

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?

I'm using FRR 7 and I see both routes in the FIB but only one is ever
chosen and takes traffic.

(dax:20:23:EDT)% show ipv6 route 2620:6:2003:105::/64  
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

(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::     
   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 
(dax:20:23:EDT)%

I didn't see any sysctls exposed but maybe I'm not looking in the right
place.

- Mark

-- 
Mark Kamichoff
prox@prolixium.com
https://www.prolixium.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YUPi/r8iGCecEz4H>