From owner-freebsd-questions@FreeBSD.ORG Thu Nov 24 13:18:51 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5759E106564A for ; Thu, 24 Nov 2011 13:18:51 +0000 (UTC) (envelope-from snoop@email.it) Received: from smtp-out08.email.it (smtp-out08.email.it [212.97.34.23]) by mx1.freebsd.org (Postfix) with ESMTP id DA81B8FC13 for ; Thu, 24 Nov 2011 13:18:50 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp-out08.email.it (Postfix) with ESMTP id CCFD2C050; Thu, 24 Nov 2011 14:18:48 +0100 (CET) X-Virus-Scanned: amavisd-new at email.it Received: from smtp-out08.email.it ([127.0.0.1]) by localhost (smtp-out08.email.it [127.0.0.1]) (amavisd-new, port 10024) with LMTP id XQSNPCKPkg9I; Thu, 24 Nov 2011 14:18:48 +0100 (CET) Received: from [10.0.0.59] (inhio.eu [84.242.85.251]) by smtp-out08.email.it (Postfix) with ESMTP id 13C8EC040; Thu, 24 Nov 2011 14:18:48 +0100 (CET) From: Snoop To: Damien Fleuriot In-Reply-To: <4EC6518B.4030001@my.gd> References: <1321600146.37903.4.camel@blackfriar.inhio.eu> <4EC6518B.4030001@my.gd> Content-Type: text/plain; charset="us-ascii" Date: Thu, 24 Nov 2011 14:18:46 +0100 Message-ID: <1322140727.58166.8.camel@blackfriar.inhio.eu> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: LAGG and Jails? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Nov 2011 13:18:51 -0000 Sorry about my late reply, I was away for a while. I've fixed that. It was quite trivial but sometimes trivial issues make you get stuck for a while. :-/ ifconfig_bge0="up" ifconfig_bge1="up" cloned_interfaces="lagg0" ifconfig_lagg0="laggproto failover laggport bge0 laggport bge1 10.0.0.56/26" ifconfig_lagg0_alias_0="inet 10.0.0.40 netmask 255.255.255.255" ifconfig_lagg0_alias_1="inet 10.0.0.41 netmask 255.255.255.255" ifconfig_lagg0_alias_2="inet 10.0.0.42 netmask 255.255.255.255" ifconfig_lagg0_alias_3="inet 10.0.0.43 netmask 255.255.255.255" ifconfig_lagg0_alias_4="inet 10.0.0.44 netmask 255.255.255.255" ifconfig_lagg0_alias_5="inet 10.0.0.45 netmask 255.255.255.255" ifconfig_lagg0_alias_6="inet 10.0.0.46 netmask 255.255.255.255" ifconfig_lagg0_alias_7="inet 10.0.0.47 netmask 255.255.255.255" I thought that the first two lines wouldn't be necessary as the "cloned_interface" parameter would have done the job. I was wrong. Without specifying "up" the lagg0 interface comes up but not the physical interfaces. Now everything works well: bge0: flags=8843 metric 0 mtu 1500 options=8009b ether 00:14:5e:80:8a:c0 media: Ethernet autoselect (100baseTX ) status: active bge1: flags=8843 metric 0 mtu 1500 options=8009b ether 00:14:5e:80:8a:c0 media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 metric 0 mtu 16384 options=3 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 nd6 options=3 lagg0: flags=8843 metric 0 mtu 1500 options=8009b ether 00:14:5e:80:8a:c0 inet 10.0.0.56 netmask 0xffffffc0 broadcast 10.0.0.63 inet 10.0.0.40 netmask 0xffffffff broadcast 10.0.0.40 inet 10.0.0.41 netmask 0xffffffff broadcast 10.0.0.41 inet 10.0.0.42 netmask 0xffffffff broadcast 10.0.0.42 inet 10.0.0.43 netmask 0xffffffff broadcast 10.0.0.43 inet 10.0.0.44 netmask 0xffffffff broadcast 10.0.0.44 inet 10.0.0.45 netmask 0xffffffff broadcast 10.0.0.45 inet 10.0.0.46 netmask 0xffffffff broadcast 10.0.0.46 inet 10.0.0.47 netmask 0xffffffff broadcast 10.0.0.47 media: Ethernet autoselect status: active laggproto failover laggport: bge1 flags=0<> laggport: bge0 flags=5 Sorry for bothering you guys. Hope this would save some time to someone else. Cheers. On Fri, 2011-11-18 at 13:37 +0100, Damien Fleuriot wrote: > On 11/18/11 8:09 AM, Snoop wrote: > > Does anyone know if it's possible to configure lagg for network > > redundancy on a FreeBSD server containing jails? I'm having problems > > with that. I couldn't found much around therefore I'm not even sure it's > > "doable". > > > > Thanks in advance, any tip will be appreciated. > > > > > Show your ifconfig output, I'm curious about how you configure your lagg > > Also please post your uname -a output and rc.conf > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f Sponsor: Conto Arancio al 4,20%. Zero spese e massima liberta', aprilo in due minuti! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11919&d=24-11