nuc: configure static IP

This commit is contained in:
Rouven Seifert 2024-04-19 11:33:54 +02:00
parent 738e94e366
commit 44240a38d7
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -29,8 +29,12 @@
}; };
networks."10-wired" = { networks."10-wired" = {
matchConfig.Name = "eno1"; matchConfig.Name = "eno1";
address = [ "192.168.42.2/24" ];
routes = [{
routeConfig.Gateway = "192.168.42.1";
}];
networkConfig = { networkConfig = {
DHCP = "yes"; DNS = "192.168.42.1";
LLDP = true; LLDP = true;
EmitLLDP = "nearest-bridge"; EmitLLDP = "nearest-bridge";
DNSSEC = false; DNSSEC = false;