diff options
-rw-r--r-- | config/router.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/config/router.nix b/config/router.nix index d8b005a..818fd0e 100644 --- a/config/router.nix +++ b/config/router.nix @@ -25,7 +25,7 @@ in { inherit id; interface = lan-dev; }; - }) [ 10 30 100 255 ]); + }) [ 10 30 32 100 255 ]); networking.bonds.bond0 = { interfaces = [ "eno1" "eno2" ]; @@ -222,6 +222,7 @@ in { dhcp-authoritative dhcp-range=10.65.30.100,10.65.30.254,255.255.255.0,24h dhcp-range=10.64.31.1,10.64.31.254,255.255.254.0,24h + dhcp-range=10.64.33.1,10.64.33.254,255.255.254.0,24h dhcp-option=option:router,10.65.30.1 dhcp-option=option:dns-server,1.1.1.1,8.8.8.8,8.8.4.4 dhcp-option=option:netmask,255.255.255.0 @@ -314,4 +315,11 @@ in { }]; useDHCP = false; }; + networking.interfaces."${lan-dev}.32" = { + ipv4.addresses = [{ + address = "10.64.32.1"; + prefixLength = 23; + }]; + useDHCP = false; + }; } |