From owner-freebsd-net@FreeBSD.ORG Thu Dec 18 05:12:02 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 345BEBEA for ; Thu, 18 Dec 2014 05:12:02 +0000 (UTC) Received: from mail-la0-x235.google.com (mail-la0-x235.google.com [IPv6:2a00:1450:4010:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9DFDD1C9D for ; Thu, 18 Dec 2014 05:12:01 +0000 (UTC) Received: by mail-la0-f53.google.com with SMTP id gm9so365239lab.26 for ; Wed, 17 Dec 2014 21:11:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=aSANNfVP00/KjZNxAyGMMECuA4p0U5jdbWthQQwDiNw=; b=vRy5WW/ujSabNb4Y0V9ixF60OcR3pw2hUVc3iYX+j791sKdminAoJqFISOE6GSajf7 K77RerVv7bQjqGmreKcXhNPBeU4QiAewJF3OuXjQIDHZYE0Wf7hoopEXRObJck6cKpv8 QrbLWBfze8bp2cVCMNmkdmdJh1yzuXVlc22gUP/jPeG7kys0fZjoyTyjisNBXNRUO3Ov c9JTuSSz8o44yPEo/ut7x0Wv8KWV3+0eoCtaob6ZrASNuKmYU9GFleObXCreIiGTYVlm 96gygti4Mr1GMcMiQs8n7s8c1drhRB69d1Ae95vDhjLBz8F90s3rK9C089RwfpC55vLA 7adw== MIME-Version: 1.0 X-Received: by 10.152.88.44 with SMTP id bd12mr215498lab.88.1418879519618; Wed, 17 Dec 2014 21:11:59 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.112.130.168 with HTTP; Wed, 17 Dec 2014 21:11:59 -0800 (PST) In-Reply-To: References: <1A44709E-7D0C-4932-8A28-383EAC3F340B@dpdtech.com> <9AE69175-92D9-49FA-A651-119C7046A1FA@dpdtech.com> <5480D8EF.9000804@egr.msu.edu> <3D993418-E632-44BA-8FE2-2F3F34188F20@dpdtech.com> <34276C9E-CAEF-4E3F-AA2A-568F2D3099EC@dpdtech.com> <2BCFC9D3-3B7D-421F-9FDA-0C4E1018F8F5@dpdtech.com> Date: Wed, 17 Dec 2014 21:11:59 -0800 X-Google-Sender-Auth: TfYjahQumb5aeJtBrmKmrhMgSUU Message-ID: Subject: Re: FreeBSD 10-stable (r274577) LACP / IEEE 802.3ad with TP-Link TL-SG2008 - not working From: Craig Rodrigues To: "David P. Discher" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Net , Adam McDougall X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Dec 2014 05:12:02 -0000 On Wed, Dec 17, 2014 at 9:08 PM, Craig Rodrigues wrote: > > > > On Wed, Dec 17, 2014 at 5:36 PM, David P. Discher wrote: >> >> >> Yeah, Alan - will do ... if I decided to look into more. That is why I was >> looking for spec on LACP. One side is doing it wrong. FreeBSD is looking >> for a LACPDU of exactly sizeof ( struct lacpdu ) which is 124 bytes. The >> TP-Link is sending a PDU of 128 bytes. I was hoping someone would know off >> hand what the spec says, if the PDU "should be" or "must be". >> > > > I think you have stumbled across a valid problem in the FreeBSD code. I > don't have access > to 802.3ad-2000, but this might give you some clues: > http://kb.juniper.net/InfoCenter/index?page=content&id=KB17674 > > I would also look at the source code of wireshark to be sure. wireshark > has a sample capture of LACP packets here: > > http://wiki.wireshark.org/LinkAggregationControlProtocol > > And here: http://www-01.ibm.com/support/docview.wss?uid=isg1VM64842 -- Craig