IFENSLAVE(8) | System Manager's Manual | IFENSLAVE(8) |
ifenslave
— Attach
and detach slave network devices to a bonding device.
ifenslave |
[-acdfhuvV ]
[--all-interfaces ]
[--change-active ]
[--detach ] [--force ]
[--help ] [--usage ]
[--verbose ] [--version ]
master slave
... |
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 in switches.
The kernel must have support for bonding devices for
ifenslave
to be useful.
-a,
--all-interfaces
-c,
--change-active
-d,
--detach
-f,
--force
-h,
--help
-u,
--usage
-v,
--verbose
-V,
--version
If no options are given, the default action will be to enslave interfaces.
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
Guus Sliepen ⟨guus@debian.org⟩
2012-07-13 | Debian GNU/Linux |