From owner-freebsd-jail@FreeBSD.ORG Wed Nov 12 14:30:09 2008 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05F68106568E for ; Wed, 12 Nov 2008 14:30:09 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id B8FB78FC4F for ; Wed, 12 Nov 2008 14:30:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id BAD0A41C64C; Wed, 12 Nov 2008 15:30:05 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id pfNM38RGBIEV; Wed, 12 Nov 2008 15:30:05 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id 511D041C678; Wed, 12 Nov 2008 15:30:05 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 8E446444888; Wed, 12 Nov 2008 14:29:44 +0000 (UTC) Date: Wed, 12 Nov 2008 14:29:44 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Bill Moran In-Reply-To: <20081112090702.840305a6.wmoran@collaborativefusion.com> Message-ID: <20081112142044.J67750@maildrop.int.zabbadoz.net> References: <002b01c94490$260ebfd0$722c3f70$@com> <20081112090702.840305a6.wmoran@collaborativefusion.com> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-943803166-1226499686=:67750" Content-ID: <20081112142133.G67750@maildrop.int.zabbadoz.net> Cc: huynhnguyen , freebsd-jail@freebsd.org Subject: Re: can jail use 2 NICS? X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2008 14:30:09 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-943803166-1226499686=:67750 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1; FORMAT=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Content-ID: <20081112142133.Q67750@maildrop.int.zabbadoz.net> On Wed, 12 Nov 2008, Bill Moran wrote: Hi, > In response to "huynhnguyen" : >> >> - my server have 2 NICs, >> > [...] >> >> I want to set up a jail to use both of NICs > [...] >> --------------- >> but I can=FF=FFt do it. Anybody know it? Could you help me? > > It's not possible with the current codebase. There's work being done > to add this feature to 8.x, but with 7.x and earlier, you need to > figure out how to make your jails work with a single NIC. The only thing that does not work is the rc jail_*_interface knob. Which I again . Sorry. This is just another reason to remove this thing and have someone who needs this by a proper mgmt solution. "huynhnguyen": obviously, as Bill already indicated, you need a patch to have more than one IP per jail as the current jail system in any version of freebsd only supports one IP address (see man pages). If you have the patch compiled in ... > jail_jail1_interface=3D"bge0, bge1" remove this and similar lines from your configuration.=20 You had the IPs configured on the interfaces already anyway. > jail_jail1_ip=3D"192.168.1.3, 11.0.0.3" And remove the white space after the comma. Regards, Bjoern --=20 Bjoern A. Zeeb Stop bit received. Insert coin for new game. --0-943803166-1226499686=:67750--