Network Bonding with Wicked
SUSE uses wicked for network management:
# Create bond configuration
cat > /etc/sysconfig/network/ifcfg-bond0 << 'EOF'
STARTMODE=auto
BOOTPROTO=static
IPADDR=10.100.1.101/24
BONDING_MASTER=yes
BONDING_SLAVE_0=eth1
BONDING_SLAVE_1=eth2
BONDING_MODULE_OPTS="mode=802.3ad miimon=100 xmit_hash_policy=layer3+4"
MTU=9000
EOF
# Configure slaves
for iface in eth1 eth2; do
cat > /etc/sysconfig/network/ifcfg-$iface << EOF
STARTMODE=hotplug
BOOTPROTO=none
MTU=9000
EOF
done
# Restart network
sudo systemctl restart wicked
Understanding LACP Load Balancing
LACP uses hash-based distribution-there's no guarantee of balanced traffic:
-
Each flow (source/dest IP+port) uses a single link.
-
Single NFS mount may use only one link.
-
Use
nconnectto create multiple TCP connections that may hash to different links.
Firewall Configuration
# Using firewalld
sudo firewall-cmd --permanent --add-service=nfs
sudo firewall-cmd --permanent --add-service=rpc-bind
sudo firewall-cmd --permanent --add-service=mountd
sudo firewall-cmd --reload
# Or using YaST
sudo yast firewall