Browse Source

kern,ospf: Switch to the 10G interface

Sebastien Badia 8 years ago
parent
commit
5dee7f4f88
2 changed files with 9 additions and 7 deletions
  1. 8 6
      etc/local/bird/common/kernel.conf
  2. 1 1
      etc/local/bird/common/ospf.conf

+ 8 - 6
etc/local/bird/common/kernel.conf

@@ -4,7 +4,7 @@
 
 # All "connected" routes
 protocol direct {
-        interface "lagg0.*";
+        interface "lagg0.*", "ix0.*";
 }
 
 protocol device {
@@ -18,10 +18,12 @@ filter import_kernel {
                 bgp_community.add ((20766,9999));
 		accept;
         }
-	if is_within_carp() then {
-		reject;
-	}
-        accept;
+
+	reject;
+	#if is_within_carp() then {
+        #		reject;
+	#}
+        #accept;
 }
 
 filter export_kernel {
@@ -43,5 +45,5 @@ protocol kernel {
         import filter import_kernel;
         export filter export_kernel;
 	persist;
-	device routes;
+#	device routes;
 }

+ 1 - 1
etc/local/bird/common/ospf.conf

@@ -39,7 +39,7 @@ protocol ospf {
 
         area 0 {
 		stub no;
-                interface "lagg0.11" {
+                interface "ix0.11" {
                         cost 5;
                         hello 10; retransmit 5; wait 40; dead 40;
                 };