Date: Fri, 12 Apr 2013 11:02:49 -0600 From: Jamie Gritton <jamie@FreeBSD.org> To: =?UTF-8?B?xYF1a2FzeiBXxIVzaWtvd3NraQ==?= <lukasz@wasikowski.net> Cc: freebsd-jail@FreeBSD.org Subject: =?UTF-8?B?UmU6IElQdjQgYWRkcmVzc2VzIGNsYXNoIC8gamFpbHMgbm90IHdvcms=?= =?UTF-8?B?aW5nIGFmdGVyIHJlYm9vdOKApg==?= Message-ID: <51683E39.7000703@FreeBSD.org> In-Reply-To: <51683BF7.1040702@wasikowski.net> 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> <51683BF7.1040702@wasikowski.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 04/12/13 10:53, Łukasz Wąsikowski wrote: > 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. Well ending in a panic is beyond the bounds of what's supported, and into what apparently is broken - I was just talking about the intent as I read it into the code. Is this panic of yours repeatable? I'd like to get the exact configuration you were using, so I could try to repeat (and fix) whatever the problem was. - Jamie
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51683E39.7000703>