Got it

Switch configuration corresponding to different types of network bonding

1564 0 2 0 2

Hello everyone,

Now I’d like to share with you configuration corresponding to different types of network bonding

The NIC bonding mode needs to be specified for the connection between the server and the switch. There are seven types of network bonding. Mode0, mode1, mode4, and mode6 are commonly used. Mode0 requires Configuring manual Link Aggregation on the switch. Mode4 requires dynamic lacp on the switch. In other modes, the switch does not need to be configured with the link mode.

Network Bonding Types


Switch Configuration

mode=0 (balance-rr)

All links are in load balancing mode. Packets are sent to each link in Round robin fashion(That is, the first packet goes through eth0, and the next packet goes through eth1. The process repeats until the last transmission is complete.)

Configuring link aggregation in manual load balancing mode

Typical configuration:


interface Eth-Trunk1


interface GE1/0/1

 eth-trunk 1



Only one port is in the active state, and the other ports are in the backup state. From the outside, the MAC address of the bond is unique to avoid confusing the switch.

No link aggregation is required, but MAC address flapping may occur.

mode=2 (balance-xor)

Transmits data packets based on the specified hash policy. Providing load balancing and fault tolerance. Each destination MAC address the same slave is selected.

Configuring link aggregation in manual load balancing mode

mode=3 (broadcast)

Transfer each packet on each slave interface

Configuring link aggregation in manual load balancing mode

mode=4 (802.3ad)

In dynamic link aggregation mode, an aggregation group with the same rate is created. The slave selection for outgoing traffic is done based on a transmit hashing method.

Configuring link aggregation in dynamic LACP mode

Typical configuration:


interface Eth-Trunk1

  mode lacp-dynamic


interface GE1/0/1

  eth-trunk 1


mode=5 (balance-tlb)

Adaptive transmit load balancing. The outgoing traffic is distributed based on the current load on each slave and the incoming traffic is received by the current slave. If the incoming traffic fails, the failed receiving slave is replaced by the MAC address of another slave.

No link aggregation is required.

mode=6 (balance-alb)

Adaptive load balancing. This mode includes the balance-tlb mode and the load balancing (receive load balance, rlb) for IPv4 traffic. Differences from mod=0The eth0 traffic is fully occupied, and then eth1 is occupied. .ethX

No link aggregation is required.

 This is what I want to share with you today, thank you!

  • x
  • convention:


You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."

My Followers

Login and enjoy all the member benefits


Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Please bind your phone number to obtain invitation bonus.