From owner-freebsd-net@FreeBSD.ORG Mon Aug 27 08:14:59 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A4F18106564A for ; Mon, 27 Aug 2012 08:14:59 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 685DD8FC15 for ; Mon, 27 Aug 2012 08:14:59 +0000 (UTC) Received: by ialo14 with SMTP id o14so9616436ial.13 for ; Mon, 27 Aug 2012 01:14:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=8OeOGoajBUobwVr60lv0mIZ86D9lJ1U2Uv4tX8oVdkA=; b=B3MPfQnVAkc1sqWJjYmR7RHgTRMNJc+t2iVzgmJ7M9c3UVr7aBvE0pSCcb1ep3S+bg NLFCtyObSVKscto+y6l7+QuVranrczgoIbEuxVKSkaZizEjlxIV0IpwTtt+tyCDyCSQ4 HRc1pklA9LfT/XS33shZvmxbCLeAa0A0H7Fgu65hs2+1y3BRadGFQNsIPOGagYOMvBsh CEJSr/l172HNMoaYTv0qa4mdbf1pPoKko/kiBZWq6C5xOj1LkpuPue5yDpKlj7S65T/2 Q7OBATguunj5jyURAr4joiARcHodcKa0PQnCo/khW6v0aiy5ea3+VSAVe5p1zVUTioBr v2gw== MIME-Version: 1.0 Received: by 10.42.156.1 with SMTP id x1mr10119816icw.51.1346055298825; Mon, 27 Aug 2012 01:14:58 -0700 (PDT) Received: by 10.64.96.131 with HTTP; Mon, 27 Aug 2012 01:14:58 -0700 (PDT) In-Reply-To: References: <5033FB17.7020600@zirakzigil.org> <503884A0.50708@zirakzigil.org> Date: Mon, 27 Aug 2012 10:14:58 +0200 Message-ID: From: Damien Fleuriot To: Giulio Ferro Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQl7+vUBN/XNhR0Of8+J2ghTgHcJZlCJYytqOE42wz+4XNy0za7fKhmayX4JHbSrbCuqb+wZ Cc: "freebsd-net@freebsd.org" Subject: Re: Problem with link aggregation + sshd X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 27 Aug 2012 08:14:59 -0000 Hey Giulio, Have you had any chance to run the commands I supplied ? I'm curious as to wether you're running the same network on the 1 physical and 1 logical interface, or running 2 different ones, like 192.168.0.0/24 and 192.168.1.0/24. Removing -stable from the cc list so as to not crosspost. On 25 August 2012 13:22, Damien Fleuriot wrote: > 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 groceries. >> >> We use it here in production and it works flawlessly. >> >> >> >> On 25 Aug 2012, at 09:54, Giulio Ferro wrote: >> >>> 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" >>> >>> _______________________________________________ >>> 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"