Skip to content

Instantly share code, notes, and snippets.

@patrickdk77
Created July 21, 2015 14:41
Show Gist options
  • Save patrickdk77/ed0dc77d64e250b56c54 to your computer and use it in GitHub Desktop.
Save patrickdk77/ed0dc77d64e250b56c54 to your computer and use it in GitHub Desktop.
auto eth0
iface eth0 inet manual
up ethtool -G eth0 rx 1024 rx-jumbo 2048
post-up ifconfig $IFACE down
mtu 9000
auto eth1
iface eth1 inet manual
up ethtool -G eth1 rx 1024 rx-jumbo 2048
post-up ifconfig $IFACE down
mtu 9000
auto team0
iface team0 inet manual
mtu 9000
pre-up /usr/bin/teamd -d -f /etc/team0.conf
post-down /usr/bin/teamd -k -f /etc/team0.conf
post-up ifconfig $IFACE up
pre-down ifconfig $IFACE down
auto team0.5
iface team0.5 inet static
address 10.x.x.x
netmask 255.255.255.0
gateway 10.x.x.254
vlan_raw_device team0
mtu 1500
auto team0.12
iface team0.12 inet static
address 10.y.y.y
netmask 255.255.255.0
vlan_raw_device team0
mtu 9000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment