|
Packit Service |
6f2e62 |
.Dd 2004-04-09
|
|
Packit Service |
6f2e62 |
.Dt IFENSLAVE 8
|
|
Packit Service |
6f2e62 |
.\" Manual page created by Guus Sliepen <guus@debian.org>
|
|
Packit Service |
6f2e62 |
.Sh NAME
|
|
Packit Service |
6f2e62 |
.Nm ifenslave
|
|
Packit Service |
6f2e62 |
.Nd Attach and detach slave network devices to a bonding device.
|
|
Packit Service |
6f2e62 |
.Sh SYNOPSIS
|
|
Packit Service |
6f2e62 |
.Nm
|
|
Packit Service |
6f2e62 |
.Op Fl acdfhuvV
|
|
Packit Service |
6f2e62 |
.Op Fl -all-interfaces
|
|
Packit Service |
6f2e62 |
.Op Fl -change-active
|
|
Packit Service |
6f2e62 |
.Op Fl -detach
|
|
Packit Service |
6f2e62 |
.Op Fl -force
|
|
Packit Service |
6f2e62 |
.Op Fl -help
|
|
Packit Service |
6f2e62 |
.Op Fl -usage
|
|
Packit Service |
6f2e62 |
.Op Fl -verbose
|
|
Packit Service |
6f2e62 |
.Op Fl -version
|
|
Packit Service |
6f2e62 |
.Ar master
|
|
Packit Service |
6f2e62 |
.Ar slave
|
|
Packit Service |
6f2e62 |
.No ...
|
|
Packit Service |
6f2e62 |
.Sh DESCRIPTION
|
|
Packit Service |
6f2e62 |
.Nm
|
|
Packit Service |
6f2e62 |
is a tool to attach and detach slave network devices to a bonding device.
|
|
Packit Service |
6f2e62 |
A bonding device will act like a normal Ethernet network device to the kernel,
|
|
Packit Service |
6f2e62 |
but will send out the packets via the slave devices using a simple round-robin scheduler.
|
|
Packit Service |
6f2e62 |
This allows for simple load-balancing,
|
|
Packit Service |
6f2e62 |
identical to "channel bonding" or "trunking" techniques used in switches.
|
|
Packit Service |
6f2e62 |
.Pp
|
|
Packit Service |
6f2e62 |
The kernel must have support for bonding devices for
|
|
Packit Service |
6f2e62 |
.Nm
|
|
Packit Service |
6f2e62 |
to be useful.
|
|
Packit Service |
6f2e62 |
.Sh OPTIONS
|
|
Packit Service |
6f2e62 |
.Bl -tag -width indent
|
|
Packit Service |
6f2e62 |
.It Fl a, -all-interfaces
|
|
Packit Service |
6f2e62 |
Show information about all interfaces.
|
|
Packit Service |
6f2e62 |
.It Fl c, -change-active
|
|
Packit Service |
6f2e62 |
Change active slave.
|
|
Packit Service |
6f2e62 |
.It Fl d, -detach
|
|
Packit Service |
6f2e62 |
Removes slave interfaces from the bonding device.
|
|
Packit Service |
6f2e62 |
.It Fl f, -force
|
|
Packit Service |
6f2e62 |
Force actions to be taken if one of the specified interfaces appears not to belong to an Ethernet device.
|
|
Packit Service |
6f2e62 |
.It Fl h, -help
|
|
Packit Service |
6f2e62 |
Display a help message and exit.
|
|
Packit Service |
6f2e62 |
.It Fl u, -usage
|
|
Packit Service |
6f2e62 |
Show usage information and exit.
|
|
Packit Service |
6f2e62 |
.It Fl v, -verbose
|
|
Packit Service |
6f2e62 |
Print warning and debug messages.
|
|
Packit Service |
6f2e62 |
.It Fl V, -version
|
|
Packit Service |
6f2e62 |
Show version information and exit.
|
|
Packit Service |
6f2e62 |
.El
|
|
Packit Service |
6f2e62 |
If not options are given, the default action will be to enslave interfaces.
|
|
Packit Service |
6f2e62 |
.Sh EXAMPLE
|
|
Packit Service |
6f2e62 |
The following example shows how to setup a bonding device and
|
|
Packit Service |
6f2e62 |
enslave two real Ethernet devices to it:
|
|
Packit Service |
6f2e62 |
.Bd -literal
|
|
Packit Service |
6f2e62 |
# modprobe bonding
|
|
Packit Service |
6f2e62 |
# ifconfig bond0 192.168.0.1 netmask 255.255.0.0
|
|
Packit Service |
6f2e62 |
# ifenslave bond0 eth0 eth1
|
|
Packit Service |
6f2e62 |
.Ed
|
|
Packit Service |
6f2e62 |
.Sh AUTHOR
|
|
Packit Service |
6f2e62 |
.Nm
|
|
Packit Service |
6f2e62 |
was originally written by
|
|
Packit Service |
6f2e62 |
.An Donald Becker Aq becker@cesdis.gsfc.nasa.gov ,
|
|
Packit Service |
6f2e62 |
and has since been updated by various kernel developers.
|
|
Packit Service |
6f2e62 |
.Pp
|
|
Packit Service |
6f2e62 |
This manual page was written by
|
|
Packit Service |
6f2e62 |
.An Guus Sliepen Aq guus@debian.org
|
|
Packit Service |
6f2e62 |
for the Debian GNU/Linux system.
|