在 OpenIndiana(Solaris)和 Cisco C3560 之间配置 LACP

在 OpenIndiana(Solaris)和 Cisco C3560 之间配置 LACP

我正在运行 OpenIndiana (oi_151a8),并且有两个使用 LACP 聚合的 NIC 连接到 Cisco WS-C3560G-48TS。服务器和交换机都显示聚合链路处于开启状态。但是,虽然链路层流量可见(“snoop”显示 ARP 请求等),但我无法传递任何 IP 流量(ping、ssh 均失败)。真正奇怪的是,聚合链路可以获取 DHCP 地址,该地址提供正确的网关、名称服务器等。我最初的想法是 VLAN 配置存在问题,但交换机在 VLAN1 上运行一切。我也尝试在两端明确添加它,但没有成功(OI 不允许我使用本机 VLAN 配置 VLAN)。有什么想法吗?

服务器上的配置

svcadm disable network/physical:nwam
svcadm enable network/physical:default
dladm create-aggr -l e1000g0 -l e1000g1 aggr1
ipadm create-addr -T DHCP aggr1/v4
dladm modify-aggr -L active -T long aggr1

服务器验证 (必须进行 OCR,因此部分文本被损坏)

admin@arc01:~# dladm show-link
LINK CLASS MTU STATE BRIDGE OVER
e1000g0 phys 1500 up -- --
e1000g1 phys 1500 up -- --
aggr1 aggr 1500 up —— e1000g0 e1000g1

admin@arc01:~# dladm show-phys
LINK MEDIA STATE SPEED DUPLEX DEVICE
e1000g0 Ethernet up 1000 full e1000g0
e1000g1 Ethernet up 1000 full e1000g1

admin@arc01:~# dladm show—ether
LINE PTYPE STATE AUTO SPEED-DUPLEX PAUSE
e1000g0 current up yes 1G—f bi
e1000g1 current up yes 1G-f bi

admin@arc01:~# dladm show-aggr
LINK POLICY ADDRPOLICY LACPACTIVITY LACPTIMER FLAGS
aggr1 L4 auto active long -----

admin@arc01:~# ifconfig aggr1
aggr1: Flags=1004843{UP,BROADCAST.RUNNING.MULTICAST,DHCP.IPv4} mtu 1500 index 3
inet 192.168.0.200 netmask ffffff00 broadcast 192.168.0.255
ether 68:5:ca:11:19:a6

Routing table shows the following: netstat -r
default          192.168.0.1  UG   2  3   aggr1
arc01           arc01            UH  2   48 lo0
192.168.0.0 192.168.0.200 U    3  1   aggr1

交换机上的配置

interface Port-channel10
 description ARC01_LACP
interface GigabitEthernet0/41
 description ARC01_LACP
 channel-group 10 mode active
interface GigabitEthernet0/42
 description ARC01_LACP
 channel-group 10 mode active

交换机上的验证

SW01#show interfaces port-channel 10
Port-channel10 is up, line protocol is up (connected) 
  Hardware is EtherChannel, address is 001f.6d21.14a9 (bia 001f.6d21.14a9)
  Description: ARC01_LACP
  MTU 1500 bytes, BW 2000000 Kbit, DLY 10 usec, 
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full-duplex, 1000Mb/s, link type is auto, media type is unknown
  input flow-control is off, output flow-control is unsupported 
  Members in this channel: Gi0/41 Gi0/42 
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output 00:00:01, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 2000 bits/sec, 3 packets/sec
     1766 packets input, 204558 bytes, 0 no buffer
     Received 1750 broadcasts (1417 multicasts)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 1417 multicast, 0 pause input
     0 input packets with dribble condition detected
     197210 packets output, 29618326 bytes, 0 underruns
     0 output errors, 0 collisions, 1 interface resets
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier, 0 PAUSE output
     0 output buffer failures, 0 output buffers swapped out

相关内容