changing config for static ip
This commit is contained in:
parent
e595429a02
commit
d3113be693
|
@ -22,7 +22,7 @@ in
|
||||||
|
|
||||||
services.resolved = {
|
services.resolved = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dnssec = "false";
|
#dnssec = "false";
|
||||||
fallbackDns = [ "1.1.1.1" ];
|
fallbackDns = [ "1.1.1.1" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -38,9 +38,14 @@ in
|
||||||
# Interfaces on the machine
|
# Interfaces on the machine
|
||||||
networks."10-ether-bond" = {
|
networks."10-ether-bond" = {
|
||||||
matchConfig.Name = "enp65s0f0np0";
|
matchConfig.Name = "enp65s0f0np0";
|
||||||
|
|
||||||
|
address = [ "141.30.30.169/25" ];
|
||||||
|
routes = [
|
||||||
|
{
|
||||||
|
routeConfig.Gateway = "141.30.30.129";
|
||||||
|
}
|
||||||
|
];
|
||||||
networkConfig = {
|
networkConfig = {
|
||||||
Address = "141.30.30.169/25";
|
|
||||||
Gateway = "141.30.30.129";
|
|
||||||
DNS = "141.30.1.1";
|
DNS = "141.30.1.1";
|
||||||
#IPv6AcceptRA = true;
|
#IPv6AcceptRA = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue