Skip to content

Commit

Permalink
examples: pass basic l2 configuration
Browse files Browse the repository at this point in the history
bisdn/bisdn-linux#101 has raised the attention to the need of
 having a set of scripts to setup the switch with a default behaviour that remains.

This PR adds a set of files to enable this behaviour.

Signed-off-by: Rubens Figueiredo <[email protected]>
  • Loading branch information
rubensfig committed May 6, 2024
1 parent 3655aa9 commit ae838ea
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[NetDev]
Name=swbridge
Kind=bridge

[Bridge]
DefaultPVID=1
VLANFiltering=1
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Match]
Name=swbridge

[BridgeVLAN]
PVID=1
EgressUntagged=1
VLAN=1
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[Match]
Name=port*

[Network]
Bridge=swbridge

0 comments on commit ae838ea

Please sign in to comment.