Bridge two tun/tap interfaces and keep their IP address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Bridge mailing list
Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/bridge

[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux