1
mirror of https://git.dn42.dev/wiki/wiki.git synced 2025-03-17 12:39:07 +01:00

Add alternative configuration syntax for bird

This commit is contained in:
burble.dn42 wiki mirror (uk-lon1) 2024-05-13 13:54:22 +00:00
parent 41d9f7a05c
commit d85384830b

View File

@ -197,10 +197,13 @@ protocol bgp <NEIGHBOR_NAME> from dnpeers {
protocol bgp <NEIGHBOR_NAME>_v6 from dnpeers { protocol bgp <NEIGHBOR_NAME>_v6 from dnpeers {
neighbor <NEIGHBOR_IPv6>%<NEIGHBOR_INTERFACE> as <NEIGHBOR_ASN>; neighbor <NEIGHBOR_IPv6>%<NEIGHBOR_INTERFACE> as <NEIGHBOR_ASN>;
// Or:
// neighbor <NEIGHBOR_IPv6> as <NEIGHBOR_ASN>;
// interface <NEIGHBOR_INTERFACE>;****
} }
``` ```
Due to the special link local addresses of IPv6, an interface has to be specified using the `%<if>` syntax if a link local address is used (Which is recommended) Due to the special link local addresses of IPv6, an interface has to be specified using the `%<if>` or the `interface <if>;` syntax if a link local address is used (Which is recommended)
# BGP communities # BGP communities