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

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






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