Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Sep 2001 14:05:44 -0700
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        Maarten Koopmans <m.koopmans2@chello.nl>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: jail with two IP addresses
Message-ID:  <20010920140544.G309@blossom.cjclark.org>
In-Reply-To: <001f01c14207$4fe38680$f4068418@a2000.nl>; from m.koopmans2@chello.nl on Thu, Sep 20, 2001 at 09:06:06PM %2B0200
References:  <001f01c14207$4fe38680$f4068418@a2000.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 20, 2001 at 09:06:06PM +0200, Maarten Koopmans wrote:
> Hi,
> 
> I want to jail a webserver on a box with two NICs. One Internet domain and
> one DMZ.
> 
> In the DMZ there are application servers that connect to the webserver box
> using NIC2, while the webserver serves on NIC1. I'd like to use the jail
> facilitity, but I read that it only allows one IP address for incoming and
> outgoing connections. So it seems that I cannot use jail. Is this correct?

Yes and no. What you quote is true, but I believe you are
misunderstanding it. A jail can only have one IP address. However,
a system running jails can have as many as you wish. But each jail on
the system can only have one IP.

> What about localhost? Can two jailed processes (in different jails) connect
> to each other using localhost? I have the feeling they can't but I can't
> find a definitive no in the docs.

The "real" system and each jail system will have different IP
addresses. You may use those to communicate between them.
-- 
Crist J. Clark                           cjclark@alum.mit.edu

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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