Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 2013 18:53:11 +0200
From:      =?UTF-8?B?xYF1a2FzeiBXxIVzaWtvd3NraQ==?= <lukasz@wasikowski.net>
To:        Jamie Gritton <jamie@FreeBSD.org>
Cc:        freebsd-jail@FreeBSD.org
Subject:   =?UTF-8?B?UmU6IElQdjQgYWRkcmVzc2VzIGNsYXNoIC8gamFpbHMgbm90IHdvcms=?= =?UTF-8?B?aW5nIGFmdGVyIHJlYm9vdOKApg==?=
Message-ID:  <51683BF7.1040702@wasikowski.net>
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
W dniu 2013-03-08 00:22, Jamie Gritton pisze:

> 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.

That's not true. You can have multiple IPs in jails. You can have
multiple jails sharing the same IP. You can have multiple jails sharing
the same multiple IPs. So:

jail1: ipv4_ip1
jail2: ipv4_ip2, ipv6_ip1, ipv6_ip2
jail3: ipv4_ip2, ipv6_ip1, ipv6_ip2

will work. But configuration like this:

jail1: ipv4_ip1
jail2: ipv4_ip2, ipv6_ip1, ipv6_ip2
jail3: ipv4_ip2, ipv6_ip1

will not, because jail2 and jail3 share only some IPs. I've tried
configuration like this on 9.1-STABLE around december 2012 and it ended
with panic. So I'm using the configuration from the first example and it
works ok.

-- 
best regards,
Lukasz Wasikowski



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