[PATCH] net: Add etun driver

Ben Greear greearb at candelatech.com
Fri Apr 6 15:01:46 PDT 2007


Stephen Hemminger wrote:
> On Fri, 06 Apr 2007 14:38:50 -0700
> Ben Greear <greearb at 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 at candelatech.com> 
Candela Technologies Inc  http://www.candelatech.com





More information about the Containers mailing list