From owner-freebsd-stable@FreeBSD.ORG Sat Aug 25 11:22:11 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 8D8B41065688 for ; Sat, 25 Aug 2012 11:22:11 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id 17CB98FC12 for ; Sat, 25 Aug 2012 11:22:10 +0000 (UTC) Received: by wibhr14 with SMTP id hr14so1365138wib.13 for ; Sat, 25 Aug 2012 04:22:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to :x-gm-message-state; bh=PfHMycg90xrBC0l5pNdn7VJGSuH0WcFh4u04IZ2PTWw=; b=dSdBgQ+d/f/hqWpqNcNiiLJ0Hsnt0FahIu1Wi03HtGoiPIcSrbF9NzQRhaU0SG/39x cExvHmxJ/3P5fudOTtKU/l3Av53nO1Za+RTeUrJA65oSNLBxyZPn1PDWMzCdXtVx4AJC +78y9UYB3aR/45bhfrShLlG2SpvIKN+MmR3qjv4C5mz9mHyv3CiTKrng2CRjtuuIMtv9 jeLz/03LGUN4hao8ZJIHxzU3tFDcLi4xDX6+2YP8e4nOb6Ubg4lakSuCyON7Ap0ZI1o7 hOimrK3XlgyBGVMqA7eFqAno/IZIrvqpAW3pCQ1U/rAgUBYXVbwYia6EIH5xAcpv8gFf atcg== Received: by 10.180.104.197 with SMTP id gg5mr11997865wib.9.1345893730240; Sat, 25 Aug 2012 04:22:10 -0700 (PDT) Received: from [192.168.0.10] (did75-17-88-165-130-96.fbx.proxad.net. [88.165.130.96]) by mx.google.com with ESMTPS id eu4sm2573261wib.2.2012.08.25.04.22.08 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 25 Aug 2012 04:22:09 -0700 (PDT) References: <5033FB17.7020600@zirakzigil.org> <503884A0.50708@zirakzigil.org> In-Reply-To: Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: X-Mailer: iPhone Mail (9A405) From: Damien Fleuriot Date: Sat, 25 Aug 2012 13:22:06 +0200 To: Damien Fleuriot X-Gm-Message-State: ALoCoQnF59bvWVj4k8qiy1y+/6AUKtZtcOMdJnObd+AvD0nnvMIAMUSnXztxsZV/YNe3lS5/knJ0 Cc: "freebsd-net@freebsd.org" , Giulio Ferro , "freebsd-stable@freebsd.org" 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 11:22:11 -0000 In the meantime kindly post: Ifconfig for your igb0 Netstat -rn Netstat -aln | grep 22 On 25 Aug 2012, at 13:18, Damien Fleuriot wrote: > I'll get back to you regarding link aggregation when I'm done with groceri= es. >=20 > We use it here in production and it works flawlessly. >=20 >=20 >=20 > On 25 Aug 2012, at 09:54, Giulio Ferro wrote: >=20 >> No answer, so it seems that link aggregation doesn't really work in freeb= sd, >> this may help others with the same problem... >>=20 >> I reverted back to one link for management and one for service, and ssh >> works as it should... >>=20 >>=20 >> On 08/21/2012 11:18 PM, Giulio Ferro wrote: >>> Scenario : freebsd 9 stable (yesterday) amd64 on HP server with 4 nic (i= gb) >>>=20 >>> 1 nic is connected standalone to the management switch, the 3 other nics= >>> are connected to a switch configured for aggregation. >>>=20 >>> If I configure the first nic (igb0) there is no problem, I can operate >>> as I normally do and sshd functions normally. >>>=20 >>> The problems start when I configure the 3 other nics for aggregation: >>>=20 >>> in /etc/rc.conf >>> ... >>> ifconfig_igb1=3D"up" >>> ifconfig_igb2=3D"up" >>> ifconfig_igb3=3D"up" >>>=20 >>> cloned_interfaces=3Dlagg0 >>> ifconfig_lagg0=3D"laggproto lacp laggport igb1 laggport igb2 laggport ig= b3 192.168.12.7/24" >>> ... >>>=20 >>> 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. >>>=20 >>> 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. >>>=20 >>> 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. >>>=20 >>> 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 >>>=20 >>> There is no message in the logs. >>>=20 >>> 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) >>>=20 >>> 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. >>>=20 >>> No firewall is configured, there is nothing else working on this server.= >>>=20 >>> 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= " >>=20 >> _______________________________________________ >> 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"=