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 172.18.180.0/24
>
> 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-? 172.18.180.0/24      10.0.1.241        110     0 14381 i
> *m    N-? 172.18.180.0/24      10.0.1.245        110     0 14381 i
>
> Show me two routes one marked with multipath
>
> But in fib I see only one route
>
> #bgpctl sh fib 172.18.180.0/24
>
> 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 172.18.180.0/24                  10.0.1.241
...
> 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.


Reply via email to