commit b6fbfbc93fb3a6e3e2b27bfbab908d00b0a0ef72
parent 3731fec2f0c6aa34ca2f80cbcce6299fe07da51a
Author: MTRNord <mtrnord1@gmail.com>
Date: Wed, 4 Oct 2023 16:30:50 +0200
Meow
Diffstat:
2 files changed, 7 insertions(+), 19 deletions(-)
diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix
@@ -444,8 +444,6 @@
config = ''
router id 10.100.0.1;
debug protocols all;
- ipv4 table backbone;
- ipv6 table backbone6;
function is_valid_network() {
return net ~ [
@@ -460,16 +458,16 @@
];
}
- protocol device { }
+ protocol device {
+ scan time 10;
+ }
protocol direct {
ipv4 {
- table backbone;
import filter { if is_valid_network() then accept; else reject; };
export filter { if is_valid_network() then accept; else reject; };
};
ipv6 {
- table backbone6;
import filter { if is_valid_network_v6() then accept; else reject; };
export filter { if is_valid_network_v6() then accept; else reject; };
};
@@ -480,7 +478,6 @@
scan time 20;
ipv6 {
- table backbone6;
import filter { if is_valid_network_v6() then accept; else reject; };
export filter { if is_valid_network_v6() then accept; else reject; };
};
@@ -490,7 +487,6 @@
scan time 20;
ipv4 {
- table backbone;
import filter { if is_valid_network() then accept; else reject; };
export filter { if is_valid_network() then accept; else reject; };
};
@@ -498,7 +494,6 @@
protocol ospf v2 v4 {
ipv4 {
- table backbone;
import all;
export all;
};
@@ -510,7 +505,6 @@
protocol ospf v3 v6 {
ipv6 {
- table backbone6;
import all;
export all;
};
diff --git a/nixos/worker-2/configuration.nix b/nixos/worker-2/configuration.nix
@@ -338,8 +338,6 @@
config = ''
router id 10.100.0.3;
debug protocols all;
- ipv4 table backbone;
- ipv6 table backbone6;
function is_valid_network() {
return net ~ [
@@ -354,16 +352,16 @@
];
}
- protocol device { }
-
+ protocol device {
+ scan time 10;
+ }
+
protocol direct {
ipv4 {
- table backbone;
import filter { if is_valid_network() then accept; else reject; };
export filter { if is_valid_network() then accept; else reject; };
};
ipv6 {
- table backbone6;
import filter { if is_valid_network_v6() then accept; else reject; };
export filter { if is_valid_network_v6() then accept; else reject; };
};
@@ -374,7 +372,6 @@
scan time 20;
ipv6 {
- table backbone6;
import filter { if is_valid_network_v6() then accept; else reject; };
export filter { if is_valid_network_v6() then accept; else reject; };
};
@@ -384,7 +381,6 @@
scan time 20;
ipv4 {
- table backbone;
import filter { if is_valid_network() then accept; else reject; };
export filter { if is_valid_network() then accept; else reject; };
};
@@ -392,7 +388,6 @@
protocol ospf v2 v4 {
ipv4 {
- table backbone;
import all;
export all;
};
@@ -404,7 +399,6 @@
protocol ospf v3 v6 {
ipv6 {
- table backbone6;
import all;
export all;
};