man vdetap (Commandes) - Virtual Distributed Ethernet tap emulation library

NAME

vdetaplib - Virtual Distributed Ethernet tap emulation library

SYNOPSIS

No synopsis



DESCRIPTION

vdetaplib is a library that emulates tap (tuntap level2 interface, see in kernel sources ./Documentation/networking/tun.c) and connects tap virtual interfaces to vde networks.

To use it, the libvdetab.so library must be preloaded (sh,ksh or bash syntax):

export LD_PRELOAD=/usr/lib/libvdetap.so (csh, tchs syntax):

setenv LD_PRELOAD /usr/lib/libvdetap.so

If you want to divert all tap requests to a single vde_switch set the variable VDEALLTAP to the vde socket. (sh,ksh or bash syntax):

export VDEALLTAP=/tmp/vde.ctl (csh, tchs syntax):

setenv VDEALLTAP /tmp/vde.ctl

It is also possible to set each single interface to different vde_switches by setting the environment variable with the same name of the interface. (sh,ksh or bash syntax):

export tap0=/tmp/vde.ctl

export tap1=/tmp/myvde.ctl

export ppc=/tmp/ppc.ctl (csh, tchs syntax):

setenv tap0 /tmp/vde.ctl

setenv tap1 /tmp/myvde.ctl

setenv ppc /tmp/ppc.ctl

The variable to set the specific interface is checked first then VDEALLTAP. VDEALLTAP thus works as a default choice for the vde switch to be used. If VDEALLTAP is not set and there is no specific environment variable (and for tun -- IFF_TUN interfaces) the kernel provided interface is used. In this latter case access to /dev/net/tun is required, generally root access.

SEE ALSO

AUTHOR

VDE is a project by Renzo Davoli <renzo@cs.unibo.it>