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 29, 2024
1 parent 6186280 commit 36b97c7
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 36b97c7

Please sign in to comment.