Date: Thu, 5 Oct 2017 21:37:15 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: rainer@ultra-secure.de Cc: freebsd-net@freebsd.org Subject: Re: lagg interface doesn't work Message-ID: <59D6439B.6010000@grosbein.net> In-Reply-To: <90c8f62dfa88a6ade5265fed68473a6e@ultra-secure.de> References: <F95A6802-8EC3-4027-8AA0-B38118F9A8D9@ultra-secure.de> <59D5E81A.5080700@grosbein.net> <90efe3d3524854f2a28e14f6496b8d88@ultra-secure.de> <59D5F317.8030104@grosbein.net> <436c7745802ce7ca9d196cccf600828a@ultra-secure.de> <59D621C9.1070704@grosbein.net> <9cc65618239aeb15abe707e9734b493a@ultra-secure.de> <59D626EB.50006@grosbein.net> <90c8f62dfa88a6ade5265fed68473a6e@ultra-secure.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 05.10.2017 20:24, rainer@ultra-secure.de wrote: > Am 2017-10-05 14:34, schrieb Eugene Grosbein: >> On 05.10.2017 19:25, rainer@ultra-secure.de wrote: >>> Am 2017-10-05 14:12, schrieb Eugene Grosbein: >>>> On 05.10.2017 18:20, rainer@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...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59D6439B.6010000>