totoro: set default gateway. oops.
This commit is contained in:
parent
e9a2ac4980
commit
a5fb805dfa
1 changed files with 4 additions and 0 deletions
|
@ -97,6 +97,10 @@ in {
|
||||||
{ address = "192.168.1.40"; prefixLength = 24; }
|
{ address = "192.168.1.40"; prefixLength = 24; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
defaultGateway = {
|
||||||
|
address = "192.168.1.1";
|
||||||
|
interface = "br-ext";
|
||||||
|
};
|
||||||
|
|
||||||
interfaces.br-int = {
|
interfaces.br-int = {
|
||||||
ipv4.addresses = [{ address = "10.0.0.2"; prefixLength = 24; }];
|
ipv4.addresses = [{ address = "10.0.0.2"; prefixLength = 24; }];
|
||||||
|
|
Loading…
Reference in a new issue