Created
April 3, 2015 17:57
-
-
Save cdesch/bc050cd1324df40f469e to your computer and use it in GitHub Desktop.
Ubuntu Network Interace Teaming
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ethtool | |
ifup | |
ifdown | |
ifconfig -a | |
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
# The primary network interface | |
auto eth0 | |
iface eth0 inet manual | |
bond-master bond0 | |
bond-primary eth0 | |
#Secondard network interface | |
auto eth1 | |
iface eth1 inet manual | |
bond-master bond0 | |
auto bond0 | |
iface bond0 inet dhcp | |
bond-mode 6 #bond mode | |
bond-miimon 100 #frequency (in milliseconds) the bond monitors the link for failures in milliseconds | |
bond-lacp-rate 1 #the rate in which we will ask the partner interface to transmit packets. 1 for every second, 0 for every 30 seconds | |
bond-slaves eth0 eth1 | |
sudo ifdown bond0 && sudo ifdown eth0 && sudo ifdown eth1 | |
sudo ifup eth0 && sudo ifup eth1 && ifup bond0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment