From owner-freebsd-net@FreeBSD.ORG Fri Dec 5 04:41:38 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 3257F938 for ; Fri, 5 Dec 2014 04:41:38 +0000 (UTC) Received: from mail-pa0-x233.google.com (mail-pa0-x233.google.com [IPv6:2607:f8b0:400e:c03::233]) (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 ED915CF4 for ; Fri, 5 Dec 2014 04:41:37 +0000 (UTC) Received: by mail-pa0-f51.google.com with SMTP id ey11so19549621pad.10 for ; Thu, 04 Dec 2014 20:41:37 -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=uZWkUsOG6SqMzPJKkdIrA3PFQcHWm1a4fUF7I4KjEOU=; b=F83NuST/KDytfGXTUukM0YjQHIUsqo4Y4Sz1o3HMA3nReD4AShQ4O2hTcgoDKzRJUJ zN+SGnej08rHgQ1KfkjBdw9ihmXAD2IoCUVXEAQCJEJwIjQRI61jxZe2M7YsdLLwI5V5 Sgmtl4K/LplKI4Bg6tFf94QMV3ViOl42QNMdQ= 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=uZWkUsOG6SqMzPJKkdIrA3PFQcHWm1a4fUF7I4KjEOU=; b=RO/LY/RxeuZ2yV+hrUUPuom6syMFC32tP0fsljaWJzBwYSkTiCtWuoxmgbY02SWFrH KM05FBjHwRQQnMbWf8gtaxwvvI2rAS/RtYPDoFWxq8AyclSIIkKLpPIhCtO+7sjo+nHu pjvm3/JawcHvy8XZJhoPBqcdDly/5ymFjosJUFjofA8JeCTJI9oH9/KrMGYczvKrdCIF 36AQtVA8kU+LXgsuuzzNOcfSwDYyy2VFP5wRDiWlgToRagketzJt4JtnjlLxPOZcmhue 8nyv8onvU/zR86VEwbEuoMw/Wo200ADj7k+CSMQ/MEgiswfSbyc1Ezo6LM7wWT9BzIZQ akbQ== X-Gm-Message-State: ALoCoQmuWgWzqY/pTUrAzUvxJFxygcbkDGi1OzJv3qgNt3WQZaj+sxcZgtL6ksPrCpmQ0BuJ8o7b X-Received: by 10.66.138.72 with SMTP id qo8mr25199822pab.84.1417754497329; Thu, 04 Dec 2014 20:41:37 -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 oy7sm6341066pbc.88.2014.12.04.20.41.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 04 Dec 2014 20:41:36 -0800 (PST) Content-Type: multipart/signed; boundary="Apple-Mail=_E271A989-FA5B-4C6B-9CEA-657E06CA4527"; 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: <5480D8EF.9000804@egr.msu.edu> Date: Thu, 4 Dec 2014 20:41:37 -0800 Message-Id: <3D993418-E632-44BA-8FE2-2F3F34188F20@dpdtech.com> References: <1A44709E-7D0C-4932-8A28-383EAC3F340B@dpdtech.com> <9AE69175-92D9-49FA-A651-119C7046A1FA@dpdtech.com> <5480D8EF.9000804@egr.msu.edu> To: Adam McDougall X-Mailer: Apple Mail (2.1878.6) Cc: freebsd-net@freebsd.org 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: Fri, 05 Dec 2014 04:41:38 -0000 --Apple-Mail=_E271A989-FA5B-4C6B-9CEA-657E06CA4527 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Thanks Adam - On Dec 4, 2014, at 1:58 PM, Adam McDougall wrote: >=20 > Is the switch side set to "active" for the lacp mode (instead of > passive)? Also, try: > sysctl net.link.lagg.0.lacp.lacp_strict_mode=3D0 >=20 > If either of those work, I'll explain more, don't have time to dig for > old email right this minute. Yes, the switch was in active mode. Turn strict mode off (which I = thought I did before, but of course this sysctl clears when destroying = the interface). So, the LACP did finally negotiated, at least in = ifconfig : lagg0: flags=3D8843 metric 0 mtu = 1500 = options=3D4219b ether 00:30:48:35:cc:25 inet 192.168.0.50 netmask 0xffffff00 broadcast 192.168.0.255 inet6 fe80::230:48ff:fe35:cc25%lagg0 prefixlen 64 scopeid 0x4 nd6 options=3D21 media: Ethernet autoselect status: active laggproto lacp lagghash l2,l3,l4 laggport: em1 flags=3D1c lacp debug shows good info - though the partner info from the freebsd = host is still zeros.=20 em1: lacpdu transmit actor=3D(8000,00-30-48-35-CC-25,008B,8000,0002) = actor.state=3D7d partner=3D(FFFF,00-00-00-00-00-00,0000,FFFF,0000) partner.state=3D3c maxdelay=3D0 But it=92s not passing any traffic. The switch however does not see the = mac address via lagg0. Turning lagg0 off, and just running em1, with = the same ip, it works. Got ssh going on the switch: TL-SG2008#show mac address-table interface gigabitEthernet 1/0/5 =09 MAC vlan-id port type aging --- ------- ---- ---- ----- =09 =09 TL-SG2008# TL-SG2008#show lacp internal Flags: S - Device is requesting Slow LACPDUs F - Device is requesting Fast LACPDUs A - Device is in active mode P - Device is = in passive mode =09 Channel group 4 LACP = port Admin Oper Port Port Port Flags State Priority Key Key = Number State Gi1/0/5 SA Up 32768 0x4 0x270 0x5 = 0x5 =09 Channel group 5 LACP = port Admin Oper Port Port Port Flags State Priority Key Key = Number State Gi1/0/8 SA Up 32768 0x5 0x35f 0x8 = 0x7d Doing another pcap on the lagg0 and em1 =85 the arp is being sent on the = lagg =85 however it is not being past down to em1.=20 What even makes less sense, as typing this email =85 the ping to my = MacBook (with has staticly assigned 192.168.0.2) wakes up, but the ping = from my macbook to the NAS-lagg (192.168.0.50) doesn=92t do anything. = PCAP of em1 while this is was happening, shows nothing.=20 =09 [ pts/0 nas.dpdtech.com:~ ] = =20 [ dpd ]> ping 192.168.0.2 PING 192.168.0.2 (192.168.0.2): 56 data bytes 64 bytes from 192.168.0.2: icmp_seq=3D13 ttl=3D64 time=3D1.127 = ms 64 bytes from 192.168.0.2: icmp_seq=3D14 ttl=3D64 time=3D0.987 = ms 64 bytes from 192.168.0.2: icmp_seq=3D15 ttl=3D64 time=3D95.997 = ms 64 bytes from 192.168.0.2: icmp_seq=3D16 ttl=3D64 time=3D108.118 = ms 64 bytes from 192.168.0.2: icmp_seq=3D17 ttl=3D64 time=3D1.033 = ms =09 64 bytes from 192.168.0.2: icmp_seq=3D62 ttl=3D64 time=3D0.975 = ms 64 bytes from 192.168.0.2: icmp_seq=3D63 ttl=3D64 time=3D1.050 = ms 64 bytes from 192.168.0.2: icmp_seq=3D64 ttl=3D64 time=3D1.002 = ms 64 bytes from 192.168.0.2: icmp_seq=3D65 ttl=3D64 time=3D1.029 = ms 64 bytes from 192.168.0.2: icmp_seq=3D66 ttl=3D64 time=3D1.079 = ms 64 bytes from 192.168.0.2: icmp_seq=3D70 ttl=3D64 time=3D0.957 = ms =09 64 bytes from 192.168.0.2: icmp_seq=3D90 ttl=3D64 time=3D0.987 = ms 64 bytes from 192.168.0.2: icmp_seq=3D92 ttl=3D64 time=3D0.988 = ms 64 bytes from 192.168.0.2: icmp_seq=3D93 ttl=3D64 time=3D1.050 = ms 64 bytes from 192.168.0.2: icmp_seq=3D94 ttl=3D64 time=3D88.678 = ms 64 bytes from 192.168.0.2: icmp_seq=3D95 ttl=3D64 time=3D1.059 = ms =09 64 bytes from 192.168.0.2: icmp_seq=3D120 ttl=3D64 time=3D1.118 = ms 64 bytes from 192.168.0.2: icmp_seq=3D121 ttl=3D64 time=3D1.276 = ms 64 bytes from 192.168.0.2: icmp_seq=3D144 ttl=3D64 time=3D53.300 = ms =09 64 bytes from 192.168.0.2: icmp_seq=3D191 ttl=3D64 time=3D93.479 = ms 64 bytes from 192.168.0.2: icmp_seq=3D192 ttl=3D64 time=3D68.839 = ms 64 bytes from 192.168.0.2: icmp_seq=3D193 ttl=3D64 time=3D1.019 = ms 64 bytes from 192.168.0.2: icmp_seq=3D194 ttl=3D64 time=3D1.096 = ms 64 bytes from 192.168.0.2: icmp_seq=3D195 ttl=3D64 time=3D1.031 = ms 64 bytes from 192.168.0.2: icmp_seq=3D241 ttl=3D64 time=3D0.993 = ms 64 bytes from 192.168.0.2: icmp_seq=3D242 ttl=3D64 time=3D1.095 = ms 64 bytes from 192.168.0.2: icmp_seq=3D243 ttl=3D64 time=3D1.482 = ms Feels like some there is some glue missing. - David P. Discher http://davidpdischer.com/ AIM: DavidDPD | Y!M: daviddpdz=20 --Apple-Mail=_E271A989-FA5B-4C6B-9CEA-657E06CA4527 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 iQEcBAEBCgAGBQJUgTeCAAoJEEmwU6XuhYWOX5gH/3wWp8sxlAho+Q9GScLvsCIw mGq9H5o53DQN/9s6c3iQJXJQtSKWsw8OQ++cEp4k/uK6NN5iF43326If52Eowx8q LWA3J4QZEtYm03Q4IRzH0e6J8agx78SmrVR/0tTrTjz6FkAVgTV+ZnTZfb3o9s6t 7t9PxFh1t752UqsRlnGX9ZI4498H7wxs7pIpOD2Aq7O7fAjPoR/WhPFWziuLbOOl DXv65FdYRf7wgNlSFXPMEd2/ywY0bcAePluOzdh1+nJJXj0+RL9hXrDvIDjEBAjh R9GgRy/nBwIcCrDpqjVJrPgMUkBqM3ZkHQ5ltlykfQaFzo5wGHp/W6FtQArO3kE= =E4Hp -----END PGP SIGNATURE----- --Apple-Mail=_E271A989-FA5B-4C6B-9CEA-657E06CA4527--