From 9be9a264137cdd881f339c37d1a1918527924254 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Mon, 12 Jul 2010 17:39:39 +0200 Subject: Implements proper multihop BGP. Also does some incompatible changes to config file syntax, like removing 'via IP' from multihop option. --- doc/bird.sgml | 46 ++++++++++++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 18 deletions(-) (limited to 'doc') diff --git a/doc/bird.sgml b/doc/bird.sgml index a6fa4df..82ff630 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -272,7 +272,7 @@ protocol rip { listen to IPv6 connections only. This is needed if you want to run both bird and bird6 on the same port. - timeformat route|protocol|base|log " " + timeformat route|protocol|base|log " This option allows to specify a format of date/time used by BIRD. The first argument specifies for which purpose such format is used. and + " and " - local as Define which AS we are part of. (Note that - contrary to other IP routers, BIRD is able to act as a router located - in multiple AS'es simultaneously, but in such cases you need to tweak - the BGP paths manually in the filters to get consistent behavior.) + local Define which AS we + are part of. (Note that contrary to other IP routers, BIRD is + able to act as a router located in multiple AS'es + simultaneously, but in such cases you need to tweak the BGP + paths manually in the filters to get consistent behavior.) + Optional neighbor Define neighboring router @@ -988,16 +991,27 @@ for each neighbor using the following configuration parameters: of your router's interfaces. In case the neighbor is in the same AS as we are, we automatically switch to iBGP. This parameter is mandatory. - multihop Configure multihop BGP to a - neighbor which is connected at most multihop Configure multihop BGP + session to a neighbor that isn't directly connected. + Accurately, this option should be used if the configured + neighbor IP address does not match with any local network + subnets. Such IP address have to be reachable through system + routing table. For multihop BGP it is recommended to + explicitly configure source address Define local address we + should use for next hop calculation and as a source address + for the BGP session. Default: the address of the local + end of the interface our neighbor is connected to. + next hop self Avoid calculation of the Next Hop - attribute and always advertise our own source address (see - below) as a next hop. This needs to be used only occasionally - to circumvent misconfigurations of other routers. - Default: disabled. + attribute and always advertise our own source address as a + next hop. This needs to be used only occasionally to + circumvent misconfigurations of other routers. Default: + disabled. missing lladdr self|drop|ignoreNext Hop attribute in BGP-IPv6 sometimes contains just the global IPv6 address, @@ -1015,10 +1029,6 @@ for each neighbor using the following configuration parameters: that case default is source address Define local address we should use - for next hop calculation. Default: the address of the local end - of the interface our neighbor is connected to. - password Use this password for MD5 authentication of BGP sessions. Default: no authentication. Password has to be set by external utility (e.g. setkey(8)) on BSD systems. -- cgit v1.2.3