Skip to content

Instantly share code, notes, and snippets.

@voronenko-p
Created January 29, 2019 20:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save voronenko-p/f23e2a38ea478cfaa24c5054be636337 to your computer and use it in GitHub Desktop.
Save voronenko-p/f23e2a38ea478cfaa24c5054be636337 to your computer and use it in GitHub Desktop.
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
# The primary network interface - supress ip
auto eth0
iface eth0 inet manual
auto br0
iface br0 inet static
address 192.168.2.222
netmask 255.255.255.0
broadcast 192.168.2.0
gateway 192.168.2.1
dns-nameservers 8.8.8.8
bridge_ports eth0
bridge_stp off
bridge_fd 0
bridge_maxwait 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment