[Bridge] /dev/tap on uClinux and bridging
Wade Maxfield
wmaxfield at gmail.com
Mon May 4 07:47:47 PDT 2009
I'm trying to use bridging and TUN/TAP on uClinux on Nios processor, on an
Altera fpga.
I downloaded the source for tunctl and it compiled and runs just fine.
It says it created tap0, tap1, tap2, etc., but they don't show up in the
/dev directory.
I'm assuming because there is no demon to create these entries.
I looked at Ubuntu, and saw the /dev/tapx entries are major, minor
36,16.
However, the /dev/net/tun in the uClinux is 200,10.
My question is this: If I create /dev/tap0 in the /dev directory, which
Major,Minor number should I give it?
I'm a little fuzzy on this. I'm assuming if the Major/Minor numbers are
wrong, the brctl program won't be able to use the tap0 interface.
I want to do this, ultimately:
[ethernet]----[kernel bridge]---[tap]---(user program)------data
link------(user program)---[tap]---[kernel bridge]--[ethernet]
The data link is non standard and proprietary. The goal is to bridge the
two ethernets.
Can someone give me some heads up? Any pointers would be appreciated!!!
thanks,
Wade
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linux-foundation.org/pipermail/bridge/attachments/20090504/e1c37dbe/attachment.htm
More information about the Bridge
mailing list