[WIP] router0-dmz0: play with VLANs
This commit is contained in:
parent
55e6cdafda
commit
658f9449fc
2 changed files with 24 additions and 16 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue