1 .TH VDETAPLIB 1 "December 6, 2006" "Virtual Distributed Ethernet"
3 vdetaplib \- Virtual Distributed Ethernet tap emulation library
10 is a library that emulates tap (tuntap level2 interface, see
11 in kernel sources Documentation/networking/tun.c) and connects
12 tap virtual interfaces to vde networks.
14 To use it, the libvdetab.so library must be preloaded
15 (sh, ksh or bash syntax):
19 export LD_PRELOAD=%LIBEXECDIR%/libvdetap.so
25 setenv LD_PRELOAD %LIBEXECDIR%/libvdetap.so
28 If you want to divert all tap requests to a single vde_switch set the
29 variable VDEALLTAP to the vde socket.
30 (sh, ksh or bash syntax):
34 export VDEALLTAP=/tmp/vde.ctl
40 setenv VDEALLTAP /tmp/vde.ctl
43 It is also possible to set each single interface to different vde_switches
44 by setting the environment variable with the same name of the interface.
45 (sh, ksh or bash syntax):
49 export tap0=/tmp/vde.ctl
52 export tap1=/tmp/myvde.ctl
55 export ppc=/tmp/ppc.ctl
61 setenv tap0 /tmp/vde.ctl
64 setenv tap1 /tmp/myvde.ctl
67 setenv ppc /tmp/ppc.ctl
71 The variable to set the specific interface is checked first then
72 VDEALLTAP. VDEALLTAP thus works as a default choice for the vde switch
74 If VDEALLTAP is not set and there is no specific environment variable
75 (and for tun -- IFF_TUN interfaces) the kernel provided interface is used.
76 In this latter case access to /dev/net/tun is required, generally root access.
79 Virtual Distributed Ethernet is not related in any way with
80 www.vde.com ("Verband der Elektrotechnik, Elektronik und Informationstechnik"
81 i.e. the German "Association for Electrical, Electronic & Information
89 VDE is a project by Renzo Davoli <renzo@cs.unibo.it>