为了正常的体验网站,请在浏览器设置里面开启Javascript功能!

AIX多网卡绑定

2017-11-10 7页 doc 35KB 12阅读

用户头像

is_977556

暂无简介

举报
AIX多网卡绑定AIX多网卡绑定 在AIX操作系统中~用统可以配置多个EtherChannel;统定,。在网卡AIX 5.2之前~我统要统只能统统active/active EtherChannel模式~要统~只能统统active/standby EtherChannel模式的统 定。所以~网卡AIX 5.2中引入了新的后统模式~用统可以统整网卡个EtherChannel指定一统统份网卡当个~整EtherChannel失效统~统统网卡会自统统替EtherChannel的功能。统与AIX 5.2之前的EtherChannel统模式有大统统~因...
AIX多网卡绑定
AIX多网卡绑定 在AIX操作系统中~用统可以配置多个EtherChannel;统定,。在网卡AIX 5.2之前~我统要统只能统统active/active EtherChannel模式~要统~只能统统active/standby EtherChannel模式的统 定。所以~网卡AIX 5.2中引入了新的后统模式~用统可以统整网卡个EtherChannel指定一统统份网卡当个~整EtherChannel失效统~统统网卡会自统统替EtherChannel的功能。统与AIX 5.2之前的EtherChannel统模式有大统统~因此~在网卡份很区5.2以后可以出统更统统统的统合统网卡定模式。 一个EtherChannel中可以有2到8统~一网卡个AIX操作系统中可以配置多个 EtherChannel。但要统住每个EtherChannel都是一新的以太接口~用统也统需要通统个网no命令统整ifsize参数的统保统以太和来网卡EtherChannel的统不超统数ifsize~ifsize的默统统是8。您可以使用任何AIX系统支持的统建网卡来EtherChannel。但EtherChannel的同一通道成个统必统统接到支持网卡EtherChannel的交统机上~统用通道可以接入到外一交统机~用于主另个 通道的失统接管。EtherChannel的所有成统都统统统置成同统的速度和工作模式~如网卡1000兆全工。要用作双EtherChannel成统的不能配置网卡IP地址~如果已统配置了~必统要在统始配置EtherChannel前统除统些配置。 在Aix5.2以后~我统看看三统典型的配置方式 1、通道或者多通道的共同双active模式~统模式下~所有的都统于个网卡active统~也就状是每都统于工作统~他统共有一个网卡状个IP地址与MAC地址~但是~所有的目统必统在网卡同一交统机上~且交统机的统统端口也要统定。个并 统统做最大的好统就是~其中一失效~或者一根统失效的统候~不影整统的工当个网卡网响个网 作~只有所有的通道失效的统候~统才失效。而且~多的同统工作~可以增加当网卡网个网卡 网统统统~不统~要注意~默统的分配方式是根据目统机器的Ip分配使用~如果目统来哪个网卡 机器只有一台~不适合使用默统统置。统统模式下~最大的统统就是所有的目统必统在同一网卡个 交统机上~且统定在一起~不能防止目统交统机故障。并 2、active/standby模式~统统的模式下~一接到主交统机~一接到统用交统机~个网卡个网卡当 active通道失效的统候~自统切统到standby通道~主通道恢统正常的统候~再自统切统到主通当 道;统里是否切统回去~是可以配置的,。统统方式最大的好统就是可以防止交统机的故障。3、统合式配置~在统统配置中~统合以上2统方式的统点。如一个3统的统境中~我统可以把网卡 其中2片配置成网卡双active模式~以增加统统统以及统的可性~外一统作统后统模网网靠另网卡 式~接在外一交统机上~前面另个当2都失效~或者前面个网卡2接的交统机失效的统个网卡 候~切统到后统上。如统,网卡 下面~我统介统一下统统的步统, 如果想统定或者取消统定~可以用smit etherchannel完成~如要统定ent1与ent2统,。 #chdev -l en1 -a netaddr=” -a netmask=”#chdev -l en2 -a netaddr=” -a netmask=”#chdev -l en1 -a state=’detach’ #chdev -l en2 -a state=’detach’ 注意,以上命令是必要的~子先取消统有的网卡IP地址~以及一定要统于detach状统~注意~如果通统en1或者en2统接到主机~操作以上的命令~的统可能统你网 上就被中了~所以~以上的操作建统通统其完成~或者在断它网卡HMC上完成。然后~我统统始统定 #smit etherchannel 统统 Add An EtherChannel / Link Aggregation在统里统统网卡 EtherChannel / Link Aggregation Adapters ent1,ent2 回统统行, Command: OK stdout: yes stderr: no Before command completion, additional instructions may appear below. ent4 Available 最后提示新的的生成~统就是可用的统定统之后的。可用会网卡个网卡网卡lsattr统看其性属 或者是lsdev -Cc adapter看所有性。 网卡属 #lsattr -El ent4 adapter_names ent1,ent2 EtherChannel Adapters True alt_addr 0x000000000000 Alternate EtherChannel Address True auto_recovery yes Enable automatic recovery after failover True backup_adapter NONE Adapter used when whole channel fails True hash_mode default Determines how outgoing adapter is chosen True mode standard EtherChannel mode of operation True netaddr Address to ping True num_retries 3 Times to retry ping before failing True retry_time 1 Wait time (in seconds) between pings True use_alt_addr no Enable Alternate EtherChannel Address True use_jumbo_frame no Enable Gigabit Ethernet Jumbo Frames True 统统统定的是通路的~就是统都是统于活统统~注意~统里统需要交统机配合才可网卡双两个网卡状 以最统接通2统~统交统机的统置~可以统系统的系统网卡网你管理统。 我统也可以统置统用~平常不活统~统于统用接管统~如果主通道统生统统~统切网卡并状 统到统用通道~统统的统~统可以接到不同的交统机上用于交统机冗余。两个 统用就是上面的网卡backup_adapter~可以通统 #smit chgethch 或者是 #smit etherchannel 统统 Change / Show Characteristics of an EtherChannel / Link Aggregation再统统 Add Backup Adapter来网卡网卡将完成。增加统后统的统定~统比以上~有如下的差统, #lsattr -El ent4 adapter_names ent1,ent2 EtherChannel Adapters True alt_addr 0x000000000000 Alternate EtherChannel Address True auto_recovery yes Enable automatic recovery after failover True backup_adapter ent3 Adapter used when whole channel fails True hash_mode default Determines how outgoing adapter is chosen True mode standard EtherChannel mode of operation True netaddr Address to ping True num_retries 3 Times to retry ping before failing True retry_time 1 Wait time (in seconds) between pings True use_alt_addr no Enable Alternate EtherChannel Address True use_jumbo_frame no Enable Gigabit Ethernet Jumbo Frames True 至于的工作统~统可以通统网卡状netstat -v来统看~如, #netstat -v ent4 ETHERNET STATISTICS (ent4) : Device Type: EtherChannel Hardware Address: 00:14:5e:b7:26:88 ...... Number of adapters: 3 Active channel: primary channel Operating mode: Standard mode Hash mode: Destination IP address ...... ETHERNET STATISTICS (ent1) : Link Status : Up Media Speed Selected: Auto negotiation Media Speed Running: 1000 Mbps Full Duplex ...... ETHERNET STATISTICS (ent2) : Link Status : Up Media Speed Selected: Auto negotiation Media Speed Running: 1000 Mbps Full Duplex ...... Backup adapter - ent3: ====================== Link Status : Up Media Speed Selected: Auto negotiation Media Speed Running: 1000 Mbps Full Duplex ...... 如果想取消统定~统同统统行 #smit etherchannel 统统 Remove An EtherChannel / Link Aggregation统统需要取消的~如上面的你网卡ent4~回统统行 Command: OK stdout: yes stderr: no Before command completion, additional instructions may appear below. ent4 deleted 如果得到以上的统果~表示统定取消成功。成功的统果~可以通统lsdev -Cc adapter前后统比统得。
/
本文档为【AIX多网卡绑定】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。 本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。 网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
热门搜索

历史搜索

    清空历史搜索