From owner-freebsd-stable@FreeBSD.ORG Sat Aug 25 07:54:18 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61FA7106564A; Sat, 25 Aug 2012 07:54:18 +0000 (UTC) (envelope-from auryn@zirakzigil.org) Received: from mx1.giulioferro.ch (mx1.giulioferro.ch [217.150.252.208]) by mx1.freebsd.org (Postfix) with ESMTP id D56618FC19; Sat, 25 Aug 2012 07:54:17 +0000 (UTC) Received: from mailscan.giulioferro.ch (unknown [192.168.115.2]) by mx1.giulioferro.ch (Postfix) with ESMTP id 5B06371D36; Sat, 25 Aug 2012 09:54:11 +0200 (CEST) X-Virus-Scanned: amavisd-new at example.com Received: from mx1.giulioferro.ch ([192.168.114.4]) by mailscan.giulioferro.ch (mailscan.giulioferro.ch [192.168.115.2]) (amavisd-new, port 10024) with ESMTP id nVqSFy_6bggf; Sat, 25 Aug 2012 09:54:09 +0200 (CEST) Received: from mail.zirakzigil.org (net-93-70-48-129.cust.dsl.vodafone.it [93.70.48.129]) by mx1.giulioferro.ch (Postfix) with ESMTP id 57CDA71D1E; Sat, 25 Aug 2012 09:54:09 +0200 (CEST) Received: from ext.zirakzigil.org (unknown [192.168.1.2]) by mail.zirakzigil.org (Postfix) with ESMTP id A248D19BB24; Sat, 25 Aug 2012 09:49:53 +0200 (CEST) X-Virus-Scanned: amavisd-new at zirakzigil.org Received: from mail.zirakzigil.org ([192.168.1.2]) by ext.zirakzigil.org (ext.zirakzigil.org [192.168.1.2]) (amavisd-new, port 10024) with ESMTP id mZ6KocGfew8L; Sat, 25 Aug 2012 09:49:53 +0200 (CEST) Received: from [192.168.229.48] (ext [192.168.1.2]) (Authenticated sender: auryn@zirakzigil.org) by mail.zirakzigil.org (Postfix) with ESMTPA id 31D5D19BB1E; Sat, 25 Aug 2012 09:49:53 +0200 (CEST) Message-ID: <503884A0.50708@zirakzigil.org> Date: Sat, 25 Aug 2012 09:54:08 +0200 From: Giulio Ferro User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org, freebsd-net@freebsd.org References: <5033FB17.7020600@zirakzigil.org> In-Reply-To: <5033FB17.7020600@zirakzigil.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Problem with link aggregation + sshd X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Aug 2012 07:54:18 -0000 No answer, so it seems that link aggregation doesn't really work in freebsd, this may help others with the same problem... I reverted back to one link for management and one for service, and ssh works as it should... On 08/21/2012 11:18 PM, Giulio Ferro wrote: > Scenario : freebsd 9 stable (yesterday) amd64 on HP server with 4 nic > (igb) > > 1 nic is connected standalone to the management switch, the 3 other nics > are connected to a switch configured for aggregation. > > If I configure the first nic (igb0) there is no problem, I can operate > as I normally do and sshd functions normally. > > The problems start when I configure the 3 other nics for aggregation: > > in /etc/rc.conf > ... > ifconfig_igb1="up" > ifconfig_igb2="up" > ifconfig_igb3="up" > > cloned_interfaces=lagg0 > ifconfig_lagg0="laggproto lacp laggport igb1 laggport igb2 laggport > igb3 192.168.12.7/24" > ... > > I restart the server and the aggregation seems to work correctly, in > fact ifconfig returns the correct lagg0 interface with the aggregated > links, the correct protocol (lacp) and the correct ip address and the > status is active. I can ping other IPs on the aggregated link. > > Also the other (standalone) link seems to work correctly. I can ping > that address from other machines, and I can ping other IPs from that > server. > > DNS lookups work ok too I can also use telnet to connect to pop3 > servers so there seems to be no problem on the network stack. > > But if I try to connect to the sshd service on that server, it hangs > indefinitely. On the server I find two sshd processes: > /usr/sbin/sshd > /usr/sbin/sshd -R > > There is no message in the logs. > > If I try to kill sshd (/etc/rc.d/sshd stop) I can't. it just stays there > forever waiting for the pid to die (it never does) > > Even ssh client doesn't seem to work. In fact, if I try to connect to > another server, the ssh client may start to work correctly, then soon > or later it just hangs there forever, and I can't kill it with ctrl-c. > > No firewall is configured, there is nothing else working on this server. > > Thanks for any suggestions... > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"