lagg interface doesn't work

Eugene Grosbein eugen at grosbein.net
Thu Oct 5 14:37:29 UTC 2017


On 05.10.2017 20:24, rainer at ultra-secure.de wrote:
> Am 2017-10-05 14:34, schrieb Eugene Grosbein:
>> On 05.10.2017 19:25, rainer at ultra-secure.de wrote:
>>> Am 2017-10-05 14:12, schrieb Eugene Grosbein:
>>>> On 05.10.2017 18:20, rainer at ultra-secure.de wrote:
>>>>
>>>>> 11.1-AMD64.
>>>>
>>>> Please run "tcpdump -enp -i bxe0" to see, if it shows incoming and/or
>>>> outgoing
>>>> LACP ethernet frames while lagg tries to negotiate its state with
>>>> partner switch,
>>>> and show output.
>>>
>>>
>>> (server-prod </root>) 0 # tcpdump -r out1.dmp
>>> reading from file out1.dmp, link-type EN10MB (Ethernet)
>>> 12:20:15.163568 LACPv1, length 110
>>> 12:20:16.212569 LACPv1, length 110
>>> 12:20:19.389730 MARKERv1, length 110
>>> 12:20:19.389733 LACPv1, length 110
>>> 12:20:20.449569 MARKERv1, length 110
>>> 12:20:47.372875 LACPv1, length 110
>>> 12:21:18.527876 LACPv1, length 110
>>> 12:21:49.891923 LACPv1, length 110
>>
>> I asked for -enp flags for a reason, please use them.
>> And even better -enpv.
> 
> 
> ah, sorry.
> 
> reading from file out1.dmp, link-type EN10MB (Ethernet)
> 12:20:15.163568 2c:44:fd:8e:0a:68 > 01:80:c2:00:00:02, ethertype Slow 
> Protocols (0x8809), length 124: LACPv1, length 110
> 	Actor Information TLV (0x01), length 20
> 	  System 2c:44:fd:8e:0a:68, System Priority 32768, Key 274, Port 1, 
> Port Priority 32768
> 	  State Flags [Activity, Aggregation, Expired]
> 	Partner Information TLV (0x02), length 20
> 	  System 00:00:00:00:00:00, System Priority 0, Key 0, Port 0, Port 
> Priority 0
> 	  State Flags [Timeout]
> 	Collector Information TLV (0x03), length 16
> 	  Max Delay 0
> 	Terminator TLV (0x00), length 0
> 12:20:16.212569 2c:44:fd:8e:0a:68 > 01:80:c2:00:00:02, ethertype Slow 
> Protocols (0x8809), length 124: LACPv1, length 110
> 	Actor Information TLV (0x01), length 20
> 	  System 2c:44:fd:8e:0a:68, System Priority 32768, Key 274, Port 1, 
> Port Priority 32768
> 	  State Flags [Activity, Aggregation, Default]
> 	Partner Information TLV (0x02), length 20
> 	  System 00:00:00:00:00:00, System Priority 65535, Key 0, Port 0, Port 
> Priority 65535
> 	  State Flags [Aggregation, Synchronization, Collecting, Distributing]
> 	Collector Information TLV (0x03), length 16
> 	  Max Delay 0
> 	Terminator TLV (0x00), length 0
> 12:20:19.389730 2c:44:fd:8e:0a:68 > 01:80:c2:00:00:02, ethertype Slow 
> Protocols (0x8809), length 124: MARKERv1, length 110
> 	Marker Information TLV (0x01), length 16
> 	  Request System 2c:44:fd:8e:0a:68, Request Port 1, Request Transaction 
> ID 0x00000001
> 	Terminator TLV (0x00), length 0
> 12:20:19.389733 2c:44:fd:8e:0a:68 > 01:80:c2:00:00:02, ethertype Slow 
> Protocols (0x8809), length 124: LACPv1, length 110
> 	Actor Information TLV (0x01), length 20
> 	  System 2c:44:fd:8e:0a:68, System Priority 32768, Key 274, Port 1, 
> Port Priority 32768
> 	  State Flags [Activity, Aggregation, Synchronization, Collecting, 
> Distributing, Default]
> 	Partner Information TLV (0x02), length 20
> 	  System 00:00:00:00:00:00, System Priority 65535, Key 0, Port 0, Port 
> Priority 65535
> 	  State Flags [Aggregation, Synchronization, Collecting, Distributing]
> 	Collector Information TLV (0x03), length 16
> 	  Max Delay 0
> 	Terminator TLV (0x00), length 0
> 12:20:20.449569 2c:44:fd:8e:0a:68 > 01:80:c2:00:00:02, ethertype Slow 
> Protocols (0x8809), length 124: MARKERv1, length 110
> 	Marker Information TLV (0x01), length 16
> 	  Request System 2c:44:fd:8e:0a:68, Request Port 1, Request Transaction 
> ID 0x00000002
> 	Terminator TLV (0x00), length 0
> 12:20:47.372875 2c:44:fd:8e:0a:68 > 01:80:c2:00:00:02, ethertype Slow 
> Protocols (0x8809), length 124: LACPv1, length 110
> 	Actor Information TLV (0x01), length 20
> 	  System 2c:44:fd:8e:0a:68, System Priority 32768, Key 274, Port 1, 
> Port Priority 32768
> 	  State Flags [Activity, Aggregation, Synchronization, Collecting, 
> Distributing, Default]
> 	Partner Information TLV (0x02), length 20
> 	  System 00:00:00:00:00:00, System Priority 65535, Key 0, Port 0, Port 
> Priority 65535
> 	  State Flags [Aggregation, Synchronization, Collecting, Distributing]
> 	Collector Information TLV (0x03), length 16
> 	  Max Delay 0
> 	Terminator TLV (0x00), length 0
> 12:21:18.527876 2c:44:fd:8e:0a:68 > 01:80:c2:00:00:02, ethertype Slow 
> Protocols (0x8809), length 124: LACPv1, length 110
> 	Actor Information TLV (0x01), length 20
> 	  System 2c:44:fd:8e:0a:68, System Priority 32768, Key 274, Port 1, 
> Port Priority 32768
> 	  State Flags [Activity, Aggregation, Synchronization, Collecting, 
> Distributing, Default]
> 	Partner Information TLV (0x02), length 20
> 	  System 00:00:00:00:00:00, System Priority 65535, Key 0, Port 0, Port 
> Priority 65535
> 	  State Flags [Aggregation, Synchronization, Collecting, Distributing]
> 	Collector Information TLV (0x03), length 16
> 	  Max Delay 0
> 	Terminator TLV (0x00), length 0
> 12:21:49.891923 2c:44:fd:8e:0a:68 > 01:80:c2:00:00:02, ethertype Slow 
> Protocols (0x8809), length 124: LACPv1, length 110
> 	Actor Information TLV (0x01), length 20
> 	  System 2c:44:fd:8e:0a:68, System Priority 32768, Key 274, Port 1, 
> Port Priority 32768
> 	  State Flags [Activity, Aggregation, Synchronization, Collecting, 
> Distributing, Default]
> 	Partner Information TLV (0x02), length 20
> 	  System 00:00:00:00:00:00, System Priority 65535, Key 0, Port 0, Port 
> Priority 65535
> 	  State Flags [Aggregation, Synchronization, Collecting, Distributing]
> 	Collector Information TLV (0x03), length 16
> 	  Max Delay 0
> 	Terminator TLV (0x00), length 0

This shows that systems sends outgoing LACP multicast ethernet frames just fine,
but NIC chip does not deliver incoming multicast frames (unless switched to promisc. mode).

It may be possible that non-LACP and non-lagg configuration affected too,
like multicast-based protocols OSPF, RIPv2 or even IPv6 that relies on multicast heavily.

SomeOne(TM) with real bxe hardware in hands and code knowledge should commit more tests...



More information about the freebsd-net mailing list