Browse Source

Do NOT export local unreachable routes for TE purposes

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
Maximilian Wilhelm 7 years ago
parent
commit
9e444d86bf
2 changed files with 4 additions and 2 deletions
  1. 2 1
      bird/bird.conf
  2. 2 1
      bird/bird6.conf

+ 2 - 1
bird/bird.conf

@@ -47,7 +47,8 @@ protocol kernel {
 {% else %}
 	import none;
 {%- endif %}
-	export all;
+	# Do NOT export local unreachable routes for TE purposes
+	export where proto != "ffho_te";
 }
 
 

+ 2 - 1
bird/bird6.conf

@@ -49,7 +49,8 @@ protocol kernel {
 {% else %}
 	import none;
 {%- endif %}
-	export all;
+	# Do NOT export local unreachable routes for TE purposes
+	export where proto != "ffho_te";
 
 	# Force bird to export device routes learned above to freifunk table
 	# This is needed as the routing policy on all nodes will force all