Skip to content

Instantly share code, notes, and snippets.

@kzk
Created September 15, 2011 00:25
Show Gist options
  • Save kzk/1218205 to your computer and use it in GitHub Desktop.
Save kzk/1218205 to your computer and use it in GitHub Desktop.
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet manual
# KVM bridge
auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_stp off
bridge_fd 0
bridge_maxwait 0
auto br0:0
iface br0:0 inet static
address 192.168.1.20
network 192.168.1.0
netmask 255.255.255.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment