* looking for veth like. @ 2010-01-15 11:55 Christian Durieux 2010-01-15 12:29 ` Rémi Denis-Courmont 0 siblings, 1 reply; 4+ messages in thread From: Christian Durieux @ 2010-01-15 11:55 UTC (permalink / raw) To: netdev Hi, I need to inter-connect two bridges together. I want to get this: ---------------- ------------------ | br0 | | br1 | ---------------- ------------------ (veth0) ^ ^ (veth1) |___________| So with my current kernel release (2.6.28-17), I used the virtual Ethernet pair device (veth) kernel module associated to the IP utility. I did it as follows: # First bridge brclr addbr br0 ifconfig br0 up # Second bridge brctl addbr br1 ifconfig br1 up # veth link ip link add name veth0 type veth peer name veth1 ifconfig veth0 up ifconfig veth1 up # insertion brctl addif br0 veth0 brctl addif br1 veth1 And for such kernel release it works fine. But now I want to do so with an oldest kernel release (2.6.18-8 for instance). This old release do not provide the virtual Ethernet pair device module. Is there a way to do the same with that oldest kernel release ? It there an veth-like module ? (I saw some stuffs suche as etun but can not get it... ?) Thanks, Christian. _________________________________________________________________ Discutez en direct avec vos amis sur Messenger ! http://www.windowslive.fr/messenger ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: looking for veth like. 2010-01-15 11:55 looking for veth like Christian Durieux @ 2010-01-15 12:29 ` Rémi Denis-Courmont 2010-01-15 13:30 ` Christian Durieux 0 siblings, 1 reply; 4+ messages in thread From: Rémi Denis-Courmont @ 2010-01-15 12:29 UTC (permalink / raw) To: Christian Durieux; +Cc: netdev On Fri, 15 Jan 2010 11:55:03 +0000, Christian Durieux <christian_durieux@hotmail.com> wrote: > Is there a way to do the same with that oldest kernel release ? > It there an veth-like module ? (I saw some stuffs suche as etun but can > not get it... ?) Create two tap devices using /dev/net/tun and forward packets between them. -- Rémi Denis-Courmont http://www.remlab.net http://fi.linkedin.com/in/remidenis ^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: looking for veth like. 2010-01-15 12:29 ` Rémi Denis-Courmont @ 2010-01-15 13:30 ` Christian Durieux 2010-01-15 13:56 ` Rémi Denis-Courmont 0 siblings, 1 reply; 4+ messages in thread From: Christian Durieux @ 2010-01-15 13:30 UTC (permalink / raw) To: remi; +Cc: NetDev List > > Create two tap devices using /dev/net/tun and forward packets between them. > I've been thinking of this but I need to stay at the kernel level (for performance issue). _________________________________________________________________ Nouveau ! Tout Windows Live débarque dans votre téléphone. Voir les Windows phone http://clk.atdmt.com/FRM/go/175819071/direct/01/ ^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: looking for veth like. 2010-01-15 13:30 ` Christian Durieux @ 2010-01-15 13:56 ` Rémi Denis-Courmont 0 siblings, 0 replies; 4+ messages in thread From: Rémi Denis-Courmont @ 2010-01-15 13:56 UTC (permalink / raw) To: Christian Durieux; +Cc: NetDev List On Fri, 15 Jan 2010 13:30:28 +0000, Christian Durieux <christian_durieux@hotmail.com> wrote: >> Create two tap devices using /dev/net/tun and forward packets between >> them. > I've been thinking of this but I need to stay at the kernel level (for > performance issue). Obviously, with an old kernel, you can't do something that requires a more recent kernel. Add two NICs and plug a cross cable between them if you don't want to involve user land. -- Rémi Denis-Courmont http://www.remlab.net http://fi.linkedin.com/in/remidenis ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-01-15 13:56 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-01-15 11:55 looking for veth like Christian Durieux 2010-01-15 12:29 ` Rémi Denis-Courmont 2010-01-15 13:30 ` Christian Durieux 2010-01-15 13:56 ` Rémi Denis-Courmont
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox