fix bmc dhcp

This commit is contained in:
Yureka 2024-07-10 15:45:16 +02:00
parent 3cbdbc45f7
commit 4e869a9f43

View file

@ -86,6 +86,11 @@
}) (lib.genList lib.id 12));
};
networking.nftables.enable = true;
networking.firewall.extraInputRules = ''
iifname { "bmc*" } meta nfproto ipv4 udp dport 67 accept comment "DHCP server"
'';
networking.vlans = lib.listToAttrs (map (x: lib.nameValuePair "bmc${toString x}" {
interface = "oob";
id = 101 + x;