How Do You Check Bonding Mode in Linux?
Contents

How do I check my bonding?

7.5. Verifying Network Configuration Bonding for Redundancy

  1. Ping the destination IP from the bond interface. …
  2. View which interface is in active mode: ~]# cat /sys/class/net/bond0/bonding/active_slave enp1s0. …
  3. Set the active slave interface down: ~]# ip link set enp1s0 down.
  4. Check if the backup interface is up: ~]# cat /sys/class/net/bond0/bonding/active_slave enp2s0.

How do I set bonding mode in Linux?

  1. Step 1 : Create ifcfg-bond0.
  2. Step 2 : Update interface files (ifcfg-eth*)
  3. Step 3 : Decide on bonding mode.
  4. Step 4 : Activate bonding driver.
  5. Step 5 : Restart Network interface and verify.
  6. Modes of bonding:
Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest