конфигурация виртуального сетевого устройства (Virtual Network Device configuration)
[BOND] SECTION OPTIONS
The [Bond] section accepts the following key:
Mode=
Specifies one of the bonding policies. The default is
"balance-rr" (round robin). Possible values are "balance-rr",
"active-backup", "balance-xor", "broadcast", "802.3ad",
"balance-tlb", and "balance-alb".
TransmitHashPolicy=
Selects the transmit hash policy to use for slave selection
in balance-xor, 802.3ad, and tlb modes. Possible values are
"layer2", "layer3+4", "layer2+3", "encap2+3", and "encap3+4".
LACPTransmitRate=
Specifies the rate with which link partner transmits Link
Aggregation Control Protocol Data Unit packets in 802.3ad
mode. Possible values are "slow", which requests partner to
transmit LACPDUs every 30 seconds, and "fast", which requests
partner to transmit LACPDUs every second. The default value
is "slow".
MIIMonitorSec=
Specifies the frequency that Media Independent Interface link
monitoring will occur. A value of zero disables MII link
monitoring. This value is rounded down to the nearest
millisecond. The default value is 0.
UpDelaySec=
Specifies the delay before a link is enabled after a link up
status has been detected. This value is rounded down to a
multiple of MIIMonitorSec. The default value is 0.
DownDelaySec=
Specifies the delay before a link is disabled after a link
down status has been detected. This value is rounded down to
a multiple of MIIMonitorSec. The default value is 0.
LearnPacketIntervalSec=
Specifies the number of seconds between instances where the
bonding driver sends learning packets to each slave peer
switch. The valid range is 1–0x7fffffff; the default value is
1. This option has an effect only for the balance-tlb and
balance-alb modes.
AdSelect=
Specifies the 802.3ad aggregation selection logic to use.
Possible values are "stable", "bandwidth" and "count".
AdActorSystemPriority=
Specifies the 802.3ad actor system priority. Takes a number
in the range 1...65535.
AdUserPortKey=
Specifies the 802.3ad user defined portion of the port key.
Takes a number in the range 0...1023.
AdActorSystem=
Specifies the 802.3ad system MAC address. This cannot be a
null or multicast address.
FailOverMACPolicy=
Specifies whether the active-backup mode should set all
slaves to the same MAC address at the time of enslavement or,
when enabled, to perform special handling of the bond's MAC
address in accordance with the selected policy. The default
policy is none. Possible values are "none", "active" and
"follow".
ARPValidate=
Specifies whether or not ARP probes and replies should be
validated in any mode that supports ARP monitoring, or
whether non-ARP traffic should be filtered (disregarded) for
link monitoring purposes. Possible values are "none",
"active", "backup" and "all".
ARPIntervalSec=
Specifies the ARP link monitoring frequency. A value of 0
disables ARP monitoring. The default value is 0, and the
default unit seconds.
ARPIPTargets=
Specifies the IP addresses to use as ARP monitoring peers
when ARPIntervalSec is greater than 0. These are the targets
of the ARP request sent to determine the health of the link
to the targets. Specify these values in IPv4 dotted decimal
format. At least one IP address must be given for ARP
monitoring to function. The maximum number of targets that
can be specified is 16. The default value is no IP addresses.
ARPAllTargets=
Specifies the quantity of ARPIPTargets that must be reachable
in order for the ARP monitor to consider a slave as being up.
This option affects only active-backup mode for slaves with
ARPValidate enabled. Possible values are "any" and "all".
PrimaryReselectPolicy=
Specifies the reselection policy for the primary slave. This
affects how the primary slave is chosen to become the active
slave when failure of the active slave or recovery of the
primary slave occurs. This option is designed to prevent
flip-flopping between the primary slave and other slaves.
Possible values are "always", "better" and "failure".
ResendIGMP=
Specifies the number of IGMP membership reports to be issued
after a failover event. One membership report is issued
immediately after the failover, subsequent packets are sent
in each 200ms interval. The valid range is 0–255. Defaults to
1. A value of 0 prevents the IGMP membership report from
being issued in response to the failover event.
PacketsPerSlave=
Specify the number of packets to transmit through a slave
before moving to the next one. When set to 0, then a slave is
chosen at random. The valid range is 0–65535. Defaults to 1.
This option only has effect when in balance-rr mode.
GratuitousARP=
Specify the number of peer notifications (gratuitous ARPs and
unsolicited IPv6 Neighbor Advertisements) to be issued after
a failover event. As soon as the link is up on the new slave,
a peer notification is sent on the bonding device and each
VLAN sub-device. This is repeated at each link monitor
interval (ARPIntervalSec or MIIMonitorSec, whichever is
active) if the number is greater than 1. The valid range is
0–255. The default value is 1. These options affect only the
active-backup mode.
AllSlavesActive=
Takes a boolean. Specifies that duplicate frames (received on
inactive ports) should be dropped when false, or delivered
when true. Normally, bonding will drop duplicate frames
(received on inactive ports), which is desirable for most
users. But there are some times it is nice to allow duplicate
frames to be delivered. The default value is false (drop
duplicate frames received on inactive ports).
DynamicTransmitLoadBalancing=
Takes a boolean. Specifies if dynamic shuffling of flows is
enabled. Applies only for balance-tlb mode. Defaults to
unset.
MinLinks=
Specifies the minimum number of links that must be active
before asserting carrier. The default value is 0.
For more detail information see Linux Ethernet Bonding Driver
HOWTO
[1]