diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-12-16 18:05:56 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-12-16 18:08:40 +0100 |
commit | 3232d1718636eb7617fedc7b27378cd1d8f8691d (patch) | |
tree | 9a5eaf048258b72afe4c95211e2dad2013a28204 /doc | |
parent | c132acae362b6106c2eecbef2d8c163acde84035 (diff) |
Doc: Fix documentation of BGP gateway option
Thanks to Nico Schottelius for the bugreport.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bird.sgml | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/doc/bird.sgml b/doc/bird.sgml index 2363fb52..8548c9c6 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -2696,12 +2696,11 @@ be used in explicit configuration. For received routes, their <cf/gw/ (immediate next hop) attribute is computed from received <cf/bgp_next_hop/ attribute. This option specifies how it is computed. Direct mode means that the IP address from - <cf/bgp_next_hop/ is used if it is directly reachable, otherwise the - neighbor IP address is used. Recursive mode means that the gateway is - computed by an IGP routing table lookup for the IP address from - <cf/bgp_next_hop/. Note that there is just one level of indirection in - recursive mode - the route obtained by the lookup must not be recursive - itself, to prevent mutually recursive routes. + <cf/bgp_next_hop/ is used and must be directly reachable. Recursive mode + means that the gateway is computed by an IGP routing table lookup for + the IP address from <cf/bgp_next_hop/. Note that there is just one level + of indirection in recursive mode - the route obtained by the lookup must + not be recursive itself, to prevent mutually recursive routes. Recursive mode is the behavior specified by the BGP standard. Direct mode is simpler, does not require any routes in a |