forked from the-distro/infra
fix bmc dhcp
This commit is contained in:
parent
3cbdbc45f7
commit
4e869a9f43
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue