···
-
networking.bonds = mkOption {
-
example = literalExample {
-
interfaces = [ "eth0" "wlan0" ];
-
fatpipe.interfaces = [ "enp4s0f0" "enp4s0f1" "enp5s0f0" "enp5s0f1" ];
-
This option allows you to define bond devices that aggregate multiple,
-
underlying networking interfaces together. The value of this option is
-
an attribute set. Each attribute specifies a bond, with the attribute
-
name specifying the name of the bond's network interface
-
type = with types; attrsOf (submodule {
-
interfaces = mkOption {
-
example = [ "enp4s0f0" "enp4s0f1" "wlan0" ];
-
type = types.listOf types.str;
-
description = "The interfaces to bond together";
-
driverOptions = mkOption {
-
type = types.attrsOf types.str;
-
example = literalExample {
-
interfaces = [ "eth0" "wlan0" ];
-
mode = "active-backup";
-
Options for the bonding driver.
-
Documentation can be found in
-
<link xlink:href="https://www.kernel.org/doc/Documentation/networking/bonding.txt" />
-
type = types.nullOr types.str;
-
DEPRECATED, use `driverOptions`.
-
Option specifying the rate in which we'll ask our link partner
-
to transmit LACPDU packets in 802.3ad mode.
-
type = types.nullOr types.int;
-
DEPRECATED, use `driverOptions`.
-
Miimon is the number of millisecond in between each round of polling
-
by the device driver for failed links. By default polling is not
-
enabled and the driver is trusted to properly detect and handle
-
example = "active-backup";
-
type = types.nullOr types.str;
-
DEPRECATED, use `driverOptions`.
-
The mode which the bond will be running. The default mode for
-
the bonding driver is balance-rr, optimizing for throughput.
-
More information about valid modes can be found at
-
https://www.kernel.org/doc/Documentation/networking/bonding.txt
-
xmit_hash_policy = mkOption {
-
type = types.nullOr types.str;
-
DEPRECATED, use `driverOptions`.
-
Selects the transmit hash policy to use for slave selection in
-
balance-xor, 802.3ad, and tlb modes.
networking.macvlans = mkOption {