From owner-freebsd-jail@FreeBSD.ORG Thu Nov 13 01:27:19 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 5B4D31065771 for ; Thu, 13 Nov 2008 01:27:19 +0000 (UTC) (envelope-from huynhnguyen@mikorn.com) Received: from h1.yescall.com (nshost2.yescall.com [211.115.125.20]) by mx1.freebsd.org (Postfix) with ESMTP id 2280B8FC17 for ; Thu, 13 Nov 2008 01:27:19 +0000 (UTC) (envelope-from huynhnguyen@mikorn.com) Received: from huynhnguyen (unknown [222.253.80.225]) by h1.yescall.com (Postfix) with ESMTP id 80BE3B170F; Thu, 13 Nov 2008 10:27:16 +0900 (KST) From: "huynhnguyen" To: "'Bjoern A. Zeeb'" , "'Bill Moran'" References: <002b01c94490$260ebfd0$722c3f70$@com> <20081112090702.840305a6.wmoran@collaborativefusion.com> <20081112142044.J67750@maildrop.int.zabbadoz.net> In-Reply-To: <20081112142044.J67750@maildrop.int.zabbadoz.net> Date: Thu, 13 Nov 2008 08:27:15 +0700 Message-ID: <000301c9452e$f79af6b0$e6d0e410$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AclE0yz3o7walR0pRbKzYJGi4DNmaQAWvYdg Content-Language: en-us Cc: 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: Thu, 13 Nov 2008 01:27:19 -0000 I got the answer. Thank Bill, thank Bjoern . Re: can jail use 2 NICS? ------------------------------ > In response to "huynhnguyen" : >> >> - my server have 2 NICs, ------------------------------ On Wed, 12 Nov 2008, Bill Moran wrote: > 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. ----------------------------- >On Wed, 12 Nov 2008, Bjoern A. Zeeb wrote: >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="bge0, bge1" >remove this and similar lines from your configuration. >You had the IPs configured on the interfaces already anyway. > jail_jail1_ip="192.168.1.3, 11.0.0.3" A>nd remove the white space after the comma. -----------------------------