Update bird/bird.conf.tmpl

This commit is contained in:
sump pump 2020-05-20 23:16:34 +00:00
parent ced4107928
commit e7e145f2d1

View File

@ -50,12 +50,21 @@ 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)
# Always advertise our own local address as a next hop, even in cases where the # aigp (see: http://www.rfc-editor.org/info/rfc7311)
# current Next Hop attribute should be used unchanged. # Lixonet default: originate AIGP
# Reason: tinc NEEDS this, otherwise Layer3 inter-routing on the mesh will be broken # This ot only allows AIGP attribute propagation, but also new AIGP attributes are
next hop self ebgp; # automatically attached to non-BGP routes with valid IGP metric (e.g. ospf_metric1)
# as they are exported to the BGP session.
# 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;
}
}; };
# Neighbors # Neighbors