swann: swap to 192.168.2.x for the EE interface

This commit is contained in:
Luke Granger-Brown 2024-10-13 20:04:00 +01:00
parent 874f4147d9
commit bd83a33608

View file

@ -71,7 +71,7 @@ in {
en-ee = { en-ee = {
useDHCP = true; useDHCP = true;
ipv4.addresses = [ ipv4.addresses = [
{ address = "10.42.0.2"; prefixLength = 24; } { address = "192.168.2.2"; prefixLength = 24; }
]; ];
# Additional options configured in networkd. # Additional options configured in networkd.
}; };
@ -266,18 +266,18 @@ in {
Table = routeTables.ee; Table = routeTables.ee;
Priority = 10031; Priority = 10031;
} { } {
# as does anything from 10.42.0.0/24. # as does anything from 192.168.2.0/24.
From = "10.42.0.0/24"; From = "192.168.2.0/24";
Table = routeTables.ee; Table = routeTables.ee;
Priority = 10031; Priority = 10031;
}]) // { }]) // {
linkConfig.RequiredForOnline = "no"; linkConfig.RequiredForOnline = "no";
routes = [{ routes = [{
Gateway = "10.42.0.1"; Gateway = "192.168.2.1";
Destination = "0.0.0.0/0"; Destination = "0.0.0.0/0";
Table = routeTables.ee; Table = routeTables.ee;
} { } {
Destination = "10.42.0.0/24"; Destination = "192.168.2.0/24";
Table = routeTables.ee; Table = routeTables.ee;
}]; }];
}; };