lixonet-ee/bird/bird.conf.tmpl

38 lines
1.0 KiB
Cheetah
Raw Normal View History

2020-04-28 04:16:29 +00:00
log stderr all; # Using docker; defer logging to stderr
debug protocols all; # Enable debugging
2020-04-28 04:17:15 +00:00
router id ${address};
2020-04-28 04:16:29 +00:00
2020-04-28 04:43:11 +00:00
# Disable automatically generating direct routes to all network interfaces.
protocol direct {
disabled; # Disable by default
}
protocol device {
interface "lixonet" {
preferred ${address};
2020-04-28 04:45:19 +00:00
};
2020-04-28 04:43:11 +00:00
}
protocol rpki denco_mane_lixo {
# TODO
}
# Define a template to use when connecting to other BGP clients on the EE network
template bgp lixonet_client {
2020-04-28 04:17:15 +00:00
description "Lixonet BGP uplink for ${address} (ASN: {$asn})";
local as ${asn};
2020-04-28 04:43:11 +00:00
source address ${address}; # What local address we use for the TCP connection
path metric 1; # Prefer routes with shorter paths (like Cisco does)
next hop self;
aigp originate; # Enable AIGP for all (IBGP+EBGP) sessions
2020-04-28 04:16:29 +00:00
}
2020-04-28 04:43:53 +00:00
protocol bgp denco_mane_lixo from lixonet_client {
neighbor 172.30.0.8 as 4206969008;
}
protocol bgp lkwco_mane_lixo from lixonet_client {
2020-04-28 04:17:15 +00:00
neighbor 172.30.0.16 as 4206969016;
2020-04-28 04:16:29 +00:00
}