Emitter: Use static IP addresses
Allows for IPv6, since DHCPv6 is not available at its location.
This commit is contained in:
parent
3f6ae04bcc
commit
2c32c0c1ab
|
@ -10,8 +10,60 @@
|
||||||
|
|
||||||
networking.hostName = "Emitter";
|
networking.hostName = "Emitter";
|
||||||
|
|
||||||
|
networking.tempAddresses = "disabled";
|
||||||
networking.useDHCP = false;
|
networking.useDHCP = false;
|
||||||
networking.interfaces.ens3.useDHCP = true;
|
networking = {
|
||||||
|
defaultGateway = {
|
||||||
|
address = "2.59.133.1";
|
||||||
|
interface = "ens3";
|
||||||
|
};
|
||||||
|
defaultGateway6 = {
|
||||||
|
address = "2a0d:5940:7::1";
|
||||||
|
interface = "ens3";
|
||||||
|
};
|
||||||
|
nameservers = [
|
||||||
|
"9.9.9.10"
|
||||||
|
"8.8.8.8"
|
||||||
|
"2606:4700:4700::1111"
|
||||||
|
"2001:4860:4860::8888"
|
||||||
|
];
|
||||||
|
interfaces.ens3 = {
|
||||||
|
ipv4 = {
|
||||||
|
addresses = [
|
||||||
|
{
|
||||||
|
address = "2.59.133.12";
|
||||||
|
prefixLength = 24;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
routes = [
|
||||||
|
{
|
||||||
|
address = "2.59.133.0";
|
||||||
|
prefixLength = 24;
|
||||||
|
via = "2.59.133.1";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
ipv6 = {
|
||||||
|
addresses = [
|
||||||
|
{
|
||||||
|
address = "2a0d:5940:7:16f:216:3cff:fe63:9a54";
|
||||||
|
prefixLength = 64;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
address = "fe80::216:3cff:fe63:9a54";
|
||||||
|
prefixLength = 64;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
routes = [
|
||||||
|
{
|
||||||
|
address = "2a0d:5940:7:16f:216:3cff:fe63:9a54";
|
||||||
|
prefixLength = 64;
|
||||||
|
via = "2a0d:5940:7::1";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
i18n.defaultLocale = "de_DE.UTF-8";
|
i18n.defaultLocale = "de_DE.UTF-8";
|
||||||
console.keyMap = "de";
|
console.keyMap = "de";
|
||||||
|
|
Loading…
Reference in a new issue