Skip to content

Instantly share code, notes, and snippets.

@jdutton
Created October 22, 2013 21:06
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 jdutton/7108166 to your computer and use it in GitHub Desktop.
Save jdutton/7108166 to your computer and use it in GitHub Desktop.
Ubuntu 12.04 network interface configuration for Hypervisor
# The loopback network interface
auto lo
iface lo inet loopback
dns-nameservers 192.168.81.17 134.111.201.54
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.81.61
netmask 255.255.255.0
gateway 192.168.81.1
auto eth1.17
iface eth1.17 inet static
address 10.200.10.61
netmask 255.255.255.0
vlan-raw-device eth1
auto eth1.18
iface eth1.18 inet static
address 10.10.1.61
netmask 255.255.255.0
vlan-raw-device eth1
auto eth1.19
iface eth1.19 inet static
address 10.200.11.61
netmask 255.255.255.0
vlan-raw-device eth1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment