[PATCH] Virtual ethernet device (tunnel)

2007-05-02 Thread Pavel Emelianov
Veth stands for Virtual ETHernet. It is a simple tunnel driver that works at the link layer and looks like a pair of ethernet devices interconnected with each other. Mainly it allows to communicate between network namespaces but it can be used as is as well. Eric recently sent a similar driver ca

Re: [PATCH] Virtual ethernet device (tunnel)

2007-05-02 Thread Patrick McHardy
Pavel Emelianov wrote: > Veth stands for Virtual ETHernet. It is a simple tunnel driver > that works at the link layer and looks like a pair of ethernet > devices interconnected with each other. > > Mainly it allows to communicate between network namespaces but > it can be used as is as well. > >

Re: [PATCH] Virtual ethernet device (tunnel)

2007-05-02 Thread jamal
On Wed, 2007-02-05 at 14:34 +0200, Patrick McHardy wrote: > Thats a lot better than using sysfs, but I think it would be > preferrable to use rtnetlink instead of genetlink for network > configuration. or you can just hold rtnl while using genl. I do agree it would be easier to just use rtnetlink

Re: [PATCH] Virtual ethernet device (tunnel)

2007-05-02 Thread Patrick McHardy
jamal wrote: > On Wed, 2007-02-05 at 14:34 +0200, Patrick McHardy wrote: > > >>Thats a lot better than using sysfs, but I think it would be >>preferrable to use rtnetlink instead of genetlink for network >>configuration. > > > or you can just hold rtnl while using genl. > I do agree it would be

Re: [PATCH] Virtual ethernet device (tunnel)

2007-05-02 Thread Eric W. Biederman
Patrick McHardy <[EMAIL PROTECTED]> writes: > jamal wrote: >> On Wed, 2007-02-05 at 14:34 +0200, Patrick McHardy wrote: >> >> >>>Thats a lot better than using sysfs, but I think it would be >>>preferrable to use rtnetlink instead of genetlink for network >>>configuration. >> >> >> or you can j

Re: [PATCH] Virtual ethernet device (tunnel)

2007-05-02 Thread Patrick McHardy
Eric W. Biederman wrote: > The consensus from the last thread was pretty much that we need > to implement RTM_NEWLINK and RTM_DELLINK, if it is at all possible. Yes, as I said, I can take care of this for 2.6.23. > So that we can get code reuse between different virtual devices. > Although I sus

Re: [PATCH] Virtual ethernet device (tunnel)

2007-05-02 Thread Stephen Hemminger
On Wed, 02 May 2007 14:54:51 +0400 Pavel Emelianov <[EMAIL PROTECTED]> wrote: > Veth stands for Virtual ETHernet. It is a simple tunnel driver > that works at the link layer and looks like a pair of ethernet > devices interconnected with each other. > > Mainly it allows to communicate between net

Re: [PATCH] Virtual ethernet device (tunnel)

2007-05-02 Thread Ben Greear
Pavel Emelianov wrote: Veth stands for Virtual ETHernet. It is a simple tunnel driver that works at the link layer and looks like a pair of ethernet devices interconnected with each other. Mainly it allows to communicate between network namespaces but it can be used as is as well. Eric recently

Re: [Devel] [PATCH] Virtual ethernet device (tunnel)

2007-05-02 Thread Daniel Lezcano
Pavel Emelianov wrote: Veth stands for Virtual ETHernet. It is a simple tunnel driver that works at the link layer and looks like a pair of ethernet devices interconnected with each other. Mainly it allows to communicate between network namespaces but it can be used as is as well. Eric recently

Re: [Devel] [PATCH] Virtual ethernet device (tunnel)

2007-05-02 Thread Pavel Emelianov
Daniel Lezcano wrote: > Pavel Emelianov wrote: >> Veth stands for Virtual ETHernet. It is a simple tunnel driver >> that works at the link layer and looks like a pair of ethernet >> devices interconnected with each other. >> >> Mainly it allows to communicate between network namespaces but >> it ca