HAA1 Configuration
This commit is contained in:
18
etc/bird/bird.conf
Normal file
18
etc/bird/bird.conf
Normal file
@@ -0,0 +1,18 @@
|
||||
#
|
||||
# Lynqo Network NOC - noc [at] lynqo [dot] fr
|
||||
#
|
||||
|
||||
# Router local configuraiton
|
||||
include "/etc/bird/common/local.conf";
|
||||
|
||||
# Filters / Funcitons
|
||||
include "/etc/bird/common/filters.conf";
|
||||
|
||||
# Kernel protocol
|
||||
include "/etc/bird/common/kernel.conf";
|
||||
|
||||
# BGP Templates
|
||||
include "/etc/bird/common/templates.conf";
|
||||
|
||||
# BGP Peers (Transit, Peering, Internal)
|
||||
include "/etc/bird/peers/*";
|
||||
35
etc/bird/common/filters.conf
Normal file
35
etc/bird/common/filters.conf
Normal file
@@ -0,0 +1,35 @@
|
||||
#
|
||||
# Lynqo Network NOC - noc [at] lynqo [dot] fr
|
||||
#
|
||||
|
||||
filter as_out {
|
||||
# if ( net = 2a0c:b641:4c0::/44 ) then accept;
|
||||
# else
|
||||
if ( net = 2a0e:b107:fa0::/44 ) then accept;
|
||||
else
|
||||
if ( net = 2a0c:b641:4c1::/48 ) then accept;
|
||||
else
|
||||
if ( net = 2a0c:b641:4c2::/48 ) then accept;
|
||||
else
|
||||
if ( net = 2a0c:b641:4c3::/48 ) then accept;
|
||||
else
|
||||
reject;
|
||||
}
|
||||
|
||||
filter mar1_in {
|
||||
if ( net = 2a0c:b641:4c1::/48 ) then accept;
|
||||
else
|
||||
reject;
|
||||
}
|
||||
|
||||
filter mar2_in {
|
||||
if ( net = 2a0c:b641:4c2::/48 ) then accept;
|
||||
else
|
||||
reject;
|
||||
}
|
||||
|
||||
filter mar3_in {
|
||||
if ( net = 2a0c:b641:4c3::/48 ) then accept;
|
||||
else
|
||||
reject;
|
||||
}
|
||||
32
etc/bird/common/kernel.conf
Normal file
32
etc/bird/common/kernel.conf
Normal file
@@ -0,0 +1,32 @@
|
||||
#
|
||||
# Lynqo Network NOC - noc [at] lynqo [dot] fr
|
||||
#
|
||||
|
||||
protocol device {
|
||||
scan time 5;
|
||||
}
|
||||
|
||||
protocol direct {
|
||||
ipv6 {
|
||||
import filter as_out;
|
||||
};
|
||||
}
|
||||
|
||||
protocol kernel kernel_v4 {
|
||||
learn;
|
||||
scan time 60;
|
||||
ipv4 {
|
||||
import none;
|
||||
export none;
|
||||
};
|
||||
persist;
|
||||
}
|
||||
|
||||
protocol kernel kernel_v6 {
|
||||
learn;
|
||||
scan time 60;
|
||||
ipv6 {
|
||||
import filter as_out;
|
||||
export none;
|
||||
};
|
||||
}
|
||||
7
etc/bird/common/local.conf
Normal file
7
etc/bird/common/local.conf
Normal file
@@ -0,0 +1,7 @@
|
||||
#
|
||||
# Lynqo Network NOC - noc [at] lynqo [dot] fr
|
||||
#
|
||||
|
||||
log syslog all;
|
||||
|
||||
router id 5.101.92.197;
|
||||
32
etc/bird/common/templates.conf
Normal file
32
etc/bird/common/templates.conf
Normal file
@@ -0,0 +1,32 @@
|
||||
#
|
||||
# Lynqo Network NOC - noc [at] lynqo [dot] fr
|
||||
#
|
||||
|
||||
template bgp tpl_upstream {
|
||||
local as 212756;
|
||||
graceful restart on;
|
||||
multihop 255;
|
||||
}
|
||||
|
||||
template bgp tpl_routeservers {
|
||||
local as 212756;
|
||||
graceful restart on;
|
||||
multihop 255;
|
||||
}
|
||||
|
||||
template bgp tpl_customers {
|
||||
local as 212756;
|
||||
graceful restart on;
|
||||
multihop 255;
|
||||
ipv6 {
|
||||
next hop self;
|
||||
};
|
||||
}
|
||||
|
||||
template bgp tpl_internal {
|
||||
local as 212756;
|
||||
graceful restart on;
|
||||
ipv6 {
|
||||
next hop self;
|
||||
};
|
||||
}
|
||||
3
etc/bird/envvars
Normal file
3
etc/bird/envvars
Normal file
@@ -0,0 +1,3 @@
|
||||
BIRD_RUN_USER=bird
|
||||
BIRD_RUN_GROUP=bird
|
||||
#BIRD_ARGS=
|
||||
13
etc/bird/peers/llix_rs1_v6.conf
Normal file
13
etc/bird/peers/llix_rs1_v6.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
#
|
||||
# Lynqo Network NOC - noc [at] lynqo [dot] fr
|
||||
#
|
||||
|
||||
protocol bgp llix_rs1_v6 from tpl_routeservers {
|
||||
neighbor 2001:678:4fc::9 as 59947;
|
||||
source address 2001:678:4fc::92:197;
|
||||
description "LL-IX IPv6 RS1";
|
||||
ipv6 {
|
||||
export filter as_out;
|
||||
import all;
|
||||
};
|
||||
}
|
||||
13
etc/bird/peers/llix_rs2_v6.conf
Normal file
13
etc/bird/peers/llix_rs2_v6.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
#
|
||||
# Lynqo Network NOC - noc [at] lynqo [dot] fr
|
||||
#
|
||||
|
||||
protocol bgp llix_rs2_v6 from tpl_routeservers {
|
||||
neighbor 2001:678:4fc::2 as 59947;
|
||||
source address 2001:678:4fc::92:197;
|
||||
description "LL-IX IPv6 RS2";
|
||||
ipv6 {
|
||||
export filter as_out;
|
||||
import all;
|
||||
};
|
||||
}
|
||||
13
etc/bird/peers/lynqo_core_mar1_v6.conf
Normal file
13
etc/bird/peers/lynqo_core_mar1_v6.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
#
|
||||
# Lynqo Network NOC - noc [at] lynqo [dot] fr
|
||||
#
|
||||
|
||||
protocol bgp lynqo_core_mar1_v6 from tpl_internal {
|
||||
neighbor 2a0c:b641:4c0:8:3::1:2 as 212756;
|
||||
source address 2a0c:b641:4c0:8:3::1:1;
|
||||
description "Lynqo MAR1 Core IPv6";
|
||||
ipv6 {
|
||||
export all;
|
||||
import filter mar1_in;
|
||||
};
|
||||
}
|
||||
13
etc/bird/peers/lynqo_core_mar2_v6.conf
Normal file
13
etc/bird/peers/lynqo_core_mar2_v6.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
#
|
||||
# Lynqo Network NOC - noc [at] lynqo [dot] fr
|
||||
#
|
||||
|
||||
protocol bgp lynqo_core_mar2_v6 from tpl_internal {
|
||||
neighbor 2a0c:b641:4c0:8:3::2:2 as 212756;
|
||||
source address 2a0c:b641:4c0:8:3::2:1;
|
||||
description "Lynqo MAR2 Core IPv6";
|
||||
ipv6 {
|
||||
export all;
|
||||
import filter mar2_in;
|
||||
};
|
||||
}
|
||||
13
etc/bird/peers/lynqo_core_mar3_v6.conf
Normal file
13
etc/bird/peers/lynqo_core_mar3_v6.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
#
|
||||
# Lynqo Network NOC - noc [at] lynqo [dot] fr
|
||||
#
|
||||
|
||||
protocol bgp lynqo_core_mar3_v6 from tpl_internal {
|
||||
neighbor 2a0c:b641:4c0:8:3::3:2 as 212756;
|
||||
source address 2a0c:b641:4c0:8:3::3:1;
|
||||
description "Lynqo MAR3 Core IPv6";
|
||||
ipv6 {
|
||||
export all;
|
||||
import filter mar3_in;
|
||||
};
|
||||
}
|
||||
13
etc/bird/peers/lynqo_edge_gra1_v6.conf
Normal file
13
etc/bird/peers/lynqo_edge_gra1_v6.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
#
|
||||
# Lynqo Network NOC - noc [at] lynqo [dot] fr
|
||||
#
|
||||
|
||||
protocol bgp lynqo_edge_gra1_v6 from tpl_internal {
|
||||
neighbor 2a0c:b641:4c0:8:1::5:1 as 212756;
|
||||
source address 2a0c:b641:4c0:8:1::5:2;
|
||||
description "Lynqo GRA1 Edge IPv6";
|
||||
ipv6 {
|
||||
export all;
|
||||
import all;
|
||||
};
|
||||
}
|
||||
13
etc/bird/peers/lynqo_edge_par1_v6.conf
Normal file
13
etc/bird/peers/lynqo_edge_par1_v6.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
#
|
||||
# Lynqo Network NOC - noc [at] lynqo [dot] fr
|
||||
#
|
||||
|
||||
protocol bgp lynqo_edge_par1_v6 from tpl_internal {
|
||||
neighbor 2a0c:b641:4c0:8:3::5:2 as 212756;
|
||||
source address 2a0c:b641:4c0:8:3::5:1;
|
||||
description "Lynqo PAR1 Edge IPv6";
|
||||
ipv6 {
|
||||
export all;
|
||||
import all;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user