switch to failover
This commit is contained in:
+1
-5
@@ -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
@@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user