Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-09-2007, 01:18 PM   #1
LQ Newbie
Registered: Jun 2006
Posts: 3

Rep: Reputation: 0
tun tap doubt

i have just one doubt-
/dev/net/tun exists on my system

but how should 1 configure tun0,tun1,.......;i mean how should 1 assign the ip addresses to tun0,tun1,..
ifconfig tun0 ipadr1 ..... gives an error that device not found
how exactly to use "ifconfig" for configuring /dev/tun0,/dev/tun1.....

i really don't understand the difference between /dev/net/tun and /dev/tun0 , /dev/tun1,/dev/tun2 ......

how do you actually configure the ipaddresses for tun0,tun1 ................
I really am confused regarding this

please do help me out on this

Old 01-09-2007, 01:37 PM   #2
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
Originally Posted by karan84
how do you actually configure the ipaddresses for tun0,tun1 ................
I really am confused regarding this
Old 01-10-2007, 01:43 AM   #3
LQ Newbie
Registered: Jun 2006
Posts: 3

Original Poster
Rep: Reputation: 0
i still don't get it
when i try to ifconfig tun0,tun1 - it gives the following error:"device not found"


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tun/Tap issue minasafwat Linux - Kernel 0 11-14-2006 01:11 AM
Tun/Tap getting started? blavo Linux - Newbie 0 02-14-2006 10:29 AM
Recent problem with TUN/TAP and Bridging meres Linux - Networking 2 12-29-2005 07:02 AM
how to allow tun/tap device in firewall? efm Linux - Networking 12 07-22-2005 04:47 AM
TUN TAP for non-Redhat Machine Echo Kilo Linux - Networking 3 12-19-2004 06:16 PM

All times are GMT -5. The time now is 06:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration