swann: swap to 192.168.2.x for the EE interface
This commit is contained in:
parent
874f4147d9
commit
bd83a33608
1 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
}];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue