Skip to content

Instantly share code, notes, and snippets.

@jdutton
Created October 22, 2013 21:06

Revisions

  1. jdutton created this gist Oct 22, 2013.
    30 changes: 30 additions & 0 deletions os-hypervisor-network-interfaces
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,30 @@
    # 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