From bd83a336088e3bd43b84583c6ae4ac3aa911be18 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 13 Oct 2024 20:04:00 +0100 Subject: [PATCH] swann: swap to 192.168.2.x for the EE interface --- ops/nixos/swann/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ops/nixos/swann/default.nix b/ops/nixos/swann/default.nix index 3d6238966c..aa98e50df1 100644 --- a/ops/nixos/swann/default.nix +++ b/ops/nixos/swann/default.nix @@ -71,7 +71,7 @@ in { en-ee = { useDHCP = true; ipv4.addresses = [ - { address = "10.42.0.2"; prefixLength = 24; } + { address = "192.168.2.2"; prefixLength = 24; } ]; # Additional options configured in networkd. }; @@ -266,18 +266,18 @@ in { Table = routeTables.ee; Priority = 10031; } { - # as does anything from 10.42.0.0/24. - From = "10.42.0.0/24"; + # as does anything from 192.168.2.0/24. + From = "192.168.2.0/24"; Table = routeTables.ee; Priority = 10031; }]) // { linkConfig.RequiredForOnline = "no"; routes = [{ - Gateway = "10.42.0.1"; + Gateway = "192.168.2.1"; Destination = "0.0.0.0/0"; Table = routeTables.ee; } { - Destination = "10.42.0.0/24"; + Destination = "192.168.2.0/24"; Table = routeTables.ee; }]; };