From owner-freebsd-questions@FreeBSD.ORG Sat Feb 9 20:49:40 2013 Return-Path: Delivered-To: questions@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 EDFA04D6 for ; Sat, 9 Feb 2013 20:49:40 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id D9BD672D for ; Sat, 9 Feb 2013 20:49:40 +0000 (UTC) Received: from [10.0.10.3] ([173.88.202.176]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 9 Feb 2013 11:32:36 -0800 Message-ID: <5116A452.6030104@a1poweruser.com> Date: Sat, 09 Feb 2013 14:32:34 -0500 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Nikos Vassiliadis Subject: Re: vnet without epair References: <511671FA.3050801@a1poweruser.com> <511680AD.1040209@gmx.com> In-Reply-To: <511680AD.1040209@gmx.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Feb 2013 19:32:36.0976 (UTC) FILETIME=[374ECF00:01CE06FC] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*com] Cc: FreeBSD questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2013 20:49:41 -0000 Nikos Vassiliadis wrote: > On 2/9/2013 5:57 PM, Fbsd8 wrote: >> Has any one been able to get RELEASE 9.1 to enable jail vnet without >> having to use epair? > > Yes, you can use vnet-enabled jails with several types of interfaces. > Physical ones like em0 etc, virtual ones like vlan0 etc, netgraph > ethernet-like interfaces like ngeth etc and if_epair interfaces. > What all these have in common is that they all are ethernet-like. > > You don't mention what kind of use and more or less most interfaces > are usable in a vnet jail. Could you share more on what you are > trying to achieve? > > Nikos > > Thanks for your reply and interest. What I am doing is writing documentation that describes the new 9.1 jail extensions for jail.conf and the rc.conf jail statements. I am going to submit changes to /etc/defaults/rc.conf and as long as I was on the jail subject thought I may as well include vnet because it was missing from /etc/defaults/rc.conf. I did google search and could only find 9.0 vnet jails using epair. It was my understanding that epair was not necessary to use vnet and thanks to you, you confirmed it. As part of this self-appointed project I plan to also update "man jail" and the handbook jail section which is really way out of date. I plan to include vnet in all aspects of this project. I must point out this is not just a writing project. I have been using rc.conf jail statements to configure jails for some time now, and have a test bed to test things I write about so I can verify what I write is true and valid. I am working with the author of the jail environment and already have discovered bugs which are being addressed. I have never played with vimage as it's labeled as experimental because it is not scp aware. IE: can not use more than a single cpu. One of the 9.1 jail extensions deals with being able to use quotas inside of jails. I am excited to begin testing this new function. During my jail research I have come across posts where people have to use a kernel patch to get xorg desktops to work inside of a jail. I have a separate post to questions list trying to mine some info on that subject. I am always open to input. If you have the background to support my efforts in this project its welcomed. Joe