changing config for static ip

This commit is contained in:
revol-xut 2023-02-15 13:34:14 +01:00
parent e595429a02
commit d3113be693
No known key found for this signature in database
GPG key ID: 4F56FF7759627D07

View file

@ -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;
}; };