[root@lxvcs03 config]#>dladm show-dev
e1000g0 link: up speed: 1000 Mbps duplex: full
e1000g1 link: up speed: 100 Mbps duplex: full
e1000g2 link: unknown speed: 0 Mbps duplex: half
e1000g3 link: up speed: 100 Mbps duplex: full
e1000g4 link: unknown speed: 0 Mbps duplex: half
e1000g5 link: unknown speed: 0 Mbps duplex: half
---------关于输出结果,要说明的是在solaris10里:
1)不能通过这个命令判断网卡的工作模式(全双工还是半双工)和speed.
2)通过ndd -get来取得网卡的信息好像也不行了。
创建aggegate的步骤
[root@lxvcs03 /]#>dladm create-aggr -d e1000g1 -d e1000g2 1
[root@lxvcs03 /]#>dladm create-aggr -d e1000g3 -d e1000g4 2
[root@lxvcs03 install]#>ifconfig aggr2 plumb
[root@lxvcs03 install]#>dladm show-aggr
key: 1 (0x0001) policy: L4 address: 0:14:4f:78:60:85 (auto)
device address speed duplex link state
e1000g1 0:14:4f:78:60:85 100 Mbps full up attached
e1000g2 0:14:4f:78:60:86 100 Mbps full up attached
key: 2 (0x0002) policy: L4 address: 0:14:4f:78:60:87 (auto)
device address speed duplex link state
e1000g3 0:14:4f:78:60:87 100 Mbps full up attached
e1000g4 0:15:17:2a:3:2c 100 Mbps full up attached
[root@lxvcs03 install]#>dladm show-link
e1000g0 type: non-vlan mtu: 1500 device: e1000g0
e1000g1 type: non-vlan mtu: 1500 device: e1000g1
e1000g2 type: non-vlan mtu: 1500 device: e1000g2
e1000g3 type: non-vlan mtu: 1500 device: e1000g3
e1000g4 type: non-vlan mtu: 1500 device: e1000g4
e1000g5 type: non-vlan mtu: 1500 device: e1000g5
aggr1 type: non-vlan mtu: 1500 aggregation: key 1
aggr2 type: non-vlan mtu: 1500 aggregation: key 2
更相信的trunk/aggegate可参考
这篇文章的第一句话"最初的 Solaris 10 发行版和更早的 Solaris 版本不支持链路聚合。要为这些早期的 Solaris 发行版创建链路聚合,请使用 Sun Trunking,如《Sun Trunking 1.3 Installation and Users Guide》所述。",我是这么理解的:solaris10之前的版本叫trunking(这些版本需要再单独下载trunking包) solaris10之后叫链路聚合,无需下载,直接用dladm配置即可
阅读(3191) | 评论(0) | 转发(0) |