OpenVZ Forum


Home » Mailing lists » Devel » Re: [PATCH] net: Add etun driver
Re: [PATCH] net: Add etun driver [message #18088] Fri, 06 April 2007 20:54 Go to next message
Stephen Hemminger is currently offline  Stephen Hemminger
Messages: 37
Registered: August 2006
Member
On Fri, 06 Apr 2007 14:38:50 -0700
Ben Greear <greearb@candelatech.com> wrote:

> Stephen Hemminger wrote:
> > Why not implement a true virtual network rather than simple
> > tunnel pairs?
> >   
> What would a true virtual network do?  You mean with routers and such?

Rather than just a pair, you could do address matching of destination
address.

> 
> I use my redirect device (basically same as etun) to join virtual 
> routers together,
> but all of the virtual routing (and bridging, etc) logic is already in 
> the kernel
> and just has to be configured properly....
> 
> Ben
> 
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
Re: [PATCH] net: Add etun driver [message #18094 is a reply to message #18088] Fri, 06 April 2007 22:01 Go to previous message
Ben Greear is currently offline  Ben Greear
Messages: 30
Registered: June 2006
Member
Stephen Hemminger wrote:
> On Fri, 06 Apr 2007 14:38:50 -0700
> Ben Greear <greearb@candelatech.com> wrote:
>
>   
>> Stephen Hemminger wrote:
>>     
>>> Why not implement a true virtual network rather than simple
>>> tunnel pairs?
>>>   
>>>       
>> What would a true virtual network do?  You mean with routers and such?
>>     
>
> Rather than just a pair, you could do address matching of destination
> address.
>   
At layer-2, you can already do this by adding the etun device to a 
bridge and let the bridge
do the work.

At layer-3, you can use the routing tables...and all of the other clever 
logic of the linux
kernel.

Imagine what you could do if you had 2000 ethernet ports on your machine 
and lots of
loop-back cables..that is essentially what etun gives you...

Lord knows I love writing virtual devices..but it always seems to turn 
out best if you
leave each piece simple and use the normal linux tools and features to 
put the simple
features together into something much more powerful.

Ben


-- 
Ben Greear <greearb@candelatech.com> 
Candela Technologies Inc  http://www.candelatech.com


_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
Previous Topic: Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container interface to nsproxy subsystem
Next Topic: Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container interface to nsproxy subsystem
Goto Forum:
  


Current Time: Wed May 08 13:22:13 GMT 2024

Total time taken to generate the page: 0.01391 seconds