Browse Source

Update configs

Sebastien Badia 6 years ago
parent
commit
2ea57517fa

+ 8 - 1
etc/local/bird/bird/bgp.conf

@@ -265,7 +265,7 @@ protocol bgp equinix_rs2 from tpl_equinix_rs {
 protocol bgp equinix_6939 from tpl_equinix_peers {
 	neighbor 195.42.144.104 as 6939;
 	description "EquinIX / AS-HURRICANE";
-	import limit 500000;
+	import limit 165000;
 }
 protocol bgp equinix_24990_1 from tpl_equinix_peers {
 	neighbor 195.42.144.2 as 24990;
@@ -312,3 +312,10 @@ protocol bgp equinix_200780 from tpl_equinix_peers {
 	description "EquinIX / APPLIWAVE";
 	import limit 25;
 }
+protocol bgp equinix_15169 from tpl_equinix_peers {
+	neighbor 195.42.145.65 as 15169;
+	description "EquinIX / GOOGLE";
+	import limit 15000;
+	password "REDACTED";
+	disabled;
+}

+ 4 - 1
etc/local/bird/bird/filters.conf

@@ -16,7 +16,8 @@ prefix set as_prefixes;
         51083:  as_prefixes = [
                         80.67.185.0/24+,        # Hadoly
                         80.67.183.0/24+,        # PA Rezine wifi 1
-                        80.67.180.0/24+         # PA Ilico
+                        80.67.180.0/24+,        # PA Ilico
+                        80.67.189.0/24+         # PA Rezine cambuse
         ];
         # Lorraine Data Network
         60197: as_prefixes = [
@@ -43,6 +44,8 @@ prefix set as_prefixes;
                         80.67.165.64/26+,
                         80.67.168.112/29+,
                         80.67.168.120/29+,
+                        80.67.168.128/29+,
+                        80.67.168.136/29+,
                         80.67.168.152/29+,
                         80.67.168.160/29+,
                         80.67.168.168/29+,

+ 8 - 1
etc/local/bird/bird6/bgp.conf

@@ -256,7 +256,7 @@ protocol bgp equinix_rs2 from tpl_equinix_rs {
 protocol bgp equinix_6939 from tpl_equinix_peers {
 	neighbor 2001:7f8:43::6939:1 as 6939;
 	description "EquinIX / AS-HURRICANE";
-	import limit 26000;
+	import limit 32000;
 }
 protocol bgp equinix_21371_1 from tpl_equinix_peers {
 	neighbor 2001:07f8:43::2:1371:1 as 21371;
@@ -303,3 +303,10 @@ protocol bgp equinix_200780 from tpl_equinix_peers {
 	description "EquinIX / APPLIWAVE";
 	import limit 25;
 }
+protocol bgp equinix_15169 from tpl_equinix_peers {
+	neighbor 2001:7f8:43::1:5169:1 as 15169;
+	description "EquinIX / GOOGLE";
+	import limit 1000;
+	password "REDACTED";
+	disabled;
+}

+ 2 - 1
etc/local/bird/bird6/filters.conf

@@ -17,7 +17,8 @@ prefix set as_prefixes;
                         2001:912::/36+,         # Grenode
                         2001:912:1000::/36+,    # Rezine
                         2001:912:2000::/36+,    # Ilico
-                        2001:912:3000::/36+     # Hadoly
+                        2001:912:3000::/36+,    # Hadoly
+                        2001:912:4000::/36+     # Rezine Cambuse
         ];
         # Lorraine Data Network
         60197: as_prefixes = [

+ 5 - 0
etc/local/bird/bird6/static.conf

@@ -20,6 +20,11 @@ protocol static static_noexport_routes {
         route ::0/0 reject;
 }
 
+# Globenet's routes announce
+protocol static static_globenet_routes {
+        route 2001:0910:1400::/40 via 2001:910:0:117::229;
+}
+
 ## Blackhole routes announce.
 ## Likely unnecessary because blackholes routes are learnt directly from
 ## the kernel, ibgp and members

+ 3 - 0
etc/local/bird/common/bgp-filters.conf

@@ -31,6 +31,9 @@ function bgp_import( int AS; string import_type; int community; int import_med)
     # weird routes are not accepted
     if is_default() || is_martians() || is_rfc1918() then return false;
 
+    # Filter too long AS Paths : http://bgpfilterguide.nlnog.net/
+    if ( bgp_path.len > 100 ) then return false;
+
     # gitoyen's routes are not accepted
     if is_gitoyen() then return false;