Hi.

Derek Smalls wrote:
>>I have not played with tun/tap myself, but the
>>kernel documentation in
>>Documentation/networking/tuntap.txt seems to
>>indicate that you need a program to listen on two
>>opened /dev/net/tun devices and copy the frames
>>from one to the other.
Thanks! I was afraid this was the reason ... :(

I actually tried writing an application that would
open /dev/tap4 as a file and do a select() on it.

The standalone tun-package [1] contains two example applications that act as simple bridges, one using SIGIO, one using select(). I guess it could be helpful for you to take a look at these examples.


[1] http://vtun.sourceforge.net/tun/tun-1.1.tar.gz

Bye, Mike
_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://lists.osdl.org/mailman/listinfo/bridge

Reply via email to