From owner-freebsd-virtualization@FreeBSD.ORG Fri Dec 4 15:40:13 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 72AF81066015 for ; Fri, 4 Dec 2009 15:40:13 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id B98AD8FC12 for ; Fri, 4 Dec 2009 15:40:12 +0000 (UTC) Received: (qmail invoked by alias); 04 Dec 2009 15:40:11 -0000 Received: from adsl-252.91.140.44.tellas.gr (EHLO [169.254.0.102]) [91.140.44.252] by mail.gmx.com (mp-eu004) with SMTP; 04 Dec 2009 16:40:11 +0100 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX1+POsBONg2P4il1R+1QHTrqtwzD8p9MI0iEY8kpRl 3MglDuJy4TTQtn Message-ID: <4B192D38.6020309@gmx.com> Date: Fri, 04 Dec 2009 17:39:36 +0200 From: Nikos Vassiliadis User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Julian Elischer References: <66313f8d0912020817x5839715ake916804d61dea730@mail.gmail.com> <20091202224841.O83957@maildrop.int.zabbadoz.net> <66313f8d0912030616h691b149ay64dac79214336c45@mail.gmail.com> <4B1803A0.6000403@elischer.org> In-Reply-To: <4B1803A0.6000403@elischer.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.71 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 15:40:13 -0000 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