From owner-freebsd-virtualization@FreeBSD.ORG Fri Nov 6 03:02:40 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 7BC071065676 for ; Fri, 6 Nov 2009 03:02:40 +0000 (UTC) (envelope-from remodeler@alentogroup.org) Received: from courriel.marmotmail.com (courriel.marmotmail.com [85.17.36.172]) by mx1.freebsd.org (Postfix) with ESMTP id 3BB3B8FC14 for ; Fri, 6 Nov 2009 03:02:40 +0000 (UTC) Received: from bruce.epifora.com (localhost.local [127.0.0.1]) by courriel.marmotmail.com (Postfix) with ESMTP id D26B32394DD for ; Fri, 6 Nov 2009 05:06:45 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by bruce.epifora.com (Postfix) with ESMTP id 97D694761F9 for ; Thu, 5 Nov 2009 22:13:21 -0500 (EST) Received: from bruce.epifora.com ([127.0.0.1]) by localhost (bruce.epifora.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29178-07 for ; Thu, 5 Nov 2009 22:13:20 -0500 (EST) Received: from alentogroup.org (localhost [127.0.0.1]) by bruce.epifora.com (Postfix) with ESMTP id 0A2A14761F8 for ; Thu, 5 Nov 2009 22:13:20 -0500 (EST) From: "remodeler" To: freebsd-virtualization@freebsd.org Date: Thu, 5 Nov 2009 22:13:19 -0500 Message-Id: <20091106030421.M99285@alentogroup.org> In-Reply-To: <7401C27DF540DA4D83B9B35C541825E3E97180@MCHP7I5A.ww902.siemens.net> References: <7401C27DF540DA4D83B9B35C541825E3E97180@MCHP7I5A.ww902.siemens.net> X-OriginatingIP: 127.0.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: Re: Imunes and FreeBSD 8.0 RC2 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: Fri, 06 Nov 2009 03:02:40 -0000 Hi, > i have just installed FreeBSD 8.0 RC2 and wanted to play around > with imunes/vimage, but i couldn't find it in the installed version > (from DVD ISO). Did i just missed something, or what do i have to > install something in addition? If so, FTP URLS would be helpful as my > BSD machine is not in a network. Build a custom kernel with option VIMAGE. You can initialize a vimage-enabled jail with: jail -c -l -U root -n jailname host.hostname=jailname.example.com path=/my/jail/path vnet persist If you want to use netgraph to build a virtual bridge between a physical ethernet interface and the vnet interface on the jail: # create netgraph bridge, connecting physical interface lower hook ngctl mkpeer msk0: bridge lower link0 # give the physical interface hook a convenient name ngctl name msk0:lower bridge0 # connect upper hook of physical interface to the bridge ngctl connect msk0: bridge0: upper link1 # create a netgraph node for the vnet interface, connected to the bridge ngctl mkpeer bridge0: eiface link2 ether # connect the vnet virutal interface and the netgraph node ifconfig ngeth0 vnet ns The work on vnet is well done, and has been reliable through all of my load testing.