Issues with parsing config for IPv6 link-local BGP sessions
Alexander Zubkov
green at qrator.net
Mon Sep 9 18:30:39 CEST 2024
Hi Sander,
The error indicates that you are missing the neighbor's address in
your configuration.
Regards,
Alexander
On Mon, Sep 9, 2024 at 4:54 PM Sander P <me at sanderp.se> wrote:
>
> Hi,
>
> I'm on Bird 2.0.8
> The background is that I'm trying to configure link local BGP sessions towards Juniper switches.
> I'm trying to follow the the documentation that indicates that it should be possible to define a interface.
>
> https://bird.network.cz/?get_doc&v=20&f=bird-6.html#ss6.4
> interface string
>
> Define interface we should use for link-local BGP IPv6 sessions. Interface can also be specified as a part of neighbor address (e.g., neighbor fe80::1234%eth0 as 65000;). The option may also be used for non link-local sessions when it is necessary to explicitly specify an interface, but only for direct (not multihop) sessions
>
> Here is my config:
>
> template bgp ebgp_client_v6 {
> local as system_as_number;
> ipv6 {
> import all;
> export filter export_bgp;
> };
> bfd graceful;
> connect delay time 1;
> connect retry time 5;
> error wait time 1,5;
> error forget time 10;
> };
>
> protocol bgp auto_disc_2 from ebgp_client_v6 {
> interface "enp67s0f0np0";
> };
>
> and from my understanding it should be enough with just that. But I do get the error:
> /etc/bird/peers.conf:53:1 Neighbor must be configured
>
> I've also tried to add "neighbor as asn_of_neighbor;" To the config with the same results.
>
> Any help would be much appreciated!
>
> Br,
> Sander
More information about the Bird-users
mailing list