switch to failover

This commit is contained in:
2026-01-28 20:53:38 +01:00
parent 7fdadb5a25
commit 1e52bf6b9d
2 changed files with 4 additions and 8 deletions
+1 -5
View File
@@ -27,16 +27,12 @@
boot.loader.efi.canTouchEfiVariables = true;
# --- KERNEL NETWORK CONFIGURATION ---
# CRITICAL FOR DOCKER + IPV6
# 1. Enable Forwarding (Required for Docker)
# 2. Force Accept RA = 2 (Required to get IPv6 address even if forwarding is on)
boot.kernel.sysctl = {
"net.ipv4.ip_forward" = 1;
"net.ipv6.conf.all.forwarding" = 1;
"net.ipv6.conf.all.accept_ra" = 2;
"net.ipv6.conf.default.accept_ra" = 2;
"net.ipv6.conf.${lib.head config.vars.interfaces}.accept_ra" = 2;
};
};
boot.kernelModules = [ "rbd" "nbd" ];
+3 -3
View File
@@ -6,10 +6,10 @@
networking.bonds.bond0 = {
interfaces = map (i: i.name) config.vars.interfaces;
driverOptions = {
mode = "802.3ad";
mode = "active-backup";
miimon = "100";
lacp_rate = "fast";
xmit_hash_policy = "layer2+3";
# lacp_rate = "fast";
# xmit_hash_policy = "layer2+3";
};
};