Created
July 21, 2019 07:49
-
-
Save rogerlin0330/08f5140c857d6e0b0f697041f58697ae to your computer and use it in GitHub Desktop.
Network bridges sample settings based on systemd-networkd (https://wiki.archlinux.org/index.php/Systemd-networkd#Bridge_interface). All these configuration files should be placed in the /etc/systemd/network directory
This file contains hidden or 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
| [Match] | |
| Name=eno1 | |
| [Network] | |
| Bridge=br0 |
This file contains hidden or 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
| [NetDev] | |
| Name=br0 | |
| Kind=bridge | |
| [Bridge] | |
| STP=yes |
This file contains hidden or 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
| [Match] | |
| Name=br0 | |
| [Network] | |
| Address=192.168.1.80/24 | |
| DNS=127.0.0.1 | |
| Gateway=192.168.1.1 |
This file contains hidden or 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
| [Match] | |
| Name=eno1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment