man > ifenslave(8)

IFENSLAVE(8)                           System Manager's Manual                          IFENSLAVE(8)

NAME
       ifenslave — Attach and detach slave network devices to a bonding device.

SYNOPSIS
       ifenslave  [-acdfhuvV]  [--all-interfaces]  [--change-active]  [--detach]  [--force] [--help]
                 [--usage] [--verbose] [--version] master slave ...

DESCRIPTION
       ifenslave is a tool to attach and detach slave network devices to a bonding device.  A  bond‐
       ing  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 sim‐
       ple 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.

OPTIONS
       -a, --all-interfaces
               Show information about all interfaces.

       -c, --change-active
               Change active slave.

       -d, --detach
               Removes slave interfaces from the bonding device.

       -f, --force
               Force actions to be taken if one of the specified interfaces appears not to belong to
               an Ethernet device.

       -h, --help
               Display a help message and exit.

       -u, --usage
               Show usage information and exit.

       -v, --verbose
               Print warning and debug messages.

       -V, --version
               Show version information and exit.

       If no options are given, the default action will be to enslave interfaces.

EXAMPLE
       The following example shows how to setup a bonding device and enslave two real  Ethernet  de‐
       vices to it:

       # modprobe bonding
       # ifconfig bond0 192.168.0.1 netmask 255.255.0.0
       # ifenslave bond0 eth0 eth1

AUTHOR
       Guus Sliepen <guus AT debian.org>

Debian GNU/Linux                             2012-07-13                                 IFENSLAVE(8)

Generated by phpman v4.11.2-35-gf98a251 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-10-08 01:56 @216.73.217.162
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!