logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

vdetaplib - Virtual Distributed Ethernet tap emulation library

Author

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

Virtual Distributed Ethernet                    December 6, 2006                                    VDETAPLIB(1)

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):
              exportLD_PRELOAD=/usr/lib/vde2/libvdetap.so
       (csh, tchs syntax):
              setenvLD_PRELOAD/usr/lib/vde2/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):
              exportVDEALLTAP=/tmp/vde.ctl
       (csh, tchs syntax):
              setenvVDEALLTAP/tmp/vde.ctl

       It is 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):
              exporttap0=/tmp/vde.ctlexporttap1=/tmp/myvde.ctlexportppc=/tmp/ppc.ctl
       (csh, tchs syntax):
              setenvtap0/tmp/vde.ctlsetenvtap1/tmp/myvde.ctlsetenvppc/tmp/ppc.ctl

       It is also possible to specify port, group or mode for a given interface setting environment variables as
       in the following example.
       (sh, ksh or bash syntax):
              exporttap0_port=5exporttap0_group=vde-netexporttap0_mode=0660
       (csh, tchs, syntax):
              setenvtap0_port5setenvtap0_groupvde-netsetenvtap0_mode0660

       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.

Name

       vdetaplib - Virtual Distributed Ethernet tap emulation library

Notice

       Virtual Distributed Ethernet is not related in any way with  www.vde.com  ("Verband  der  Elektrotechnik,
       Elektronik und Informationstechnik" i.e. the German "Association for Electrical, Electronic & Information
       Technologies").

See Also

vde_switch(1), vdeq(1).

Synopsis

       No synopsis

See Also