详解Suse双网卡绑定步骤

详解Suse双网卡绑定步骤

ID:38755825

大小:163.50 KB

页数:50页

时间:2019-06-18

详解Suse双网卡绑定步骤_第1页
详解Suse双网卡绑定步骤_第2页
详解Suse双网卡绑定步骤_第3页
详解Suse双网卡绑定步骤_第4页
详解Suse双网卡绑定步骤_第5页
资源描述:

《详解Suse双网卡绑定步骤》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、·suse-9-SuseLinux下双网卡bondingSuseLinux下双网卡bondingLinux双网卡绑定实现就是使用两块网卡虚拟成为一块网卡,这个聚合起来的设备看起来是一个单独的以太网接口设备,通俗点讲就是两块网卡具有相同的IP地址而并行链接聚合成一个逻辑链路工作。其实这项技术在Sun和Cisco中早已存在,被称为Trunking和Etherchannel技术,在Linux的2.4.x的内核中也采用这这种技术,被称为bonding.bonding驱动最早来自于DonaldBecker的beowulf对kernel2.0的补丁.但是已经有了很大的改进和变化,最早来自于ext

2、reme-linux和beowulf的工具已经不适用于现在版本的驱动了。随着bonding技术的发展,bonding现在已经发展到6种模式,不再是简单的链路聚合模式了.以下是bonding的六种模式介绍,目前主要应用的是前四种模式,尤其是第一种和第二种bonding模式mode=0(balance-rr)Round-robinpolicy:Transmitpacketsinsequentialorderfromthefirstavailableslavethroughthelast.Thismodeprovidesloadbalancingandfaulttolerance.mode

3、=1(active-backup)Active-backuppolicy:Onlyoneslaveinthebondisactive.Adifferentslavebecomesactiveif,andonlyif,theactiveslavefails.Thebond'sMACaddressisexternallyvisibleononlyoneport(networkadapter)toavoidconfusingtheswitch.Thismodeprovidesfaulttolerance.Theprimaryoptionaffectsthebehaviorofthismod

4、e.mode=2(balance-xor)XORpolicy:Transmitbasedon[(sourceMACaddressXOR'dwithdestinationMACaddress)moduloslavecount].ThisselectsthesameslaveforeachdestinationMACaddress.Thismodeprovidesloadbalancingandfaulttolerance.mode=3(broadcast)Broadcastpolicy:transmitseverythingonallslaveinterfaces.Thismodepr

5、ovidesfaulttolerance.mode=4(802.3ad)IEEE802.3adDynamiclinkaggregation.Createsaggregationgroupsthatsharethesamespeedandduplexsettings.Utilizesallslavesintheactiveaggregatoraccordingtothe802.3adspecification. Pre-requisites: 1.Ethtoolsupportinthebasedriversforretrievingthespeedandduplexofeachslav

6、e. 2.AswitchthatsupportsIEEE802.3adDynamiclink aggregation. Mostswitcheswillrequiresometypeofconfiguration toenable802.3admode.mode=5(balance-tlb)Adaptivetransmitloadbalancing:channelbondingthatdoesnotrequireanyspecialswitchsupport.Theoutgoingtrafficisdistributedaccordingtothecurrentload(comput

7、edrelativetothespeed)oneachslave.Incomingtrafficisreceivedbythecurrentslave.Ifthereceivingslavefails,anotherslavetakesovertheMACaddressofthefailedreceivingslave. Prerequisite: Ethtoolsupportinthebasedriversforretrievingthe speedof

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。