[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] tun vs. ethertap ? was: tun device on 2.6?


  • Subject: [Openvpn-users] tun vs. ethertap ? was: tun device on 2.6?
  • From: JP M <jpm_tmp2@xxxxxxxxx>
  • Date: Thu, 4 Mar 2004 02:38:33 -0800 (PST)

Hi,
I am sort of following up expecting someone can bring
me light on the way tun device creation is handled in
recent (debian ?) kernels. 
**Obviously this is not an OpenVPN issue** 

I use the debian network configuration scheme in
/etc/network : ./interfaces, ./pre-up.d, ...

Some time ago I was using the ethertap module to have
tun/tap capability. At that time I was able to write
in the ./interfaces file something like:

auto  tap0
iface tap0 static
      address X.X.X.X
      ...

And starting the network would make tap0 come alive.

Since I moved to the tun module, this is not true
anymore in my experience. My current turnaround is
call OpenVPN for rescue adding stanzas like:
      
      ...
      pre-up /sbin/run_openvpns_mktun.sh tap0
      post-down /sbin/run_openvpns_deltun.sh tap0

I am using tap devices for running apache ip-based
virtual hosts (and for openvpn of course). 
If it is totally sick to use tun/tap devices outside
openvpn, uml and the like, just let me know :-)

--JP

__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you?re looking for faster
http://search.yahoo.com

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users