Update bird/bird.conf.tmpl
This commit is contained in:
parent
2b6e26de63
commit
70bd240d2d
@ -8,12 +8,6 @@ protocol direct {
|
|||||||
disabled; # Disable by default
|
disabled; # Disable by default
|
||||||
};
|
};
|
||||||
|
|
||||||
protocol device {
|
|
||||||
interface "lixonet" {
|
|
||||||
preferred ${address};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# 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})";
|
||||||
@ -21,10 +15,18 @@ 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)
|
||||||
next hop self;
|
next hop self;
|
||||||
# aigp originate; # Enable AIGP for all (IBGP+EBGP) sessions
|
|
||||||
|
# TODO: Syntax error?
|
||||||
|
# aigp originate;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
{{ range Files "neighbors" }}
|
||||||
|
|
||||||
|
{{ . }}
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
protocol bgp denco_mane_lixo from lixonet_client {
|
protocol bgp denco_mane_lixo from lixonet_client {
|
||||||
neighbor 172.30.0.8 as 4206969008;
|
neighbor 172.30.0.8 as 4206969008;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user