summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-11-07 10:24:56 +0100
committerMaria Matejka <mq@ucw.cz>2022-11-07 10:24:56 +0100
commit54179a1ab38542e7087db37bfe3de9d32886c78e (patch)
treeca4238a2046bd5b6be90dab52b5b0cd3ab8663c0 /doc
parent96d380405701bb01d792ff1c867a607d7fefa001 (diff)
parent8f79e6b93e32a4eb7e4dda9bd4a9d04400b79d45 (diff)
Merge commit '8f79e6b9' into thread-next
Diffstat (limited to 'doc')
-rw-r--r--doc/bird.sgml14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/bird.sgml b/doc/bird.sgml
index 0cfe19c4..8c882ee6 100644
--- a/doc/bird.sgml
+++ b/doc/bird.sgml
@@ -2938,6 +2938,20 @@ be used in explicit configuration.
BGP session (if acceptable), or the preferred address of an associated
interface.
+ <tag><label id="bgp-next-hop-prefer">next hop prefer global</tag>
+ Prefer global IPv6 address to link-local IPv6 address for immediate next
+ hops of received routes. For IPv6 routes, the Next Hop attribute may
+ contain both a global IP address and a link-local IP address. For IBGP
+ sessions, the global IP address is resolved (<ref id="bgp-gateway"
+ name="gateway recursive">) through an IGP routing table
+ (<ref id="bgp-igp-table" name="igp table">) to get an immediate next
+ hop. If the resulting IGP route is a direct route (i.e., the next hop is
+ a direct neighbor), then the link-local IP address from the Next Hop
+ attribute is used as the immediate next hop. This option change it to
+ use the global IP address instead. Note that even with this option
+ enabled a route may end with a link-local immediate next hop when the
+ IGP route has one. Default: disabled.
+
<tag><label id="bgp-gateway">gateway direct|recursive</tag>
For received routes, their <cf/gw/ (immediate next hop) attribute is
computed from received <cf/bgp_next_hop/ attribute. This option