На другом коммутаторе порты в активном режиме, а в документации по linux bonding я не нашел упоминаний о возможности переключения режимов. Я так понимаю, что по умолчанию включен активный режим, поскольку с сетевых интерфейсов сервера рассылаются lacp-кадры:
Код:
blackstar:~# tcpdump -c 2 -vveni eth0 not tcp port 22
tcpdump: WARNING: eth0: no IPv4 address assigned
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
22:37:21.270824 00:22:15:35:48:66 > 01:80:c2:00:00:02, ethertype Slow Protocols (0x8809), length 124: LACPv1, length: 110
Actor Information TLV (0x01), length: 20
System 00:22:15:35:48:66, System Priority 65535, Key 9, Port 1, Port Priority 255
State Flags [Activity, Timeout, Aggregation, Synchronization, Collecting, Distributing]
0x0000: 4866 0009 00ff 0001 3f00 0000 0214 0001
0x0010: 001e
Partner Information TLV (0x02), length: 20
System 00:1e:58:9e:fe:5f, System Priority 1, Key 5, Port 5, Port Priority 1
State Flags [Timeout, Aggregation, Synchronization, Collecting, Distributing]
0x0000: fe5f 0005 0001 0005 3e00 0000 0310 0000
0x0010: 0000
Collector Information TLV (0x03), length: 16
Max Delay 0
0x0000: 0000 0000 0000 0000 0000 0000 0000
Terminator TLV (0x00), length: 0 (=52)
packet exceeded snapshot
22:37:22.470323 00:22:15:35:48:66 > 01:80:c2:00:00:02, ethertype Slow Protocols (0x8809), length 124: LACPv1, length: 110
Actor Information TLV (0x01), length: 20
System 00:22:15:35:48:66, System Priority 65535, Key 9, Port 1, Port Priority 255
State Flags [Activity, Timeout, Aggregation, Synchronization, Collecting, Distributing]
0x0000: 4866 0009 00ff 0001 3f00 0000 0214 0001
0x0010: 001e
Partner Information TLV (0x02), length: 20
System 00:1e:58:9e:fe:5f, System Priority 1, Key 5, Port 5, Port Priority 1
State Flags [Timeout, Aggregation, Synchronization, Collecting, Distributing]
0x0000: fe5f 0005 0001 0005 3e00 0000 0310 0000
0x0010: 0000
Collector Information TLV (0x03), length: 16
Max Delay 0
0x0000: 0000 0000 0000 0000 0000 0000 0000
Terminator TLV (0x00), length: 0 (=52)
packet exceeded snapshot
2 packets captured
3 packets received by filter
0 packets dropped by kernel
blackstar:~# tcpdump -c 2 -vveni eth3 not tcp port 22
tcpdump: WARNING: eth3: no IPv4 address assigned
tcpdump: listening on eth3, link-type EN10MB (Ethernet), capture size 96 bytes
22:38:19.470324 00:06:7b:04:fd:3e > 01:80:c2:00:00:02, ethertype Slow Protocols (0x8809), length 124: LACPv1, length: 110
Actor Information TLV (0x01), length: 20
System 00:22:15:35:48:66, System Priority 65535, Key 9, Port 2, Port Priority 255
State Flags [Activity, Timeout, Aggregation, Synchronization, Collecting, Distributing]
0x0000: 4866 0009 00ff 0002 3f00 0000 0214 0001
0x0010: 001e
Partner Information TLV (0x02), length: 20
System 00:1e:58:9e:fe:5f, System Priority 1, Key 5, Port 6, Port Priority 1
State Flags [Timeout, Aggregation, Synchronization, Collecting, Distributing]
0x0000: fe5f 0005 0001 0006 3e00 0000 0310 0000
0x0010: 0000
Collector Information TLV (0x03), length: 16
Max Delay 0
0x0000: 0000 0000 0000 0000 0000 0000 0000
Terminator TLV (0x00), length: 0 (=52)
packet exceeded snapshot
22:38:20.374329 00:06:7b:04:fd:3e > 01:80:c2:00:00:02, ethertype Slow Protocols (0x8809), length 124: LACPv1, length: 110
Actor Information TLV (0x01), length: 20
System 00:22:15:35:48:66, System Priority 65535, Key 9, Port 2, Port Priority 255
State Flags [Activity, Timeout, Aggregation, Synchronization, Collecting, Distributing]
0x0000: 4866 0009 00ff 0002 3f00 0000 0214 0001
0x0010: 001e
Partner Information TLV (0x02), length: 20
System 00:1e:58:9e:fe:5f, System Priority 1, Key 5, Port 6, Port Priority 1
State Flags [Timeout, Aggregation, Synchronization, Collecting, Distributing]
0x0000: fe5f 0005 0001 0006 3e00 0000 0310 0000
0x0010: 0000
Collector Information TLV (0x03), length: 16
Max Delay 0
0x0000: 0000 0000 0000 0000 0000 0000 0000
Terminator TLV (0x00), length: 0 (=52)
packet exceeded snapshot
2 packets captured
2 packets received by filter
0 packets dropped by kernel