Ok so in the end is there a way to install more then one route in the kernel table through bgpd or not ? And if it's something that could be done in the future ?
Cheers Marco Caterpillar: Confidential Green -----Original Message----- From: Stuart Henderson <stu.li...@spacehopper.org> Sent: Wednesday, May 15, 2024 8:26 AM To: misc@openbsd.org Subject: Re: Bgpd multipath conf CAUTION: EXTERNAL EMAIL This is a message from owner-m...@openbsd.org. Use caution when opening unexpected emails and do not click on links or attachments from unknown senders. For more resources, visit security.cat.com/phishing. ______________________________________________________________________ On 2024-05-14, Marco Agostani <marco_agost...@solarturbines.com> wrote: > I try to setup an openbgpd setup involving multipath configuration > ...with = no success. ... > neighbor $GW01 { > descr "bgp#1" > announce IPv4 unicast > announce add-path recv yes > set localpref 110 > } This just announces the add-path BGP capability. > #bgpctl sh rib > https://urldefense.com/v3/__http://172.18.180.0/24__;!!FtR4BK4x7WL3xYs > !6DAqIASIWdakyXeDyLwAsmIOK4cM3WJigBhTBEZwFP2QSx-N8iqQRQKGfW0L4XpCyVGG2 > 7Pi4GFOtJXl9T8K7jGv49b5Fz40$ > > flags: * =3D Valid, > =3D Selected, I =3D via IBGP, A =3D Announced, > S =3D Stale, E =3D Error > origin validation state: N =3D not-found, V =3D valid, ! =3D invalid > aspa validation state: ? =3D unknown, V =3D valid, ! =3D invalid > origin: i =3D IGP, e =3D EGP, ? =3D Incomplete > > flags vs destination gateway lpref med aspath origin > *> N-? > https://urldefense.com/v3/__http://172.18.180.0/24__;!!FtR4BK4x7WL3xYs!6DAqIASIWdakyXeDyLwAsmIOK4cM3WJigBhTBEZwFP2QSx-N8iqQRQKGfW0L4XpCyVGG27Pi4GFOtJXl9T8K7jGv49b5Fz40$ > > https://urldefense.com/v3/__http://10.0.1.241__;!!FtR4BK4x7WL3xYs!6DAqIASIWdakyXeDyLwAsmIOK4cM3WJigBhTBEZwFP2QSx-N8iqQRQKGfW0L4XpCyVGG27Pi4GFOtJXl9T8K7jGv41J-7V7w$ > 110 0 14381 i > *m N-? > https://urldefense.com/v3/__http://172.18.180.0/24__;!!FtR4BK4x7WL3xYs!6DAqIASIWdakyXeDyLwAsmIOK4cM3WJigBhTBEZwFP2QSx-N8iqQRQKGfW0L4XpCyVGG27Pi4GFOtJXl9T8K7jGv49b5Fz40$ > > https://urldefense.com/v3/__http://10.0.1.245__;!!FtR4BK4x7WL3xYs!6DAqIASIWdakyXeDyLwAsmIOK4cM3WJigBhTBEZwFP2QSx-N8iqQRQKGfW0L4XpCyVGG27Pi4GFOtJXl9T8K7jGv48_2TUKx$ > 110 0 14381 i > > Show me two routes one marked with multipath > > But in fib I see only one route > > #bgpctl sh fib > https://urldefense.com/v3/__http://172.18.180.0/24__;!!FtR4BK4x7WL3xYs > !6DAqIASIWdakyXeDyLwAsmIOK4cM3WJigBhTBEZwFP2QSx-N8iqQRQKGfW0L4XpCyVGG2 > 7Pi4GFOtJXl9T8K7jGv49b5Fz40$ > > flags: B =3D BGP, C =3D Connected, S =3D Static > N =3D BGP Nexthop reachable via this route > r =3D reject route, b =3D blackhole route > flags prio destination gateway > B 48 > https://urldefense.com/v3/__http://172.18.180.0/24__;!!FtR4BK4x7WL3xYs!6DAqIASIWdakyXeDyLwAsmIOK4cM3WJigBhTBEZwFP2QSx-N8iqQRQKGfW0L4XpCyVGG27Pi4GFOtJXl9T8K7jGv49b5Fz40$ > > https://urldefense.com/v3/__http://10.0.1.241__;!!FtR4BK4x7WL3xYs!6DAqIASIWdakyXeDyLwAsmIOK4cM3WJigBhTBEZwFP2QSx-N8iqQRQKGfW0L4XpCyVGG27Pi4GFOtJXl9T8K7jGv41J-7V7w$ ... > What I miss here ?? bgpd does allow add-path and having multiple paths to a prefix in the RIB (e.g. perhaps useful on a route-server) but it does not handle adding multiple paths for the same prefix to the FIB.