From: Maria Matejka Date: Thu, 3 Jul 2025 15:16:14 +0000 (+0200) Subject: BGP: Interface range bind X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39258b50239373c2cc343d4b7f0107bca0a40b8e;p=thirdparty%2Fbird.git BGP: Interface range bind For dynamic onlink connections, we need to find out which interface the connection came in, and we need to pin that connection to that interface. To achieve that, we create a listening socket bound to each interface separately, and match the incoming connection by the socket. Otherwise, the kernel would not give us any information on where the connection came from. --- diff --git a/doc/bird.sgml b/doc/bird.sgml index 68229cb9d..d75640c6b 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -2945,6 +2945,7 @@ protocol bgp [] { local [] [port ] [as ]; neighbor [ | range ] [onlink] [port ] [as ] [internal|external]; interface ""; + interface range ; onlink ; direct; multihop []; @@ -3067,6 +3068,17 @@ protocol bgp [] { used for non link-local sessions when it is necessary to explicitly specify an interface, but only for direct (not multihop) sessions. +