❦ 5 août 2019 18:28 +02, Ondrej Zajicek <santiago@crfreenet.org>:
You mean I can do:
protocol bgp XXX { neighbor; interface eth0; /* ... */ }
?
No, you need to specify neighbor link-local address (i probably misunderstood your point):
protocol bgp XXX { neighbor fe80::1 external; interface eth0; }
Oh, OK, not as convenient as specifying an interface. I wonder how FRR is getting the remote IP. Maybe it's automatically in the neighbor table due to neighbor advertisements?
It is a bit ugly for a PtP link, It is true that a simple BGP protocol that accept any peer IP from that interface could also makes sense. I did not notice that.
If both ends could be configured the same way, it would be great. But, then, at least one of them would need to not be passive. -- Use recursive procedures for recursively-defined data structures. - The Elements of Programming Style (Kernighan & Plauger)