免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2803 | 回复: 1
打印 上一主题 下一主题

网路聚合,关于dladm,疑问 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-02-10 16:35 |只看该作者 |倒序浏览
本帖最后由 happy_gaoxing 于 2011-02-10 17:18 编辑

虚拟机做的

bash-3.00# dladm show-aggr
密钥: 1 (0x0001)        策略: L2        地址: 0:c:29:10:2:80 (自动)
           设备 地址                    速度            双工    链接    状态
           e1000g2      0:c:29:10:2:80    1000  Mbps    full    up      standby
           e1000g3      0:c:29:10:2:8a    1000  Mbps    full    up      standby

全部standby

机器中能ping 通

外边ping 不通
请赐教。

论坛徽章:
7
荣誉会员
日期:2011-11-23 16:44:17水瓶座
日期:2013-08-28 21:20:16丑牛
日期:2013-10-02 21:01:462015年迎新春徽章
日期:2015-03-04 09:54:45操作系统版块每日发帖之星
日期:2016-06-05 06:20:0015-16赛季CBA联赛之吉林
日期:2016-06-20 08:24:0515-16赛季CBA联赛之四川
日期:2016-08-18 15:02:02
2 [报告]
发表于 2011-02-11 16:15 |只看该作者
Aggregated Ethernet
Aggregated Ethernet (AE) enables you to group multiple Ethernet interfaces to form a
single physical link at the MAC layer, allowing you to increase your speed beyond what
a single link can provide, as well as increasing redundancy. AE has had several names
over the years. Officially, it is a standard in 802.1AX; however, many people still refer
to it as 802.3ad because it appeared in section 41 of that standard. Other names that
have been used by various vendors include NIC teaming, port channel, port teaming,
port trunking, link bundling, and EtherChannel. In this chapter, however, we will refer
to the link as AE.



How does a standard get its name, such as 802.1AX or 802.3ad? Well,
the 802 refers to an actual working group for the standard. The letters
themselves have no meaning; letters are just incremented starting from
a and going to z. So, in order: a, aa, ab, b, bb, and so on. The capitalization
indicates a standalone document, whereas lowercase denotes a
supplement to an existing document. At least, that was the idea when
the naming convention was created.

Historically, link aggregation is configured statically, meaning that the local device
bonds the physical interfaces together. This meant that there was no way to link path
failures (if there was an intermediate device) or to know whether the other end of the
link was also bundling the interface. For that reason, the industry-standard Link Aggregation
Control Protocol (LACP) was created. Essentially, LACP sends messages to
the remote end of the link to determine bundle parameters as well as link availability.
This creates a “bundle” with multiple physical “members.”

LACP is not necessary in order to create an AE link. You can create the configuration
statically on each link, essentially telling the system to bundle several links together
and be on its way. However, there are some problems with static configuration:
• There is no keepalive mechanism to determine whether the entire path is up if there
is an intermediate device between the bundle.
• There is no way to ensure that the port physically connects to the correct device
(see Figure 11-3, shown previously).
• There is no way to ensure that the configuration is correct on both sides.
LACP solves this without any change to the actual Ethernet frame format used for
transport across the bundle. Essentially, LACP periodically advertises the aggregation
capabilities and state information across each member link. The partner (the other end
of the link) compares its own configuration to what was received, and decides whether
the link should be part of the bundle. Also, if a link was already determined to be part
of the same bundle, and LACP messages are not received for a period of time, that link
can be brought down.
These messages are sent on a link-by-link basis, asynchronously. No synchronization
is necessary for the bundle.
On each aggregated link, a partner and an actor are created. The actor is the device that
takes the action, and the partner is the device sending the message. An actor compares
its local configuration with the received partner message. This messaging happens in
both directions; as a result, a given link is always an actor or a partner—the name is
relative to a given direction. This means, however, that an additional check can be
made. In confusing terms, we can say that the partner’s partner information is a view
of the actor’s current configuration. Thus, the partner’s partner information can be
compared with its own actor state to make sure the partner received the correct information
from the actor. In simpler terms, the received state is sent back to the sender in
order to verify that the sender information was received.
In order to make sure aggregated bundles are formed only with links that interconnect
the same devices, some type of identifier must be used to identify the bundle. LACP
uses a system ID to identify messages from a device, and only messages received from
the partner with the same system ID will be considered for link aggregation.


你的交换上也需要把相应的port做link aggregation。绑定成一个interface。
你是啥交换机,配置贴上来? 802.1ad(汇聚)支持否?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP