From owner-freebsd-jail@FreeBSD.ORG Fri Apr 12 17:02:56 2013 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C93DADF for ; Fri, 12 Apr 2013 17:02:56 +0000 (UTC) (envelope-from jamie@FreeBSD.org) Received: from m2.gritton.org (gritton.org [199.192.164.235]) by mx1.freebsd.org (Postfix) with ESMTP id AB82B129B for ; Fri, 12 Apr 2013 17:02:56 +0000 (UTC) Received: from guppy.corp.verio.net (fw.oremut02.us.wh.verio.net [198.65.168.24]) (authenticated bits=0) by m2.gritton.org (8.14.5/8.14.5) with ESMTP id r3CH2sbf078251; Fri, 12 Apr 2013 11:02:55 -0600 (MDT) (envelope-from jamie@FreeBSD.org) Message-ID: <51683E39.7000703@FreeBSD.org> Date: Fri, 12 Apr 2013 11:02:49 -0600 From: Jamie Gritton User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120126 Thunderbird/9.0 MIME-Version: 1.0 To: =?UTF-8?B?xYF1a2FzeiBXxIVzaWtvd3NraQ==?= Subject: =?UTF-8?B?UmU6IElQdjQgYWRkcmVzc2VzIGNsYXNoIC8gamFpbHMgbm90IHdvcms=?= =?UTF-8?B?aW5nIGFmdGVyIHJlYm9vdOKApg==?= References: <55865.68.255.104.38.1362619385.squirrel@cosmo.uchicago.edu> <6C130E1F-6CDC-4328-A300-5B483B8B4940@gmail.com> <513864D5.1070900@passap.ru> <51392119.2090502@FreeBSD.org> <51683BF7.1040702@wasikowski.net> In-Reply-To: <51683BF7.1040702@wasikowski.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-jail@FreeBSD.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Apr 2013 17:02:56 -0000 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