Provided by: ifenslave-2.4_0.07+2.5.15-7_i386
ifenslave - Attach and detach slave network devices to a bonding device.
ifenslave [-acdfhrvVX?] [--all-interfaces] [--change-active] [--detach]
[--dont-inherit] [--force] [--help] [--howto] [--receive-slave]
[--verbose] [--version] master [slave [metric N]] ...
ifenslave is a tool to attach and detach slave network devices to a
bonding device. A bonding device will act like a normal Ethernet network
device to the kernel, but will send out the packets via the slave devices
using a simple round-robin scheduler. This allows for simple load-
balancing, identical to "channel bonding" or "trunking" techniques used
The kernel must have support for bonding devices for ifenslave to be
Show all interfaces.
Changes active slave.
Instead of adding removes slave interfaces from the bonding
When enslaving, don’t let the slave inherit addresses and other
settings from the master interface. Also, when detaching, don’t
put the slave interface down.
Force actions to be taken if one of the specified interfaces
appears not to belong to an Ethernet device.
Display usage information and exit.
Display a short howto.
Configure an interface according to the master interface, but
don’t enslave it.
Print warning and debug messages.
Show version information and exit.
The following example shows how to setup a bonding device and enslave two
real Ethernet devices to it:
# modprobe bonding
# ifconfig bond0 192.168.0.1 netmask 255.255.0.0
# ifenslave bond0 eth0 eth1
Although the intention of the original ifenslave program was to make the
slave interfaces completely subordinate to the master interface, this
version will allow the bonding device to be set up without interfering
with the working of the slave devices by specifying the -X or
--dont-inherit option. This way it is possible to configure the master
and slave interfaces with different MAC and IP addresses. If a packet is
routed to a slave interface, the ordinary action of sending it out via
that interface will be taken. The source address (both MAC and IP) will
be inherited from that interface. If a packet is routed to the master
interface, the packet is sent out via one of the corresponding slave
interfaces, but the source address (MAC and IP) will be inherited from
the master interface.
ifenslave was originally written by Donald Becker
〈email@example.com〉. This version was taken from the Linux
This manual page was written by Guus Sliepen 〈firstname.lastname@example.org〉
for the Debian GNU/Linux system.