Add static IPv4 to storage.hq
This commit is contained in:
rodič
30b5584555
revize
6ac2a2c6d4
|
@ -55,6 +55,20 @@ name:
|
|||
};
|
||||
};
|
||||
|
||||
networking.interfaces.eth0 = {
|
||||
ipv4 = {
|
||||
addresses = [{
|
||||
address = "172.22.99.20";
|
||||
prefixLength = 24;
|
||||
}];
|
||||
routes = [{
|
||||
address = "0.0.0.0";
|
||||
prefixLength = 0;
|
||||
via = "172.22.99.1";
|
||||
}];
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.enable = false;
|
||||
};
|
||||
|
||||
|
|
Načítá se…
Odkázat v novém úkolu