Date: Fri, 29 Feb 2008 18:11:13 +0100 From: Arne Schwabe <schwabe@uni-paderborn.de> To: Jeremie Le Hen <jeremie@le-hen.org> Cc: Julian Elischer <julian@elischer.org>, FreeBSD Current <current@freebsd.org> Subject: Re: why vimage? Message-ID: <47C83CB1.6000902@uni-paderborn.de> In-Reply-To: <20080229152542.GD94339@obiwan.tataz.chchile.org> References: <47C44420.6050009@elischer.org> <20080229152542.GD94339@obiwan.tataz.chchile.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Jeremie Le Hen schrieb: > Hi Julian, > > On Tue, Feb 26, 2008 at 08:53:52AM -0800, Julian Elischer wrote: > >> I can give a very simple example of something you can do trivially on >> vimage: >> >> Make three virtual machines on yhour laptop: >> The base machine and two others. >> Have the first 'other' machine be assigned an IP address on >> your HOME LAN. >> have the second virtual machine have an IP adddress on >> your WORK LAN. >> use the base machine to run encrypted tunnels from where-ever >> you happen to be to your work and home.. when you put the laptop to sleep >> (assuming the tcp sessions are quiescent (no keepalives)) >> then when you wake it up say an hour later.. as soon as the base machine has >> an IP address.. viola, your session on the virtual >> machines are still alive. >> > > On this post [1], Marko states: > > % Each NICs is logically attached to one and only one network stack > % instance at a time, and it receives data from upper layers and feeds > % the upper layers with mbufs in exactly the same manner as it does on > % the standard kernel. It is the link layer that demultiplexes the > % incoming traffic to the appropriate stack instance... > > As I understand it, there is only one vimage per interface. I'm surely > wrong or the setup you described wouldn't be possible. > > Any explanation will be welcome :). > Thanks, > I am sure you can use the bridge interface for this. Arne
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47C83CB1.6000902>
