/dev/tap on uClinux and bridging

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

 




  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

 
_______________________________________________
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