From owner-freebsd-virtualization@FreeBSD.ORG Wed Dec 9 23:10:09 2009 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FE6C106566B for ; Wed, 9 Dec 2009 23:10:09 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id 055A28FC1B for ; Wed, 9 Dec 2009 23:10:09 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 6972141C7A4; Thu, 10 Dec 2009 00:10:07 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id bd4Gxbuj4z36; Thu, 10 Dec 2009 00:10:06 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id 9FF7341C7AA; Thu, 10 Dec 2009 00:10:06 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 724324448EC; Wed, 9 Dec 2009 23:07:57 +0000 (UTC) Date: Wed, 9 Dec 2009 23:07:57 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Reinhard Haller In-Reply-To: <4B1FE20D.9000009@interactive-net.de> Message-ID: <20091209230225.L83957@maildrop.int.zabbadoz.net> References: <4B1FE20D.9000009@interactive-net.de> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD virtualization mailing list Subject: Re: create a vnet jail in rc.conf X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Dec 2009 23:10:09 -0000 On Wed, 9 Dec 2009, Reinhard Haller wrote: Hi, > I'm searching for a way to create vnet jails in rc.conf. I tried it with > jail_flags (-c vnet) with no success. > > The documentation is not very helpful, I'm missing the way to create the > vnet jail and I suspect the specification of an ipv6 address to the > epair in the jail is not working. > > Any suggestions? vnets are not yet supported by the legacy jail management framework and will not. The plan is to have something different for when vimages are no longer "experimental" (tech preview, ... call it what you like to and what sounds good;). Ideally for 8.2 but that's just a wild handwaving. I have some uncommented old notes lying around here: http://people.freebsd.org/~bz/jail-persist.txt The current ones are actually a lot more complex and no longer good examples. Rather than using "persist" you can still give a command to start a jail starting all the rc framework etc. in it. /bz -- Bjoern A. Zeeb It will not break if you know what you are doing.