[Planetlab-users] vnet tap
Samuel Lucas Vaz de Mello
samuelm at sulbbs.com.br
Sun Nov 27 14:54:11 EST 2005
[Please reply with CC to me]
I'm trying to use the new vnet's tap0 interface to build a overlay network.
I wrote a simple program, just to test it. It reads the data
from /dev/net/tun, swap IP source and destination and change the ICMP type
from echo-request to echo-reply and write it back the tun file descriptor.
Using the "real" tun/tap driver (not the vnet's one) I'm able to "ping" any
address that uses the interface tap0.
Using the vnet's tap0 interface I read the data, swap source/destination and
write it back to the fd. The write call return sucessfully but the data does
not appear in the ping program. Using a small sniffer that uses libpcap for
dumping all packages for the tap0 interface, it shows the ping requests but
not the replies.
There is any restriction for the data being sent through tap0 interface?
More information about the Users