Skip to content

Instantly share code, notes, and snippets.

@gustavorv86
Last active May 17, 2021 15:05
Show Gist options
  • Save gustavorv86/97b746191ae155b6051d1d7af7681283 to your computer and use it in GitHub Desktop.
Save gustavorv86/97b746191ae155b6051d1d7af7681283 to your computer and use it in GitHub Desktop.
Mount bridge in Debian GNU/Linux to connect virtual machines
## /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