在 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

相關內容