<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p><font size="2"><font face="Verdana">Hi everyone,</font></font></p>
<p><font size="2"><font face="Verdana">I have a new FRR instalation
on Rocky Linux and realized I have duplicate kernel routes for
same-cost received routes from two distint peers.<br>
It seems to be a default multipath behavior (the router shares
the traffic indeed) but I would like to disable it and I could
not find out how.<br>
Can you guys give me any tips?</font></font></p>
<pre><font size="2"><font face="Verdana"><font face="Courier New, Courier, monospace">[router]# vtysh -c "show ip bgp X.Y.Z.0/22"
BGP routing table entry for </font></font></font><font size="2"><font face="Verdana"><font face="Courier New, Courier, monospace"><font size="2"><font face="Verdana"><font face="Courier New, Courier, monospace">X.Y.Z</font></font></font>.0/22, version 15072201
Paths: (2 available, best #2, table default)
Not advertised to any peer
Local
A.B.144.30 from A.B.144.5 (A.B.144.30)
Origin IGP, metric 0, localpref 100, valid, internal, multipath
Originator: A.B.144.30, Cluster list: A.B.144.1
Last update: Fri Oct 28 03:16:08 2022
Local
C.D.113.30 from C.D.113.5 (A.B.144.30)
Origin IGP, metric 0, localpref 100, valid, internal, multipath, best (Neighbor IP)
Originator: A.B.144.30, Cluster list: C.D.113.1
Last update: Fri Oct 28 03:16:01 2022
#
[router]# ip route show X.Y.Z.0/22
X.Y.Z.0/22 proto bgp metric 20
nexthop via C.D.113.5 dev eth0.1001 weight 1
nexthop via A.B.144.5 dev eth0.1001 weight 1 </font>
</font></font></pre>
<p><font size="2"><font face="Verdana">The workaround is to apply
local-pref.<br>
</font></font></p>
<p><font size="2"><font face="Verdana">Rocky Linux release 8.6
4.18.0-372.26.1.el8_6.x86_64<br>
FRRouting (version 8.3.1)<br>
</font></font></p>
<p><font size="2"><font face="Verdana">Leonardo<br>
</font></font></p>
<p><br>
</p>
</body>
</html>