Issues with parsing config for IPv6 link-local BGP sessions
Sander P
me at sanderp.se
Tue Sep 10 08:44:41 CEST 2024
Hi Alexander,
Thanks for the fast reply!
Yes, that I do understand. But what I'm trying to do here is to auto
discover the peers via the interface (IPv6 link-local).
So, I'm struggling to understand what the interface option is for if you
still need to define the list of neighbors and their ip addresses. It kinda
defeats the purpose (I think).
Br,
Sander
On Mon, Sep 9, 2024 at 6:31 PM Alexander Zubkov <green at qrator.net> wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20240910/936a1ed3/attachment.htm>
More information about the Bird-users
mailing list