lab-infra/machines/router02/networking.nix
sinavir 40fadb15e0
Some checks failed
Check meta / check_meta (push) Failing after 20s
lint / check (push) Successful in 23s
build configuration / build_krz01 (push) Successful in 1m27s
fix(router02): Use old router ip
2024-10-18 13:34:52 +02:00

18 lines
428 B
Nix

{
systemd.network = {
networks = {
"10-ens18" = {
name = "ens18";
networkConfig = {
Description = "ENS uplink";
Address = [ "129.199.146.230/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";
};
};
};
};
}