CONTENT
  • CHANGES
Szukaj
counter

#top ifenslave


ifenslave - Attach and detach slave network devices to a bonding device

Powiązane:
ifconfig, ifenslave, ip, netstat, netstat-nat, route,

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 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.



EXAMPLES
Załadowanie modułu do obsługi bonding i aktywacja interfejsu (domyślnie interfejs bond0):
modproble bonding
ifconfig bond0 up

Dołączenie (attach) fizycznych interfejsów sieciowych do interfejsu bond0:
ifenslave bond0 eth0 eth1

Odłączenie (detach) fizycznych interfejsów sieciowych od interfejsu b0nd0:
ifenslave bond0 -d eth0 eth1

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




Zmodyfikowany ostatnio: 2015/11/16 01:15:53 (9 lat temu), textsize: 2,86 kB, htmlsize: 3,79 kB

Zapraszam do komentowania, zgłaszania sugestii, propozycji, własnych przykładów, ...
Dodaj komentarzKomentarze użytkowników