Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

vde_switch(1) [debian man page]

VDE_SWITCH(1)						      General Commands Manual						     VDE_SWITCH(1)

vde_switch - Virtual Distributed Ethernet switch SYNOPSIS
vde_switch [ -hub ] [ -sock commdirpath ] [ -mod octal-mode ] [ -group NAME ] [ -tap interface ] [ -daemon ] DESCRIPTION
A vde_switch is a virtual switch for the vde architecture. A vde network can include several vde_switches running on different (real) computers. vde_switches can be connected by vde cables (see vde_plug (1) ). Supported architecture for VDE end nodes include: real linux boxes (through the tuntap interface), bochs, qemu and MPS virtual machines. VDE is useful to create networks of heterogeneous virtual machines as well as as a general tunneling tool -- all the ethernet based proto- cols work by this kind of tunnel -- and also as a tool for mobility. In fact VDE creates an overlay network where users can keep their IP addresses despite of the change of IP addresses on the interfaces. vde_switch needs root privileges to open a tap interface, can be run by users when no -tap option is specified. vde-2 has several features: VLAN, Fast Spanning Tree Protocol, command line management (on console for foreground switches, on a terminal for daemonized switches). If a vde_switch run in foreground mode simply type return to have the prompt. For daemons there is the -M option to specify the management socket. Unixterm is the tool to start a terminal for the management. Type "help" at the prompt for a list of possible options. OPTIONS
-hub turn off the switch engine. It operates as a hub. -sock commdirpath specify the directory when comm socket are created. The default value is "/tmp/vde.ctl" -mod octalmode specify the octal permissions for the comm sockets. -group NAME specify the group owner for the comm socket. The default value is the current user's primary group -tap interface connect the specified tuntap interface to this vde_switch (needs root privileges) It is possible to specify several tap interfaces, comma separated. -daemon Run as a daemon. Use syslog for logging. -f rcfile rc file to set the initial switch configuration. This rc file has the same syntax of the command line interface. -h help. Please use it for a more complete list of options. vde_switch is a modular program, options vary depending of the compiled-in modules. NOTICE
Virtual Distributed Ethernet is not related in any way with ("Verband der Elektrotechnik, Elektronik und Informationstechnik" i.e. the German "Association for Electrical, Electronic & Information Technologies"). SEE ALSO
vde_plug(1), vde_plug2tap(1), vdeq(1), dpipe(1), unixterm(1). AUTHOR
VDE is a project by Renzo Davoli <> VDE started as an enhancement of uml_switch by Jeff Dike and others. VDE-2 has been almost completely rewritten but maybe some statements come from the historical source. So, some copyright and thanks also for Dike&Co. Virtual Distributed Ethernet December 6, 2006 VDE_SWITCH(1)

Check Out this Related Man Page

SLIRPVDE(1)						      General Commands Manual						       SLIRPVDE(1)

slirpvde - Virtual Distributed Ethernet-Slirp interface SYNOPSIS
slirpvde OPTIONS [ socketdir ] DESCRIPTION
slirpvde is a slirp interface for a VDE network. Slirpvde connects all the units (virtual or real machines) to the network of the host where slirpvde runs as it were a NAT/Masquerading router. The default route is the node 2 ( in the default network configuration) and DNS is re-mapped in node 3 ( Slirpvde runs using standard user privileges (no need for root access): all the connections are re-generated by slirpvde itself. IPv4 only. IPv6 is still unsupported (will be supported when slirpvde will be rewritten using the LWIPv6 network stack). OPTIONS
-s, --sock, --socket, --vdesock, --unix directory specify the VDE switch directory (default /var/run/vde.ctl). The VDE switch directory can be also specified at the end of the com- mand, as illustrated by the optional parameter socketdir in the synopsis section, above. When '-' is used in place of the VDE switch directory, slirpvde works as a plug (see vde_plug(1)). The command: dpipe vde_plug = ssh slirpvde - which is the same as: dpipe vde_plug = ssh slirpvde -s - connects the default local switch to a remote slirpvde. -p, --pidfile filename specify the name of the file which contains the PID of slirpvde. -g, --group group specify the UNIX group for the VDE communication socket. -m, --mod mode specify the octal UNIX permissions for the VDE communication socket. -P, --port port specify the port of the vde switch whern slirpvde must be connected. -d, --daemon detach from terminal and run slirpvde in background. -H, --host address [ / masklen ] specify the host address (default This option automatically defines the network. e.g. -H or: --host The default value for masklen is 24. If the host part of the address is zero this option defines only the network. The default host addr is addr 2, the default dns proxy is 3. e.g. -H defines the network only. The host address is and the DNS proxy -n, --network address [ / masklen ] specify the network address (default Deprecated, it has been included for back compatibility only. It is an alias of -H, --host. -N, --dns address Specify the address of the dns server. If this is an address inside the slirp network, slirvde acts as a dns proxy on that address. The slirpvde dhcp server sends this dns address to the clients. By default this is the host number 3 in the slirpvde network. Using the default network it is Warning: do not use the same address for host and dns. -D, --dhcp turn on the DHCP server for the network autoconfiguration of all the units connected to the VDE. It is possible to specify the start address assigned by the DHCP server as follows: --dhcp= DHCP assign addresses starting at host number 15 by default. Using the default network it starts from -L port:vde_host:vde_hostport specifyes a TCP port redirection. All the TCP packets received by the host running slirpvde at port port will be forwarded to vde_host at port vde_hostport. -U port:vde_host:vde_hostport specifyes a UDP port redirection. All the UDP packets received by the host running slirpvde at port port will be forwarded to vde_host at port vde_hostport. -X vde_host[:display.[screen]]i redirect a X window screen of a virtual machine. Slirpvde gets the first unused X display on the host running slirpvde and redirects all the requests to vde_host. display and screen] must be specified when different from :0.0. -x port:unix_socket_path] redirect a port of the virtual router (usually to a unix stream socket. It is used for example to redirect a X display of the hosting computer on the virtual network. e.g. -x6000:/tmp/.X11-unix/X0. (A suitable xhost configuration is needed (e.g. 'xhost local:'). -t, --tftp pathname slirpvde enables a tftp server sharing (read-only) the directory at pathname. -q, --quiet Quiet; do not write anything to standard output. NOTICE
Virtual Distributed Ethernet is not related in any way with ("Verband der Elektrotechnik, Elektronik und Informationstechnik" i.e. the German "Association for Electrical, Electronic & Information Technologies"). SEE ALSO
vde_switch(1), vde_plug(1), vde_plug2tap(1), dpipe(1). AUTHOR
VDE is a project by Renzo Davoli <>. This tool includes software developed by Danny Gasparovski: Slirp code is by Danny Gasparovsky. Bootp/DHCP code is by Fabrice Bellard. Virtual Distributed Ethernet June 15, 2008 SLIRPVDE(1)
Man Page

Featured Tech Videos