RE: can't bring up more than one tap device

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

 




On 13-Oct-2000 Tuan Hoang wrote:
> Under Red Hat 6.1 with kernel 2.2.16-3 and all the latest RPM's as of
> 10/13/2000, I did the following:
> 
> modprobe ethertap
> mknod /dev/tap0 c 36 16
> mknod /dev/tap1 c 36 17
> mknod /dev/tap2 c 36 18
> mknod /dev/tap3 c 36 19
> 
> I'm able to bring tap0 up using the usual "ifconfig tap0 ..."
> but I can't bring any others up.  How do you bring up the other tap
> devices?  Is there a kernel boot-time param that I need to set to enable
> more than one tap device?  Any sysctl to change?

Try to add next few lines in /etc/modules.conf

alias tap0      ethertap
options tap0    -o tap0 unit=0
alias tap1      ethertap
options tap1    -o tap1 unit=1
alias tap2      ethertap
options tap2    -o tap2 unit=2

etc...

Cheers,
----------------------------------
E-Mail: Milan P. Stanic <mps@rns-nis.co.yu>
----------------------------------
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux