What is Link Aggregation?Link aggregation is a technology that bundles multiple physical links into one logical link to increase link bandwidth and redundancy. Depending on whether the Link Aggregation Control Protocol LACP is enabled, link aggregation is divided into two aggregation modes: "static" and "dynamic (LACP)".
Today I will talk about "static aggregation". The aggregation algorithm is indispensable for configuring static aggregation. There are mainly: based on destination IP, based on destination MAC, based on source destination IP, based on source destination MAC, based on source IP, based on source MAC. Then there is a classic question: Will there be any problem if the algorithms at both ends of the switch link aggregation are inconsistent? As shown in the following figure: Problem AnalysisLet me tell you the answer first: Let's take a brief look at the algorithm logic: the switch will hash the MAC and IP address fields in the data frame into a HASH-KEY value, and then find the physical outbound interface in the aggregation forwarding table to send it out. To ensure that the same data stream is forwarded on the same physical link, why must it be consistent? To prevent the address table of the other end from drifting. Therefore, the switch's aggregation algorithm only determines TX (transmit) and has nothing to do with RX (receive), as shown below: When PC1 and PC2 communicate, SW1 can forward PC1's data to SW2 from different outbound interfaces based on different algorithms; SW2 doesn't care whether you come from port 1 or port 2, it only cares whether the data flow from PC1 to PC2 is continuously maintained on the same physical link. Otherwise, if PC1 comes from port 1 and port 2, wouldn't the address table of SW2 be disordered? The direct result of disorder is communication abnormality; Similarly, when SW2 transfers the data from PC2 to SW1, SW1 will not care which port you give it to me. It only cares about "whether you can always give it to me through this physical port". Therefore, under the standard convergence algorithm of the switch, inconsistent algorithms at both ends will not affect communication. |
From November 13 to 15, 2019, the 2019 Jiangxi He...
Bandwagonhost should be a successful transformati...
We are witnessing a massive transformation in the...
The chaos in the domestic communications industry...
In the past, when people mentioned Ethernet, the ...
Mobile data traffic will grow more than 10 times ...
Virtono is a foreign VPS hosting company founded ...
[Original article from 51CTO.com] Since the offic...
On April 22, Huawei Chairman Liang Hua shared his...
Over the past decade, advances in cloud computing...
On March 23, the Chinese national football team w...
[[389359]] Data from the Global Mobile Suppliers ...
So far, the focus on 5G has been mainly on the co...
TmhHost recently launched a Double 12 promotion, ...
There have been voices saying that the large-scal...