Interface & IP (IPv4 and IPv6) settings

Here you can configure IPv4 or IPv6 settings on all available network adapters as well as add up to 10 static routes.

If an interface and protocol should not be used, enter “disabled” and if automatic configuration (RA for IPv6 and DHCP or IPv4) is required, enter “auto”.

Network bonding can be used to set up a fault-tolerant or/and load-balanced interface for StoredSafe.

StoredSafe supports the following bonding policies:

  • balance-rr
    Round-robin policy: Transmit packets in sequential order from the first available slave through the last. This mode provides load balancing and fault tolerance.
  • active-backup
    Active-backup policy: Only one slave in the bond is active. A different slave becomes active if, and only if, the active slave fails. This mode provides fault tolerance.
  • balance-xor
    XOR policy: Transmit based on the selected transmit hash policy. The default policy is a simple [(source MAC address XOR’d with destination MAC address XOR packet type ID) modulo slave count]. This mode provides load balancing and fault tolerance.
  • broadcast
    Broadcast policy: transmits everything on all slave interfaces. This mode provides fault tolerance.
  • 802.3ad
    IEEE 802.3ad Dynamic link aggregation. Creates aggregation groups that share the same speed and duplex settings. Utilizes all slaves in the active aggregator according to the 802.3ad specification. This mode provides load balancing and fault tolerance.
  • balance-tlb
    Adaptive transmit load balancing: channel bonding that does not require any special switch support.
  • balance-alb
    Adaptive load balancing: includes balance-tlb plus receive load balancing (rlb) for IPV4 traffic, and does not require any special switch support.

For more detailed information see the Linux Ethernet Bonding Driver HOWTO on kernel.org

Interface Settings

Configure bonding (e.g. 802.3ad/LACP, Balance-RR etc) (Q to quit)? <No>: Yes

There are 4 possible interfaces that could be used to set up a bond:

0) eth0
1) eth1
2) enp0s9
3) enp0s10

Enter interface id (0-3) to include in bond (. to end input, Q to Quit)?: 1
INFO: Selected "eth1" to be included in bond0.
Enter interface id (0-3) to include in bond (. to end input, Q to Quit)?: 2
INFO: Selected "enp0s9" to be included in bond0.
Enter interface id (0-3) to include in bond (. to end input, Q to Quit)?: 3
INFO: Selected "enp0s10" to be included in bond0.
Enter interface id (0-3) to include in bond (. to end input, Q to Quit)?: .
INFO: bond0 will be created using eth1, enp0s9, enp0s10

Supported bonding policies:

0) balance-rr
1) active-backup
2) balance-xor
3) broadcast
4) 802.3ad
5) balance-tlb
6) balance-alb

What bonding policy should be used (. to end input, Q to Quit)? <4>: 4
Set "bond-lacp-rate" (slow or fast, . to end input, Q to Quit)? <fast>:
Set "bond-miimon" (. to end input, Q to Quit)? <100>:
Set "bond-downdelay" (. to end input, Q to Quit)? <100>:
Set "bond-updelay" (. to end input, Q to Quit)? <100>:

Save configuration and activate the bond? (<Y>/n): Yes
Bonding configured.
bond0 (up): configured with eth1 (up) / enp0s9 (down) / enp0s10 (down) as slaves
mode: 802.3ad (4), xmit policy: layer2 (0), status: up
polling interval: 100, up delay: 100, down delay: 100, lacp rate: fast (1)
partner mac: 08:00:27:32:02:d2

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 08:00:27:a2:cf:f0 brd ff:ff:ff:ff:ff:ff
    inet 151.217.182.21/24 brd 151.217.182.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 2001:67c:20a1:1182:a00:27ff:fe6b:e82f/64 scope global dynamic
       valid_lft 3533sec preferred_lft 233sec
    inet6 fe80::a00:27ff:fea2:cff0/64 scope link
       valid_lft forever preferred_lft forever

8: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 08:00:27:a9:43:28 brd ff:ff:ff:ff:ff:ff
    inet 192.168.222.3/24 brd 192.168.222.255 scope global bond0
       valid_lft forever preferred_lft forever
    inet6 fe80::a00:27ff:fea9:4328/64 scope link
       valid_lft forever preferred_lft forever

eth0: IPv4 address (auto or disabled, Q to quit)? <151.217.182.21>: auto
eth0: IPv6 address (auto or disabled, Q to quit)? <2001:67c:20a1:1182:a00:27ff:fe6b:e82f>: auto

bond0: IPv4 address (auto or disabled, Q to quit)? <192.168.222.3>:
bond0: IPv4 netmask for "192.168.222.3" in CIDR notation (Q to quit)? <24>:
bond0: IPv4 default gateway (none or Q to quit)? <none>: 192.168.222.1
bond0: IPv6 address (auto or disabled, Q to quit)? <disabled>:

Add static routes? (y/<N>):

IPv4 Configuration
bond0: IP address: 192.168.222.3/255.255.255.0, default gateway: 192.168.222.1
eth0: Auto configuration via DHCP

IPv6 Configuration
bond0: disabled
eth0: Auto configuration via Router Advertisment

Write the above configuration to disk? (<Y>/n): Yes
Activate the new configuration? (<Y>/n): Yes

A reboot might be required to activate the changes.