1
0
Fork 0
forked from DGNum/lab-infra
lab-infra/machines/router02/networking.nix

19 lines
427 B
Nix
Raw Normal View History

2024-10-18 11:05:12 +02:00
{
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";
};
};
};
};
}