Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ifenslave [2016/04/27 14:32] steve |
ifenslave [2016/04/27 14:38] (current) steve |
||
---|---|---|---|
Line 9: | Line 9: | ||
* [[https://www.kernel.org/doc/Documentation/networking/bonding.txt|Linux Ethernet Bonding Driver HOWTO]] - kernel.org | * [[https://www.kernel.org/doc/Documentation/networking/bonding.txt|Linux Ethernet Bonding Driver HOWTO]] - kernel.org | ||
+ | * [[https://wiki.debian.org/Bonding|Debian wiki entry]] | ||
The ''ifenslave'' program is used to set up bonding for network devices. This must be used in conjunction with support for bonding in the Linux kernel. | The ''ifenslave'' program is used to set up bonding for network devices. This must be used in conjunction with support for bonding in the Linux kernel. | ||
- | |||
- | If built as a module, load it: | ||
- | |||
- | <code> | ||
- | modprobe bonding | ||
- | </code> | ||
- | |||
- | In Ubuntu, set the module to be loaded on boot. Add ''bonding'' to ''/etc/modules''. | ||
Program syntax is ''ifenslave [options] master slave [slave..]''. | Program syntax is ''ifenslave [options] master slave [slave..]''. | ||
Line 37: | Line 30: | ||
The new device name is ''bond0'', and can be set as normal using ''ifconfig'', ''ip'', ''ifup'', etc. | The new device name is ''bond0'', and can be set as normal using ''ifconfig'', ''ip'', ''ifup'', etc. | ||
+ | |||
+ | Check the bonding interface: | ||
+ | |||
+ | <code> | ||
+ | cat /proc/net/bonding/bond0 | ||
+ | </code> |