From owner-freebsd-virtualization@FreeBSD.ORG Fri Dec 4 16:41:38 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 B65D61065695 for ; Fri, 4 Dec 2009 16:41:38 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outK.internet-mail-service.net (outk.internet-mail-service.net [216.240.47.234]) by mx1.freebsd.org (Postfix) with ESMTP id 9C70B8FC30 for ; Fri, 4 Dec 2009 16:41:38 +0000 (UTC) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 314192DA6E; Fri, 4 Dec 2009 08:41:38 -0800 (PST) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (h-67-100-89-137.snfccasy.static.covad.net [67.100.89.137]) by idiom.com (Postfix) with ESMTP id 970202D6017; Fri, 4 Dec 2009 08:41:37 -0800 (PST) Message-ID: <4B193BC5.9040707@elischer.org> Date: Fri, 04 Dec 2009 08:41:41 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Nikos Vassiliadis References: <66313f8d0912020817x5839715ake916804d61dea730@mail.gmail.com> <20091202224841.O83957@maildrop.int.zabbadoz.net> <66313f8d0912030616h691b149ay64dac79214336c45@mail.gmail.com> <4B1803A0.6000403@elischer.org> <4B192D38.6020309@gmx.com> In-Reply-To: <4B192D38.6020309@gmx.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD virtualization mailing list Subject: Re: ppp in vimages? 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, 04 Dec 2009 16:41:38 -0000 Nikos Vassiliadis wrote: > Julian Elischer wrote: >> >> possibly. but try running 'ngctl list' in the jail to list all the >> nodes it can see there. >> >> as well as ifconfig >> >> there might be an order dependency: >> try this: >> reboot with no netgraph nodes loaded. >> make the jail >> move vr0 to teh jail using ifconfig >> kldload ng_ether >> kldload ng_pppoe >> (in the jail) run ngctl list >> (in the jail) run ifconfig >> >> and see if the result is different >> >> if so then the trick would be to have the interfsce alreday in >> the right jail when the ng_ether nodes are created. >> >> if you do it the other way around it is possible that moving >> theinterfaces to a new jail doesn't move the netgraph nodes >> associated, leaving them behind in the old jail. > > Sorry for the chipping in, > > What you describe Julian, works as expected. The problem is > that this can work in a static setup, where one builds the physical > topology and kldloads the ng_ether module. I am very interested > in doing network simulations using vimage/vnet, thus want to > be able to create and destroy topologies as wanted. Can I > somehow overcome this? > > Thanks, Nikos we would expect it to work the way you wish but it appears that we have left that out in oversight. We'll see what we can do.. (remember in 8.0 vimage is just s technology review feature and you should not be trying to use it in production.) I'll look at what it will take to fix this by 8.1 :-) Julian