From owner-freebsd-net@FreeBSD.ORG Mon Feb 3 09:11:19 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 21150924 for ; Mon, 3 Feb 2014 09:11:19 +0000 (UTC) Received: from mail.niessen.ch (btx02.niessen.ch [85.10.192.239]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9B7451E4B for ; Mon, 3 Feb 2014 09:11:18 +0000 (UTC) Received: from mail.niessen.ch (mail.niessen.ch [127.0.10.3]) by mail.niessen.ch (Postfix) with ESMTP id EB60C102B85 for ; Mon, 3 Feb 2014 10:11:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=niessen.ch; h=message-id :date:from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; s=dkim-2012; bh=/ZRdm4B kZlJH+4/xmadhIigQt3Czmzk8ErruHF0Y7Ok=; b=AE+ZXC+Hgp5WjF7iP7BDm3S 98dlTqMpo8rDI+/xpErOC98KgxCoCLXihpBExaUgEpXwzTdNtJXipLoyMN9qyN2U R/xQbi/4Jh5cVeboTFv9n/e3E/9RxpnWXAXI2hHVSyk31n4ggRARaUA2oWI1UwRo X1uRIQZ9AaDBUe1BFn0A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=niessen.ch; h=message-id :date:from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=dkim-2012; b=b KsYip8p+jEBCN0D1faTB874PNRUJ5W/ExuhrU1hB5Jc1DEsceSEITSokXkbyoU9N m1BKgk5K46hp+SdCUY0grsWwCIgMSr4BPrRF+6BMhpEZviNhELhh0axSUO9vXdQe FAAjvx17Ka6678JsMAnwL1iv36C/tgHlJzOzo3n2hM= Received: from [172.20.10.3] (unknown [178.197.236.128]) by mail.niessen.ch (Postfix) with ESMTPSA id B31E3102B84 for ; Mon, 3 Feb 2014 10:11:16 +0100 (CET) Message-ID: <52EF5D1E.2000306@niessen.ch> Date: Mon, 03 Feb 2014 10:10:54 +0100 From: Ben User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: Re: kern/185967: Link Aggregation LAGG: LACP not working in 10.0 References: <52EF50A7.1050205@niessen.ch> <1C608452-6F29-486D-BC0F-CCC7853665C7@yahoo.com> <52EF55FE.8030901@niessen.ch> <1798FE17-5718-4125-8B00-1B00DC44B828@yahoo.com> In-Reply-To: <1798FE17-5718-4125-8B00-1B00DC44B828@yahoo.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Feb 2014 09:11:19 -0000 Hi, I set strict mode to 0 but no use. I do receive PDU messages. igb0: lacpdu transmit actor=3D(...) actor.state=3D4d partner=3D(...) partner.state=3D0 maxdelay=3D0 Thanks Ben On 03.02.2014 10:03, Scott Long wrote: > Hi, > > Unfortunately, you can=92t control the strict mode globally. My apolog= ies for this mess, I=92ll make sure that it=92s fixed for FreeBSD 10.1. = If the sysctl doesn=92t help then maybe consider compiling a custom kerne= l with it defaulted to 0. You=92ll need to open /sys/net/ieee802ad_lacp.= c and look for the function lacp_attach(). You=92ll see the strict_mode = assign underneath that. I=92ll also send you a patch in a few minutes. = Until then, try enabling net.link.lagg.lacp.debug=3D1 and see if you=92re= receiving heartbeat PDU=92s from your switch. > > Scott > > On Feb 3, 2014, at 1:40 AM, Ben wrote: > >> Hi Scott, >> >> I had tried to set it in /etc/sysctl.conf but seems it didnt work. But= will I try again and report back. >> >> The settings of the switch have not been changed and are set to LACP. = It worked before so I guess the switch should not be the problem. Maybe s= ome incompatibility between FreeBSD + igb-driver + switch (Juniper EX3300= -48T). >> >> I will update you after setting the sysctl setting. It seems to be "dy= namic", I guess 0 reflects the index of LACP lagg devices. Can I switch o= ff the strict mode globally in /etc/sysctl.conf? >> >> Thanks for your help. >> >> Regards >> Ben >> >> On 03.02.2014 09:31, Scott Long wrote: >>> Hi, >>> >>> You=92re probably running into the consequences of r253687. Check to= see the value of =91sysctl net.link.lagg.0.lacp.lacp_strict_mode=92. If= it=92s =911=92 then set it to 0. My original intention was for this to = default to 0, but apparently that didn=92t happen. However, the fact tha= t strict mode doesn=92t seem to work at all for you might hint that your = switch either isn=92t configured correctly for LACP, or doesn=92t actuall= y support LACP at all. You might want to investigate that. >>> >>> Scott >>> >>> On Feb 3, 2014, at 1:17 AM, Ben wrote: >>> >>>> Hi, >>>> >>>> I upgraded from FreeBSD 9.2-RELEASE to 10.0-RELEASE. FreeBSD 9.2 was= configured to use LACP with two igb devices. >>>> >>>> Now it stopped working after the upgrade. >>>> >>>> This is a screenshot of ifconfig -a after the upgrade to FreeBSD 10.= 0-RELEASE: http://tinypic.com/view.php?pic=3D28jvgpw&s=3D5#.Uu9PXT1dVPM >>>> >>>> A PR is currently open: http://www.freebsd.org/cgi/query-pr.cgi?pr=3D= kern/185967 >>>> >>>> It is set to low, but I would like somebody to have a look into it a= s it obviously has a great influence on our infrastructure. The only way = to "solve" it is currently switching back to FreeBSD 9.2. >>>> >>>> The suggested fix "use failover" seems not to work. >>>> >>>> Thank you for your help. >>>> >>>> Best regards >>>> Ben >>>> _______________________________________________ >>>> freebsd-net@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-net >>>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.or= g" >>> _______________________________________________ >>> freebsd-net@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-net >>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org= " >>> >>> >>> >>> >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > !DSPAM:1,52ef5c19888823082815771! > >