LACP(Link Aggregation Control Protocol)是链路聚合技术中的一个用来控制的协议。
就目前的学习,链路聚合(Link Aggregation)包含的东西很多,协议被转入IEEE802.1ax之后有三百多页。在百度上找到的资料基本千篇一律,抄的都是一样的。要想深入了解,还得自己看协议,现就目前的学习做一个总结。
在链路聚合(Link Aggregation)中,正如原文中提到的一样:
“The Link Aggregation Control Protocol (LACP) provides a standardized means for exchanging information between Partner Systems on a link to allow their Link Aggregation Control instance to reach agreement on the identity of the LAG to which the link belongs ,move the link to that LAG,and enable its transmission and reception functions in an orferly manner”
总的来说,LACP只管控制将链路聚合在一起,至于其后,怎么向上传输数据,怎么向下分发数据,怎么实现负载均衡等等问题,这些他都不管。
LACP实现数据传输的帧为LACPDU,LACPDU的封装格式为:protocol id | LACPDU | padding octets。所谓protocol ID就是以太网帧格式中的"长度/类型"字段(8位,当值小于1518时表示长度,大于1518时表示类型),就像ARP是0x 0806,IP是0x 080