1
0
Fork 0
forked from DGNum/lab-infra
lab-infra/machines/router02/networking.nix
2024-10-18 12:16:16 +02:00

18 lines
427 B
Nix

{
systemd.network = {
networks = {
"10-ens18" = {
name = "ens18";
networkConfig = {
Description = "ENS uplink";
Address = [ "129.199.146.34/24" ];
Gateway = "129.199.146.254";
LLDP = true;
# Only to the switch we are connected to directly, e.g. the hypervisor or the switch.
EmitLLDP = "nearest-bridge";
};
};
};
};
}