[WIP] router0-dmz0: play with VLANs

This commit is contained in:
steveej 2023-11-23 11:28:01 +01:00
parent 55e6cdafda
commit 658f9449fc
2 changed files with 24 additions and 16 deletions

View file

@ -146,11 +146,19 @@ in {
systemd.network = {
wait-online.anyInterface = true;
netdevs = {
# Create the bridge interface
# Create the VLANs
"00-vlan-100" = {
Name = "vlan100";
Kind = "vlan";
};
# Create the bridge interfaces
"20-br-lan" = {
netdevConfig = {
Kind = "bridge";
Name = "br-lan";
VLANFiltering = true;
DefaultPVID = 10;
};
};
};