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

ifenslave(8) – Linux man page

Name

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

Synopsis

ifenslave [-acdfhuvV] [–all-interfaces] [–change-active] [–detach] [–force] [–help] [–usage] [–verbose] [–versionmaster slave …

Description

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.

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 not 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 devices to it:

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

Author

ifenslave was originally written by Donald Becker <becker@cesdis.gsfc.nasa.gov>, and has since been updated by various kernel developers.

This manual page was written by Guus Sliepen <guus@debian.org> for the Debian GNU/Linux system.

BSD November 6, 2011 BSD

Referenced By

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 變更 )

Twitter picture

You are commenting using your Twitter account. Log Out / 變更 )

Facebook照片

You are commenting using your Facebook account. Log Out / 變更 )

Google+ photo

You are commenting using your Google+ account. Log Out / 變更 )

連結到 %s