]> git.ipfire.org Git - thirdparty/bird.git/commit
BGP: Allow onlink neighbors
authorMaria Matejka <mq@ucw.cz>
Thu, 19 Jun 2025 16:57:15 +0000 (18:57 +0200)
committerMaria Matejka <mq@ucw.cz>
Thu, 26 Jun 2025 12:57:06 +0000 (14:57 +0200)
commitadbef6f974356582291c54a4b74f8dc34b9395ef
treed8156fee0edbb3edc8034e829933e0e7c68cc566
parent249ea3c5797d22d219f1b49ed3366996910ed154
BGP: Allow onlink neighbors

In certain scenarios, the direct neighbor is not inside any prefix
assigned to the appropriate interface. There is a route for that address
pointing to that interface, though.

In such cases, the user may specify the neighbor as onlink, effectively
disabling the prefix check and trying to connect immediately. It is
expected that the operator ensures that the neighbor is indeed there.
doc/bird.sgml
proto/bgp/bgp.c
proto/bgp/bgp.h
proto/bgp/config.Y
proto/bgp/packets.c