From owner-freebsd-questions@FreeBSD.ORG Sun Sep 24 22:24:25 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0814516A47C for ; Sun, 24 Sep 2006 22:24:25 +0000 (UTC) (envelope-from eagletree@hughes.net) Received: from n126.sc0.cp.net (smtpout1070.sc0.he.tucows.com [64.97.144.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAB5743D49 for ; Sun, 24 Sep 2006 22:24:23 +0000 (GMT) (envelope-from eagletree@hughes.net) Received: from [192.168.1.100] (67.47.213.85) by n126.sc0.cp.net (7.2.069.1) (authenticated as eagletree@hughes.net) id 4516BEE50000AB01 for freebsd-questions@freebsd.org; Sun, 24 Sep 2006 22:24:18 +0000 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <1159133911.746.23.camel@yak.mseubanks.net> References: <1159133911.746.23.camel@yak.mseubanks.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <524D5EFE-0D42-49A1-9D94-FDED36827396@hughes.net> Content-Transfer-Encoding: 7bit From: Chris Date: Sun, 24 Sep 2006 15:24:13 -0700 To: freeBSD X-Mailer: Apple Mail (2.752.2) Subject: Re: Patches for jail support of multiple IPs? 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: Sun, 24 Sep 2006 22:24:25 -0000 On Sep 24, 2006, at 2:38 PM, Michael Eubanks wrote: > On Sat, 2006-09-23 at 12:51 -0700, Chris wrote: >> Are there any official patches to support multiple IPs in jails or >> would I be limited to taking a chance with the few 6.1 patch files > I suppose you could alias your primary network interface, then use a > simple firewall with multiple divert sockets for address translation, > thereby forwarding packets to a single jail IP (possible with multiple > jail ports open). > Thank you, that does sound like an interesting approach. The application is maintain the multiple IP Addresses for the sites though the sites actually share much code and data. I also attempted using multiple jails all pointing to the same file system but was naturally discouraged by the jail configuration to do so as this seems to violate the concept. Seems wasteful of memory too. I will try the divert method next using a single jail. Thank you again for the reply. Chris