Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Dec 2009 17:39:36 +0200
From:      Nikos Vassiliadis <nvass9573@gmx.com>
To:        Julian Elischer <julian@elischer.org>
Cc:        FreeBSD virtualization mailing list <freebsd-virtualization@freebsd.org>
Subject:   Re: ppp in vimages?
Message-ID:  <4B192D38.6020309@gmx.com>
In-Reply-To: <4B1803A0.6000403@elischer.org>
References:  <66313f8d0912020817x5839715ake916804d61dea730@mail.gmail.com>	<20091202224841.O83957@maildrop.int.zabbadoz.net>	<66313f8d0912030616h691b149ay64dac79214336c45@mail.gmail.com> <4B1803A0.6000403@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B192D38.6020309>