Update bird/bird.conf.tmpl

This commit is contained in:
sump pump 2020-05-20 23:18:42 +00:00
parent e7e145f2d1
commit f6dd46997a

View File

@ -50,6 +50,16 @@ template bgp lixonet_client {
source address ${address}; # What local address we use for the TCP connection source address ${address}; # What local address we use for the TCP connection
path metric 1; # Prefer routes with shorter paths (like Cisco does) path metric 1; # Prefer routes with shorter paths (like Cisco does)
# BGP channels
# See: Channel configuration (BIRD BGP configuration) and the table shown there.
# BGP IPv4 channel settings
ipv4 {
# Always advertise our own local address as a next hop, even in cases where the
# current Next Hop attribute should be used unchanged.
# Reason: tinc NEEDS this, otherwise Layer3 inter-routing on the mesh will be broken
next hop self ebgp;
# aigp (see: http://www.rfc-editor.org/info/rfc7311) # aigp (see: http://www.rfc-editor.org/info/rfc7311)
# Lixonet default: originate AIGP # Lixonet default: originate AIGP
# This ot only allows AIGP attribute propagation, but also new AIGP attributes are # This ot only allows AIGP attribute propagation, but also new AIGP attributes are
@ -57,13 +67,6 @@ template bgp lixonet_client {
# as they are exported to the BGP session. # as they are exported to the BGP session.
# Thank-you, BIRD <3 - mane and nurd # Thank-you, BIRD <3 - mane and nurd
aigp originate; aigp originate;
# BGP IPv4 settings
ipv4 {
# Always advertise our own local address as a next hop, even in cases where the
# current Next Hop attribute should be used unchanged.
# Reason: tinc NEEDS this, otherwise Layer3 inter-routing on the mesh will be broken
next hop self ebgp;
} }
}; };