diff --git a/ops/nixos/swann/default.nix b/ops/nixos/swann/default.nix index fd9b9ebd78..b916bd1e97 100644 --- a/ops/nixos/swann/default.nix +++ b/ops/nixos/swann/default.nix @@ -73,7 +73,7 @@ in { en-ee = { useDHCP = true; ipv4.addresses = [ - { address = "192.168.200.2"; prefixLength = 24; } + { address = "10.42.0.2"; prefixLength = 24; } ]; # Additional options configured in networkd. }; @@ -269,13 +269,14 @@ in { }; } { routingPolicyRuleConfig = { - # as does anything from 192.168.200.0/24. - From = "192.168.200.0/24"; + # as does anything from 10.42.0.0/24. + From = "10.42.0.0/24"; Table = routeTables.ee; Priority = 10031; }; }]) // { linkConfig.RequiredForOnline = "no"; + networkConfig.Gateway = "10.42.0.1"; }; networks."40-en-gnet" = (physicalNetwork routeTables.gnet "0xcafe" [{ # Catch-all mop-up rule at the end.