Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Mar 2013 11:48:45 +0400
From:      Boris Samorodov <bsam@passap.ru>
To:        Jamie Gritton <jamie@FreeBSD.org>
Cc:        freebsd-jail@FreeBSD.org
Subject:   =?UTF-8?B?UmU6IElQdjQgYWRkcmVzc2VzIGNsYXNoIC8gamFpbHMgbm90IHdvcms=?= =?UTF-8?B?aW5nIGFmdGVyIHJlYm9vdOKApg==?=
Message-ID:  <513997DD.7010109@passap.ru>
In-Reply-To: <51392119.2090502@FreeBSD.org>
References:  <AB3DFF28-207C-44B1-AEF4-4331B7959436@gmail.com> <55865.68.255.104.38.1362619385.squirrel@cosmo.uchicago.edu> <6C130E1F-6CDC-4328-A300-5B483B8B4940@gmail.com> <513864D5.1070900@passap.ru> <B2490966-A735-4016-9176-19ABD576E485@gmail.com> <51392119.2090502@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
08.03.2013 03:22, Jamie Gritton пишет:

> You're allowed to have the same address in multiple jails, but only in
> the case of jails that have one address (i.e. one IPv4 address in this
> case). Jails with multiple IP addresses can't share any of those
> addresses with other jails. I don't know why it should work once and
> then not work later though.

>From JAIL(8):
-----
     Jails have a set a core parameters, and kernel modules can add
their own
     jail parameters.  The current set of available parameters can be
     retrieved via “sysctl -d security.jail.param”.  Any parameters not set
     will be given default values, often based on the current environment.
     The core parameters are:
[...]
ip4.addr
[...]
             It is only possible to start multiple jails with
             the same IP address, if none of the jails has more than
this sin‐
             gle overlapping IP address assigned to itself.
-----

My interpratation of the mannual page is: this restrict is valid only
when ip4.addr sysctl is used. Otherwise this restriction should be
documented at other section (say, at DESCRIPTION).

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve



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