BGP: Only possible to set neigbor once
Nico Schottelius
nico.schottelius at ungleich.ch
Sat Dec 30 14:30:09 CET 2023
Hello again,
in the bird documentation for BGP it says:
--------------------------------------------------------------------------------
neighbor [ip | range prefix] [port number] [as number] [internal|external]
...
Like local parameter, this parameter may also be used multiple times
with different sub-options.
...
--------------------------------------------------------------------------------
That is however not possible, as can be seen :
--------------------------------------------------------------------------------
blind:/home/nico# bird -c ./bird.conf
bird: ./bird.conf:3:28 Only one neighbor per BGP instance is allowed
blind:/home/nico# cat bird.conf
protocol bgp client1 {
neighbor 10.0.1.1 as 65000;
neighbor 10.0.1.2 as 65000;
ipv4;
}
--------------------------------------------------------------------------------
So my question is, is
- a) the documentation wrong
- b) the code wrong or
- c) the reader wrong?
Best regards,
Nico
p.s.: tested on bird 2.14
--
Sustainable and modern Infrastructures by ungleich.ch
More information about the Bird-users
mailing list