-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples: pass basic l2 configuration
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. Rename the older systemd-networkd files to have an explicit infix "l2-learn". Signed-off-by: Rubens Figueiredo <[email protected]>
- Loading branch information
Showing
5 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
examples/networkd/switchbr.netdev → examples/networkd/20-bridge.l2-learn.netdev
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[NetDev] | ||
Name=switchbr | ||
Name=swbridge | ||
Kind=bridge | ||
|
||
[Bridge] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[Match] | ||
Name=swbridge | ||
|
||
[BridgeVLAN] | ||
PVID=1 | ||
EgressUntagged=1 | ||
VLAN=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[Match] | ||
Name=port* | ||
|
||
[Network] | ||
Bridge=swbridge |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.