[Bridge] Tap and Bridge problem

Lambert Laurent lambert.laurent91 at gmail.com
Mon Jul 8 08:12:15 UTC 2013


Thank you for your answer. From what i understand two tap interface can't
speak together though a bridge. so the idea is to have two veth pair
between each tap and the bridge. I should get the following topology:

Tap0 == <Veth10> == <Veth00> == bridge == <Veth01> == <Veth11> == Tap1

Now i'm not sure to understand how to connect the tap device to the Veth.
Can you give me a hint on that part ?

Thank you

2013/7/7 Marek Kierdelewicz <marek at piasta.pl>

> > Hi,
> Hi,
> >I'm currently trying to use bridge and tap for my work. In my setup I
> >use two programs communicating though tap interface. I connect the two
> >tap interface with a bridge.
> >...
> >Now comes the problem, currently only broadcast or multicast frames
> >goes through the bridge. Every unicast frame get drop (or stuck)
> >between the
> >Did anyone this behavior in the past time ?
> Yes. Try using veth pair interfaces:
> ip link add name veth1 type veth peer name veth2
> You'll get veth1 and veth2 pair that act as a "wormhole". Now add veth1
> to the bridge and use veth2 with your program in the way you used tap.
> If you need second pair just repeat procedure with different interface
> names.
> Best regards,
> Marek Kierdelewicz

Lambert Laurent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/bridge/attachments/20130708/3f0f7144/attachment.html>

More information about the Bridge mailing list