Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
bonding [2016/04/27 14:27] steve |
bonding [2016/04/27 14:37] steve |
||
---|---|---|---|
Line 3: | Line 3: | ||
* [[Networking]] | * [[Networking]] | ||
* [[Gentoo Networking]] | * [[Gentoo Networking]] | ||
- | * [[Ubuntu Networking]] - contains example about bonding | + | * [[Ubuntu Networking]] |
+ | * [[ifconfig]] | ||
* [[ifenslave]] | * [[ifenslave]] | ||
- | + | * [[https://www.kernel.org/doc/Documentation/networking/bonding.txt|Linux Ethernet Bonding Driver HOWTO]] | |
- | * [[http://www.sheepguardingllama.com/2008/01/linux-bonding-modes/|Linux Bonding Modes]] | + | |
- | * [[https://help.ubuntu.com/community/UbuntuBonding|Ubuntu Network Bonding]] | + | |
Make sure that ''ifenslave'' is installed, and that bonding support is enabled in your kernel first. | Make sure that ''ifenslave'' is installed, and that bonding support is enabled in your kernel first. | ||
- | Check the bonding interface: | ||
- | |||
- | <code> | ||
- | cat /proc/net/bonding/bond0 | ||
- | </code> | ||
- | |||
- | === Gentoo === | ||
- | |||
- | A basic bonding configuration in Gentoo, where the IP address is set manually. | ||
- | |||
- | The bonding interface uses the mac address of the first slave ethernet device listed. | ||
- | |||
- | Edit ''/etc/conf.d/net'' | ||
- | |||
- | <code> | ||
- | # Don't initialize any of the interfaces by default | ||
- | config_eth0="null" | ||
- | config_eth1="null" | ||
- | config_eth2="null" | ||
- | config_eth3="null" | ||
- | slaves_bond0="eth0 eth1 eth2 eth3" | ||
- | mode_bond0="1" | ||
- | miimon_bond0="100" | ||
- | config_bond0="192.168.1.2" | ||
- | routes_bond0="default via 192.168.1.1" | ||
- | </code> |