Update bird/bird.conf.tmpl
This commit is contained in:
parent
1d89a873ec
commit
e09043f43f
@ -14,9 +14,13 @@ log stderr all; # Using docker; defer logging to stderr (to Docker logs)
|
|||||||
debug protocols all; # Enable debugging (this should be switched off in prod)
|
debug protocols all; # Enable debugging (this should be switched off in prod)
|
||||||
router id ${address};
|
router id ${address};
|
||||||
|
|
||||||
|
# Custom routing tables
|
||||||
|
# See: https://bird.network.cz/?get_doc&v=20&f=bird-2.html (recommend; BIRD is neat)
|
||||||
|
ipv4 table lixonet;
|
||||||
|
|
||||||
# Static routes
|
# Static routes
|
||||||
# Define propagated routes here from the lixonet.conf "routes" variable
|
# Define propagated routes here from the lixonet.conf "routes" variable
|
||||||
ipv4 table lixonet;
|
# Attached to the above "lixonet" routing table; "provide" these routes into it
|
||||||
protocol static {
|
protocol static {
|
||||||
ipv4 { table lixonet; };
|
ipv4 { table lixonet; };
|
||||||
{{ if len "${routes:-}" }}{{ range "$routes" | split "," }}route {{.}} unreachable;{{ end }}{{ end }}
|
{{ if len "${routes:-}" }}{{ range "$routes" | split "," }}route {{.}} unreachable;{{ end }}{{ end }}
|
||||||
@ -113,7 +117,7 @@ template bgp lixonet_client {
|
|||||||
|
|
||||||
# aigp (see: http://www.rfc-editor.org/info/rfc7311)
|
# aigp (see: http://www.rfc-editor.org/info/rfc7311)
|
||||||
# Lixonet default: originate AIGP
|
# Lixonet default: originate AIGP
|
||||||
# This ot only allows AIGP attribute propagation, but also new AIGP attributes are
|
# This not only allows AIGP attribute propagation, but also new AIGP attributes are
|
||||||
# automatically attached to non-BGP routes with valid IGP metric (e.g. ospf_metric1)
|
# automatically attached to non-BGP routes with valid IGP metric (e.g. ospf_metric1)
|
||||||
# as they are exported to the BGP session.
|
# as they are exported to the BGP session.
|
||||||
# Thank-you, BIRD <3 - mane and nurd
|
# Thank-you, BIRD <3 - mane and nurd
|
||||||
@ -124,8 +128,6 @@ template bgp lixonet_client {
|
|||||||
# See: https://gitlab.labs.nic.cz/labs/bird/commit/3831b619661d08d935fd78656732cd2f339ff811
|
# See: https://gitlab.labs.nic.cz/labs/bird/commit/3831b619661d08d935fd78656732cd2f339ff811
|
||||||
export filter lixonet_export;
|
export filter lixonet_export;
|
||||||
import filter lixonet_import;
|
import filter lixonet_import;
|
||||||
|
|
||||||
export table lixonet;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user