Date: Thu, 4 Dec 2014 20:41:37 -0800 From: "David P. Discher" <dpd@dpdtech.com> To: Adam McDougall <mcdouga9@egr.msu.edu> Cc: freebsd-net@freebsd.org Subject: Re: FreeBSD 10-stable (r274577) LACP / IEEE 802.3ad with TP-Link TL-SG2008 - not working Message-ID: <3D993418-E632-44BA-8FE2-2F3F34188F20@dpdtech.com> In-Reply-To: <5480D8EF.9000804@egr.msu.edu> References: <1A44709E-7D0C-4932-8A28-383EAC3F340B@dpdtech.com> <CAOtMX2gEGxTyXjitBu=pjkteocp1pSGxnb%2BWDb_jL3f0YNOjrg@mail.gmail.com> <9AE69175-92D9-49FA-A651-119C7046A1FA@dpdtech.com> <5480D8EF.9000804@egr.msu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <mcdouga9@egr.msu.edu> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu = 1500 = options=3D4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL= _MAGIC,VLAN_HWTSO> 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<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect status: active laggproto lacp lagghash l2,l3,l4 laggport: em1 flags=3D1c<ACTIVE,COLLECTING,DISTRIBUTING> 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<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING,DEFAULT= ED> partner=3D(FFFF,00-00-00-00-00-00,0000,FFFF,0000) partner.state=3D3c<AGGREGATION,SYNC,COLLECTING,DISTRIBUTING> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D993418-E632-44BA-8FE2-2F3F34188F20>