Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

vdetaplib(1) [debian man page]

VDETAPLIB(1)						      General Commands Manual						      VDETAPLIB(1)

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/vde2/libvdetap.so (csh, tchs syntax): setenv LD_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): export VDEALLTAP=/tmp/vde.ctl (csh, tchs syntax): setenv VDEALLTAP /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 inter- face. (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 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): export tap0_port=5 export tap0_group=vde-net export tap0_mode=0660 (csh, tchs, syntax): setenv tap0_port 5 setenv tap0_group vde-net setenv tap0_mode 0660 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. 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). AUTHOR
VDE is a project by Renzo Davoli <renzo@cs.unibo.it> Virtual Distributed Ethernet December 6, 2006 VDETAPLIB(1)

Check Out this Related Man Page

VDE_PCAPPLUG(1) 					      General Commands Manual						   VDE_PCAPPLUG(1)

NAME
vde_pcapplug - Virtual Distributed Ethernet libpcap cable SYNOPSIS
vde_pcapplug [OPTION]... interface DESCRIPTION
vde_pcapplug is a plug to be connected into a VDE switch. All the data that is catched by the plug is injected into interface and every- thing from that interface is sent in the switch. OPTIONS
-p, --port=portnum It is possible to decide which port of the switch to use. When this option is not specified the switch assigns the first available unused port (if any). It is possible to connect several cables in the same switch port: in this way all this cables work concur- rently. It means that packet can result as duplicate but no ARP table loops are generated. Is useful when vde is used for mobil- ity. Several physical interfaces can be used at a time during handoffs to prevent hichups in connectivity. -g, --group=group group ownership of the communication socket. For security when more want to share a switch it is better to use a unix group to own the comm sockets so that the network traffic cannot be sniffed. -m, --mod=octal-mode octal chmod like permissions for the comm sockets -s, --sock=socket specify the UNIX socket to be used by local programs for joining the VDE. The default value is "/tmp/vde.ctl". -d, --daemon start vde_plug2tap as a background process -P, --pidfile=pidfile put the process ID of vde_plug2tap in pidfile. Can be used with --daemon to store the PID for future killing. -h, --help show a brief help 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), vde_plug(1), vdeq(1), dpipe(1). AUTHOR
VDE is a project by Renzo Davoli <renzo@cs.unibo.it> Virtual Distributed Ethernet August 20, 2008 VDE_PCAPPLUG(1)
Man Page