Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1122785
  • 博文数量: 251
  • 博客积分: 8431
  • 博客等级: 中将
  • 技术积分: 2699
  • 用 户 组: 普通用户
  • 注册时间: 2007-07-22 16:24
文章分类

全部博文(251)

文章存档

2016年(2)

2015年(5)

2014年(4)

2013年(10)

2012年(8)

2011年(14)

2010年(20)

2009年(33)

2008年(51)

2007年(104)

分类:

2009-06-27 18:41:37

如果想绑定或者取消绑定,可以用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看所有网卡属性。

阅读(3006) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~