lab-infra/machines/router02/networking.nix

19 lines
428 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";
2024-10-18 13:34:52 +02:00
Address = [ "129.199.146.230/24" ];
2024-10-18 11:05:12 +02:00
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";
};
};
};
};
}