Update bird/bird.conf.tmpl

This commit is contained in:
sump pump 2020-04-28 04:43:11 +00:00
parent 1148ce372c
commit 1887a687c0

View File

@ -3,12 +3,39 @@ debug protocols all; # Enable debugging
router id ${address}; router id ${address};
# Disable automatically generating direct routes to all network interfaces.
protocol direct {
disabled; # Disable by default
}
# Forbid synchronizing BIRD routing tables with the OS kernel.
protocol kernel {
persist; # Don't remove routes on bird shutdown
ipv4 {
import all; # Import to table, default is import all
export none; # Export to protocol. default is export none
};
}
protocol device {
interface "lixonet" {
preferred ${address};
}
}
protocol rpki denco_mane_lixo {
# TODO
}
# Define a template to use when connecting to other BGP clients on the EE network # Define a template to use when connecting to other BGP clients on the EE network
template bgp lixonet_client { template bgp lixonet_client {
description "Lixonet BGP uplink for ${address} (ASN: {$asn})"; description "Lixonet BGP uplink for ${address} (ASN: {$asn})";
local as ${asn}; local as ${asn};
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)
next hop self;
aigp originate; # Enable AIGP for all (IBGP+EBGP) sessions
} }
# Neighbor example # Neighbor example