From owner-freebsd-stable@freebsd.org Tue Nov 17 19:43:48 2015 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A1D06A313BA for ; Tue, 17 Nov 2015 19:43:48 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BDF11E36 for ; Tue, 17 Nov 2015 19:43:48 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: by wmec201 with SMTP id c201so42236210wme.1 for ; Tue, 17 Nov 2015 11:43:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:cc:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=Go5ExD0dqCV/RzhLgjs7GI/5I69yhlNzvPSOqjV9xxg=; b=cKVfbJduyAHphcQF7uqtFrnEjYpSYq9JdpyFg/eol4WPLLNFbjpmA/y/Wsu/gQEGnw ZCE8UW0m6ULT81Y01/Qyxip1qnQ3bwM9ffloVlSdYh+OZLiCz1D2jmhmhmcmkPlu7j/6 LiQkA/XzN5dXQWUYXzi3Q1eIp/kALUYa7dK9uiAUHqBIrxvpI2DcZ+ibseFYhL3ZxtS8 kbrMceoUb9u8dFSzvpygMdmihyIaJN/7fcOQ66CJRkWSj1COdAG862ZlW2GqkJBvatoJ lksHi/kq7XgC0NAggx2/t6wVSqSCwtt80X7aeXGo92Sl7Y8OvtyEWfvTMU+S2kxlqE84 wuVw== X-Received: by 10.28.104.197 with SMTP id d188mr4935272wmc.55.1447789426521; Tue, 17 Nov 2015 11:43:46 -0800 (PST) Received: from Johans-MacBook-Air.local (92-70-102-130.glasvezel.netexpo.nl. [92.70.102.130]) by smtp.googlemail.com with ESMTPSA id t194sm25467326wmt.11.2015.11.17.11.43.45 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 17 Nov 2015 11:43:45 -0800 (PST) Subject: Re: LACP with 3 interfaces. To: Steven Hartland References: <564B4736.3000100@gmail.com> <564B528F.1070008@multiplay.co.uk> From: Johan Hendriks X-Enigmail-Draft-Status: N1110 Cc: freebsd-stable@freebsd.org Message-ID: <564B8371.6070001@gmail.com> Date: Tue, 17 Nov 2015 20:43:45 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <564B528F.1070008@multiplay.co.uk> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2015 19:43:48 -0000 Op 17/11/15 om 17:15 schreef Steven Hartland: > > > On 17/11/2015 15:26, Johan Hendriks wrote: >> Hello all >> >> We have a NFS server witch has three network ports. >> >> We have bonded these interfaces as a lagg interface, but when we use the >> server it looks like only two interfaces are used. >> >> This is our rc.conf file >> >> ifconfig_igb0="up" >> ifconfig_igb1="up" >> ifconfig_igb2="up" >> cloned_interfaces="lagg0" >> ifconfig_lagg0="laggproto lacp laggport igb0 laggport igb1 laggport igb2 >> 192.168.100.222 netmask 255.255.255.0" >> >> ifconfig tell us the following. >> >> lagg0: flags=8843 metric 0 >> mtu 1500 >> >> options=403bb >> ether a0:36:9f:7d:fc:2f >> inet 192.168.100.222 netmask 0xffffff00 broadcast 192.168.100.255 >> nd6 options=29 >> media: Ethernet autoselect >> status: active >> laggproto lacp lagghash l2,l3,l4 >> laggport: igb1 flags=1c >> laggport: igb2 flags=1c >> laggport: igb3 flags=1c >> > This shows that your server is using l2,l3,l4 hashing for lacp but > what options have you configured on the switch? > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" The switch is an old 3com switch for testing, and it is not very configureable. So It just says LACP and nothing else, I can choose between static and dynamic. The interfaces are copy paste, but the machine has a lot more interfaces, and first I started to switch interfaces. So the rc.conf is before I switched to other interfaces. That is why the interfaces from ifconfig and the rc.conf file does not match. Thank you all for your time. I now know that it will use the inteface and that the hashing is the reason it sticks to only two interfaces. If it uses the mac adres, or ip adres to hash it can explain the choice it makes. Thank you all for your answers and time. regards Johan