Last active
May 17, 2021 15:05
-
-
Save gustavorv86/97b746191ae155b6051d1d7af7681283 to your computer and use it in GitHub Desktop.
Mount bridge in Debian GNU/Linux to connect virtual machines
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
## /etc/network/interfaces.d/br0.conf | |
## Requirements: bridge-utils | |
## More info: https://wiki.debian.org/KVM | |
auto br0 | |
iface br0 inet static | |
address 192.168.1.2 | |
netmask 255.255.255.0 | |
gateway 192.168.1.1 | |
network 192.168.1.0 | |
broadcast 192.168.1.255 | |
bridge_ports eth0 | |
bridge_stp off | |
bridge_fd 0 | |
bridge_maxwait 0 | |
dns-nameservers 8.8.8.8 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment