From owner-freebsd-net@FreeBSD.ORG Thu Dec 4 21:10:48 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 10C5C792 for ; Thu, 4 Dec 2014 21:10:48 +0000 (UTC) Received: from mail-pd0-x235.google.com (mail-pd0-x235.google.com [IPv6:2607:f8b0:400e:c02::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 C3C82637 for ; Thu, 4 Dec 2014 21:10:47 +0000 (UTC) Received: by mail-pd0-f181.google.com with SMTP id v10so13195072pde.40 for ; Thu, 04 Dec 2014 13:10:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dpdtech.com; s=google; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=fPPJ7WfQxcZzZU5FCVM09ylXpu22i0W0zA+JWotWJ4w=; b=VnXjT4/Ar3Am6iYFc7V8s3E3c4dgKY4yDRdB7u6lrPEKyH+Obgj13bl9PcjouQ17s+ fbBMHrZi/iCaME+MgLAQbK8R3fViNxMeABDh2vz8pGI93TNAD1gwGa5OuoWWwr3oPQjm 5yOfZQxCXm6ZbYmD8aVa+lLNyeKPucEm5vwfg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=fPPJ7WfQxcZzZU5FCVM09ylXpu22i0W0zA+JWotWJ4w=; b=G0DDvhAwqcM8HQr7EGVEbebG8jl0MSCSjAWU3rTvuXdldH6D4iHdYkMkY9mdRgRjXZ R+KLFS2KQRBFh0gFEj3nqgidd9mmdmgGm3fDzxK4icdsc32cGHfUpvE8KgHA4jk8O5Ss 3CNeZeXnttBW2ffmBq5S3SlMgos3iq/t4c/dMz/ReThnja0m8zFKgjaqNY8of0SbDiy7 4jUXVQXrw03WgmxyCZ5eKxTQCqS5JyeutiaTUTG5BaJIEqcBc1/3TtMsl7tzwplyWSR3 YdKpP4EIq/BzJSUItDV+VvQBPtE9wQrNVDUq7gH6mT/JkKwkOujnCBCzPZ2gwaQfSTh1 xixA== X-Gm-Message-State: ALoCoQm5sw536m9rzDpE+k3zaTEJzSCznCYB1jmRo52gsDmehVIN8vBYfdzunSBczrw5peJfoxPu X-Received: by 10.70.136.202 with SMTP id qc10mr21977801pdb.152.1417727447391; Thu, 04 Dec 2014 13:10:47 -0800 (PST) Received: from 173-13-188-41-sfba.hfc.comcastbusiness.net (173-13-188-41-sfba.hfc.comcastbusiness.net. [173.13.188.41]) by mx.google.com with ESMTPSA id w1sm9946582pdf.38.2014.12.04.13.10.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 04 Dec 2014 13:10:46 -0800 (PST) Content-Type: multipart/signed; boundary="Apple-Mail=_3AE43373-3AAC-42D5-8BEE-0F93BCFA1EDE"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: FreeBSD 10-stable (r274577) LACP / IEEE 802.3ad with TP-Link TL-SG2008 - not working From: "David P. Discher" In-Reply-To: Date: Thu, 4 Dec 2014 13:10:45 -0800 Message-Id: <9AE69175-92D9-49FA-A651-119C7046A1FA@dpdtech.com> References: <1A44709E-7D0C-4932-8A28-383EAC3F340B@dpdtech.com> To: Alan Somers X-Mailer: Apple Mail (2.1878.6) Cc: FreeBSD Net 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, 04 Dec 2014 21:10:48 -0000 --Apple-Mail=_3AE43373-3AAC-42D5-8BEE-0F93BCFA1EDE Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Dec 4, 2014, at 12:50 PM, Alan Somers wrote: >> Not sure if the attachment will work to the list, but here is a pcap = attached em1 (sudo tcpdump -i em1 -s 0 -w lacp.pcap). Attaching to the = lagg0 with tcpdump, filters out the freebsd=92s LACP packets, but still = sees the TP-Link=92s packets. >=20 > Did you remember to configure the switch to use LACP on those ports? > It isn't automatic. And did you remember to manually up em1? Those > are the two commonest LACP configuration mistakes. >=20 > -Alan 99% sure the switch is configured correctly. I=92ve actually tried all = the different combination of the switch supports, and can=92t seem to = get them to sync up. =46rom the pcaps, both the host and switch are = sending the LACP packets =85 but it seems that the freebsd is just = passing them through/up =85 almost like FreeBSD doesn=92t recognized = them as LACP packets.=20 In looking a bit deeper on the pcaps in wireshark - the TP-Link=92s = packet correctly labels the =93partner=94 systems to the super = micro/freebsd box by port and mac address, however the FreeBSD response = has all zeros for the partner systems mac and port. So without looking = at the logs on the switch, my guess is the switch correctly sees the = FreeBSD box, however the FreeBSD box is not correctly recognizing the = packets from the switch as LACP.=20 Feels like a single bit or flag in the switches packets that is not = matching what FreeBSD is expecting.=20 I was hoping someone would have some insight before I start looking at = each bit of the packets what=92s not aligned. - David P. Discher http://davidpdischer.com/ AIM: DavidDPD | Y!M: daviddpdz=20 --Apple-Mail=_3AE43373-3AAC-42D5-8BEE-0F93BCFA1EDE Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJUgM3VAAoJEEmwU6XuhYWOmDAH/2VpBGNYhLTvSPk3n4zd5UTj KxfiJvBG1JOldYs3PCjqeb+Eq/L+pdNACxS5SThQyxsqcjLmNLUtxrmBCBOcXh7P VpCDEq7U/n0XD0ANOt6uBBQOaiI6FaNutZ5iWF5HF4fTTbsAr5r7tN3ORRJpCIpo YzU479bH5oitO+cf31GNnis9MymoifKCzXtNIMzAplIfUNGoVQiSTKWQ5B22Z+KS Ab+LqXKgueVzdWaoWu9dejRXd7oUvUGYUL5olVl1vnJO3TK0LPnzOapEq7s4My/L i42ZoFNcBuzkDw7DaZ1mLi9CBivJ6j+2nsQPqRR9Bxo5j2E9PKwXGyIYLJiaRbc= =s63r -----END PGP SIGNATURE----- --Apple-Mail=_3AE43373-3AAC-42D5-8BEE-0F93BCFA1EDE--