totoro: add gateway
This commit is contained in:
parent
a5fb805dfa
commit
5f19f9d783
1 changed files with 3 additions and 4 deletions
|
@ -97,10 +97,6 @@ in {
|
|||
{ address = "192.168.1.40"; prefixLength = 24; }
|
||||
];
|
||||
};
|
||||
defaultGateway = {
|
||||
address = "192.168.1.1";
|
||||
interface = "br-ext";
|
||||
};
|
||||
|
||||
interfaces.br-int = {
|
||||
ipv4.addresses = [{ address = "10.0.0.2"; prefixLength = 24; }];
|
||||
|
@ -144,6 +140,9 @@ in {
|
|||
networks."40-br-int" = {
|
||||
linkConfig.RequiredForOnline = "no";
|
||||
};
|
||||
networks."40-br-ext" = {
|
||||
gateway = [ "192.168.1.1" ];
|
||||
};
|
||||
};
|
||||
my.ip.tailscale = "100.122.86.11";
|
||||
|
||||
|
|
Loading…
Reference in a new issue