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:50:43 +00:00
|
|
|
# Disable automatically generating direct routes to all network interfaces.
|
|
|
|
protocol direct {
|
|
|
|
disabled; # Disable by default
|
|
|
|
};
|
|
|
|
|
2020-04-28 04:53:54 +00:00
|
|
|
protocol device {
|
|
|
|
interface "lixonet" {
|
|
|
|
preferred ${address};
|
|
|
|
};
|
|
|
|
};
|
2020-04-28 04:43:11 +00:00
|
|
|
|
2020-04-28 04:20:27 +00:00
|
|
|
# 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;
|
2020-04-28 04:50:22 +00:00
|
|
|
# aigp originate; # Enable AIGP for all (IBGP+EBGP) sessions
|
2020-04-28 04:43:11 +00:00
|
|
|
|
2020-04-28 04:48:05 +00:00
|
|
|
};
|
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;
|
2020-04-28 04:48:05 +00:00
|
|
|
};
|
|
|
|
|
2020-04-28 04:20:27 +00:00
|
|
|
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:48:05 +00:00
|
|
|
};
|