From owner-freebsd-net@FreeBSD.ORG Thu Dec 18 05:08:36 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C748EB3F for ; Thu, 18 Dec 2014 05:08:36 +0000 (UTC) Received: from mail-la0-x230.google.com (mail-la0-x230.google.com [IPv6:2a00:1450:4010:c03::230]) (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 5B8141BE8 for ; Thu, 18 Dec 2014 05:08:36 +0000 (UTC) Received: by mail-la0-f48.google.com with SMTP id gf13so364430lab.21 for ; Wed, 17 Dec 2014 21:08:34 -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=eP2/eXsbhek4RpRgHmorbbYbTuGICSgpD9dxzYHSVtE=; b=PRFUQpMgb99gctYOo21bLPj7nAURu/uA2NlTutnNl/h3lXvZ5O740P6JKhdBbB1paj aDta+JLEt+lZsOWHVvKVBWF3TbHk+wXWN3nq+MCmbagT668JuCt3WD1D5NViPaOLXvHI Bg6tjBBix0d2HVn7Az/UCa5A+D/7+XqwHls0pcQx1yvATws3eWBnQVqjDFEqEbYBiIfb pOIc6J2AK0R88ktIMmS5hAXOMK3OXHOrxYmhkFcqmo98hwSgEwDNLH7sAs7zOnXWvHLJ +HhCwpk1PBeYZQvCK0wHHhcHuNNYDelGg3aDeGU5Ahs7kirMNjJZzzikKcDiwd5Bs1xx NW5A== MIME-Version: 1.0 X-Received: by 10.152.23.38 with SMTP id j6mr145777laf.81.1418879314351; Wed, 17 Dec 2014 21:08:34 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.112.130.168 with HTTP; Wed, 17 Dec 2014 21:08:34 -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:08:34 -0800 X-Google-Sender-Auth: AgQzyRXgLtqZWpQloOjIunw-ScE 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:08:37 -0000 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 -- Craig