Hello, Peter;

The addresses I'm trying to announce are global i.e.
2620:ba:6000:3:58d2:48ff:fee6:270a , however bgpd(8)
doesn't want to announce them for some reason.

When I check my routing table they appear however, when
taking a look at bgpctl they are not announced.


Ben Raskin

On Mon, May 6, 2024 at 11:55 AM Peter Hessler <phess...@theapt.org> wrote:
>
> On 2024 May 06 (Mon) at 10:14:21 -0400 (-0400), Benjamin Raskin wrote:
> :Hello, all;
> :
> :I've been having some issues getting bgpd to announce IPv6 routes,
>
> ...
>
> :
> :bgpd(8) is configued to advertise all connected and static routes,
> :however bgpd(8) only advertises routes that are connected to the wg0
> :interface and none that are connected on the vport0 interface. Below is
> :the output of `bgpctl show fib connected inet6` for reference.
> :
> :
> :flags prio destination                      gateway
> :C        1 ::1/128                          link#8
> :C        4 fd80::/64                        link#11
> :C        1 fd80::fce1:baff:fe6e:d685/128    link#11
> :C        3 fd80::fce1:baff:fea6:bf3a/128    link#11
> :C        3 fd80::fce1:baff:fed1:1740/128    link#11
> :C        4 fe80::%vport0/64                 link#10
> :C        4 fe80::%mgre0/64                  link#12
> :C        1 fe80::1%lo0/128                  link#8
> :CN       1 fe80::1efd:8ff:fe7e:6b38%mgre0/128 link#12
> :C        8 fe80::9ab7:85ff:fe00:3726%mgre0/128 link#12
> :C        8 fe80::9ab7:85ff:fe00:3727%mgre0/128 link#12
> :C        4 ff01::%lo0/32                    link#8
> :C        4 ff01::%vport0/32                 link#10
> :C        4 ff01::%wg0/32                    link#11
> :C        4 ff01::%mgre0/32                  link#12
> :C        4 ff02::%lo0/32                    link#8
> :C        4 ff02::%vport0/32                 link#10
> :C        4 ff02::%wg0/32                    link#11
> :C        4 ff02::%mgre0/32                  link#12
> :
> :
> :As far as I can tell bgpd(8) is configured correctly, and there are no
> :anomalies when it comes to routes. Below is a sample of my bgpd(8)
> :configuration for reference.
> :
>
> fe80:: addresses are "link-local" addressess.  Which means they are only
> local to the link, and cannot be announced to other links.
>
> You'll need to assign ULA or Global addresses to the links in order for
> them to be announced.
>
>
> :
> :AS 10261
> :
> :neighbor fe80::9ab7:85ff:fe00:3726%mgre0 {
> :        remote-as 10261
> :}
> :neighbor fe80::9ab7:85ff:fe00:3727%mgre0 {
> :        remote-as 10261
> :}
> :
> :network inet6 priority 4
> :network inet6 connected
> :network inet6 static
> :
> :allow from ibgp
> :allow to ibgp set { nexthop fe80::1efd:8ff:fe7e:6b38%mgre0 prepend-self 1 }
> :
> :
> :Am I missing something? Am I making some assumption when it comes to how
> :bgpd(8) works with IPv6 addresses? Thank you in advance.
> :
> :
> :Ben Raskin
> :
>
> --
> With a rubber duck, one's never alone.
>                 -- "The Hitchhiker's Guide to the Galaxy"

Reply via email to