<div dir="auto">Hi,<div dir="auto"><br></div><div dir="auto">From my understanding, there can be only one neighbor here, but you can set different parts of it with multiple directives, i.e.:</div><div dir="auto"><br></div><div dir="auto"><div dir="auto">neighbor 10.0.1.1;</div><div dir="auto">neighbor as 65000;</div></div><div dir="auto"><br></div><div dir="auto">But two different IPs would be two neighbors and you must have two separate bgp protocols for that. Or a dynamic protocol that spawns specific protocols.</div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Alexander</div><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Sat, Dec 30, 2023, 14:42 Nico Schottelius via Bird-users <<a href="mailto:bird-users@network.cz">bird-users@network.cz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hello again,<br>
<br>
in the bird documentation for BGP it says:<br>
<br>
--------------------------------------------------------------------------------<br>
neighbor [ip | range prefix] [port number] [as number] [internal|external]<br>
<br>
...<br>
Like local parameter, this parameter may also be used multiple times<br>
with different sub-options.<br>
...<br>
<br>
--------------------------------------------------------------------------------<br>
<br>
That is however not possible, as can be seen :<br>
<br>
--------------------------------------------------------------------------------<br>
blind:/home/nico# bird -c ./bird.conf<br>
bird: ./bird.conf:3:28 Only one neighbor per BGP instance is allowed<br>
blind:/home/nico# cat bird.conf<br>
protocol bgp client1 {<br>
neighbor 10.0.1.1 as 65000;<br>
neighbor 10.0.1.2 as 65000;<br>
<br>
ipv4;<br>
}<br>
--------------------------------------------------------------------------------<br>
<br>
So my question is, is<br>
<br>
- a) the documentation wrong<br>
- b) the code wrong or<br>
- c) the reader wrong?<br>
<br>
Best regards,<br>
<br>
Nico<br>
<br>
p.s.: tested on bird 2.14<br>
<br>
--<br>
Sustainable and modern Infrastructures by <a href="http://ungleich.ch" rel="noreferrer noreferrer" target="_blank">ungleich.ch</a><br>
</blockquote></div></div>