Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Mar 2007 17:23:33 -0400
From:      "Meenoo Shivdasani" <meenoo@gmail.com>
To:        "Jonathan Horne" <freebsd@dfwlp.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: another jail question
Message-ID:  <b5e09e920703241423h6cbc5babp14bee097184576ff@mail.gmail.com>
In-Reply-To: <20070324121129.815b8c03.freebsd@dfwlp.com>
References:  <20070324121129.815b8c03.freebsd@dfwlp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/24/07, Jonathan Horne <freebsd@dfwlp.com> wrote:
> is there a way to configure a jail to use more than one ip address?  in the same sense of configuring an alias ip for any other freebsd host?

As others have posted, not without either doing IP address
manipulation or using the patches available out there.

In terms of working around the issue, I guess it depends on what
you're trying to accomplish.  In a situation where I wanted a jail
host to have an internal private address and an external public
address, the problem was solved by assigning the private address to
the jail and then using a firewall to redirect connections destined to
the public address in to the private address.

I'll also add my voice to the recommendations to use ezjail -- it does
all the heavy lifting for you.

M



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b5e09e920703241423h6cbc5babp14bee097184576ff>