Skip to content

6. Personalized Configuration

6.1 Using Network Interface Bonding to Accelerate Deployment

Using network interface bonding to increase the management node's upload bandwidth can improve deployment speed.

  1. On the management node, install the ifenslave.
shell
sudo apt install ifenslave
  1. load bonding module。
shell
# load bonding module
sudo modprobe bonding
# 
sudo lsmod | grep bonding
  1. Configure network interface bonding. For example, configure a bond in mode 6 (balance-alb) using two interfaces named eth0 and eth1. Modifying /etc/netplan/00-installer-config.yaml:
/etc/netplan/00-installer-config.yaml
yaml
network:
  version: 2
  ethernets:
    eth0:
      dhcp4: false
    eth1:
      dhcp4: false
  bonds:
    bond0:
      addresses: [192.168.1.88/24]
      gateway4: 192.168.1.1
      nameservers:
        addresses:
          - 114.114.114.114
      interfaces:
        - eth0
        - eth1
      parameters:
        mode: balance-alb

Then run:

bash
sudo netplan apply
  1. Check the Bonding Status:
bash
# Check the Bonding Status:
cat /proc/net/bonding/bond0 
sudo ethtool bond0

To view the configuration and status information of the bonded network interface bond0, including speed, duplex mode, link status, and hardware features.

  1. Delete Bond

Comment out the added content in the /etc/netplan/00-installer-config.yaml file.

bash
sudo ifconfig bond0 down
sudo rmmod bonding

Check:

bash
ifconfig bond0

Copyright © 2025 The PODsys Project. All rights reserved.