[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-bridge
Subject:    [Bridge] Bridge two tun/tap interfaces and keep their IP address
From:       "Spigao spigao" <spigao () gmail ! com>
Date:       2008-02-04 12:55:27
Message-ID: 71e4505a0802040455v519fae8aieed95a0fa3ba6372 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello everybody,

I am new in this mailing list and quite new with the brctl too; so, I'm
sorry if this is a very obvious or absurd question.


I am performing network emulations, with a very particular emulator that
uses tap devices. Also, I want to run UML virtual machines as if they are
binded to those tap device. But it is not possible to use the same tap,
because the network emulator doesn't allow UML to access it (the emulator
manages the file descriptor of the tap). So, I am thinking on building a
bridge with two virtual interfaces, one for the emulator and one for the
UML.

The problem is that I can't manage to build a bridge joining the two tap
interfaces, which also should keep their IP address. The reason why they
should keep it is that in the emulator tap, a routing daemon must take the
IP address from the interface; so, if I change it to 0.0.0.0, it doesn't
work properly.

Until now, the interfaces only receive some of the packets, the bridge is
not completely transparent.

In other words, what I need is two tap interfaces working as one, is it
possible? how would you do it?


Best regards,
Sergio

[Attachment #5 (text/html)]

Hello everybody,<br><br>I am new in this mailing list and quite new with the brctl \
too; so, I&#39;m sorry if this is a very obvious or absurd question.<br><br><br>I am \
performing network emulations, with a very particular emulator that uses tap devices. \
Also, I want to run UML virtual machines as if they are binded to those tap device. \
But it is not possible to use the same tap, because the network emulator doesn&#39;t \
allow UML to access it (the emulator manages the file descriptor of the tap). So, I \
am thinking on building a bridge with two virtual interfaces, one for the emulator \
and one for the UML.<br> <br>The problem is that I can&#39;t manage to build a bridge \
joining the two tap interfaces, which also should keep their IP address. The reason \
why they should keep it is that in the emulator tap, a routing daemon must take the \
IP address from the interface; so, if I change it to <a \
href="http://0.0.0.0">0.0.0.0</a>, it doesn&#39;t work properly.<br> <br>Until now, \
the interfaces only receive some of the packets, the bridge is not completely \
transparent.<br><br>In other words, what I need is two tap interfaces working as one, \
is it possible? how would you do it?<br><br> <br>Best regards,<br>Sergio<br>



_______________________________________________
Bridge mailing list
Bridge@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/bridge

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic