Skip to content

Instantly share code, notes, and snippets.

@mrlesmithjr
Created October 15, 2015 16:15
Show Gist options
  • Save mrlesmithjr/7c5cb410815ec23aae5a to your computer and use it in GitHub Desktop.
Save mrlesmithjr/7c5cb410815ec23aae5a 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
bond_master bond0
auto eth1
iface eth1 inet manual
bond_master bond0
auto bond0
iface bond0 inet manual
bond_slaves eth0 eth1
bond_miimon 100
auto vlan106
iface vlan106 inet static
address 10.0.106.51
netmask 255.255.255.0
gateway 10.0.106.1
up route add default gw 10.0.106.1
dns-nameservers 192.168.70.240 192.168.70.241
dns-search everythingshouldbevirtual.local
vlan_raw_device bond0
auto eth3
iface eth3 inet manual
bond_master bond1
auto eth4
iface eth4 inet manual
bond_master bond1
auto bond1
iface bond1 inet manual
bond_slaves eth3 eth4
bond_mode balance-alb
bond_miimon 100
auto vlan127
iface vlan127 inet static
address 10.0.127.151
netmask 255.255.255.0
vlan_raw_device bond1
auto eth2
iface eth2 inet manual
bond_master bond2
auto eth5
iface eth5 inet manual
bond_master bond2
auto bond2
iface bond2 inet manual
bond_slaves eth2 eth5
bond_primary eth2
bond_miimon 100
auto vlan101
iface vlan101 inet manual
vlan_raw_device bond2
auto vmbr101
iface vmbr101 inet manual
bridge_ports vlan101
bridge_stp off
bridge_fd 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment