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
|
|
|
|
|
|
|
protocol bgp {
|
2020-04-28 04:17:15 +00:00
|
|
|
description "Lixonet BGP uplink for ${address} (ASN: {$asn})";
|
2020-04-28 04:16:29 +00:00
|
|
|
|
2020-04-28 04:17:15 +00:00
|
|
|
local as ${asn};
|
|
|
|
source address ${address}; # What local address we use for the TCP connection
|
2020-04-28 04:16:29 +00:00
|
|
|
path metric 1; # Prefer routes with shorter paths (like Cisco does)
|
|
|
|
}
|
|
|
|
|
|
|
|
# Define a template to use when connecting to other BGP clients
|
|
|
|
template bgp lixonet_client {
|
2020-04-28 04:17:15 +00:00
|
|
|
local as ${asn};
|
2020-04-28 04:16:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# Neighbor
|
|
|
|
protocol bgp test 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
|
|
|
}
|