Switch configuration corresponding to different types of network bonding

207 0 2 2

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

Features

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

#

mode=1(active-backup)

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 configuration 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.

No link mode is required.

mode=3 (broadcast)

Transfer each packet on each slave interface

No link mode is required.

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 mode 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 mode is required.

 


  • x
  • convention:

Comment

Reply
You need to log in to reply to the post Login | Register

Notice 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."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login