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)

NAME
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 www.vde.com ("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 <renzo@cs.unibo.it> 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

VDE_CRYPTCAB(1) 					      General Commands Manual						   VDE_CRYPTCAB(1)

NAME
vde_cryptcab - Virtual Distributed Ethernet encrypted cable manager SYNOPSIS
vde_cryptcab [ -p portnum ] [ -s socketpath ] [ -c [remote_user@]host[:remote_portnum] ] [ -P pre_shared.key ]| [ -x ] [ -v [v][v][v] ] [ -k ] [ -d ] DESCRIPTION
A vde_cryptcab is a distributed cable manager for VDE switches. It allows two VDE switches on two machines to communicate using a blowfish encrypted channel. When used in client mode (i.e., with -c option), it generates a random blowfish key, and uses scp (1) to transfer the key to the remote server. On the client side, the environment variable SCP_EXTRA_OPTIONS may be set in order to append options to the scp command line (this is use- ful for example when dropbear or another non-standard ssh client is used to transfer the blowfish key). After a 4-way handshake phase to verify client credentials, server and client will exchange VDE datagrams encapsulating them into crypto- grams that are sent via udp to each remote host. On server side, one could run: vde_cryptcab -s /tmp/vde2.ctl -p 2100 To start a multi-peer cryptcab server, accepting udp datagrams on port 2100, that connects each authenticated remote client to a different port of the switch. In fact, a new instance of vde_plug (1) is started and connected to the switch through local unix socket. The command vde_cryptcab -s /tmp/vde2.ctl -c foo@remote.machine.org:2100 will connect a client to the remote server, running on udp port 2100. At this point, on server side a verify for user "foo" credentials is required, typically it could be: host-based authentication, password challenge or public key authentication. See ssh (1) for more details about it. If the two vde_switches run as daemon and they are connected to tap interfaces a level 2 encrypted tunnel is established. OPTIONS
-p portnum It is possible to decide which local udp port to use. When this option is not specified, cryptcab will use default udp port number, 7667. -c [remote_user@]host[:remote_portnum] run vde_cryptcab in client mode, trying to connect to host . Both remote_user and remote_portnum parameters are not required. If not specified, the same user running vde_cryptcab is used for authentication on server, and default udp port 7667 is used. -s socketpath specify the UNIX socket to be used by local programs for joining the VDE. The default value is "/tmp/vde.ctl". -P pre_shared.keypath if specified, vde_cryptcab will run in pre-shared key mode, instead of generating a random key to transmit with ssh. Given option is the path to the pre-shared symmetric key file to use for data encryption. The same key has to be used on both client and server. -x Disable symmetric key encryption. -k Send periodic "keepalive" packets to avoid server timeouts. Useful when you want to keep a low-traffic link available. -d Run as daemon. -v Verbose. (Use -vv -vvv or -vvvv for more verbosity) KNOWN ISSUES
Encapsulating IP packets into session+udp layer results in real datagrams larger than tap device mtu. Since vde_cryptcab gets confused by packet fragmentation, the tap device mtu must be set to a smaller value than real interface mtu. Use ip(8) or ifconfig(8) to set up your tap device mtu. Explicitly disabling encryption leads to obvious security problems. It is advised to avoid unencrypted mode (-x) in non-controlled net- works. 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), vde_plug(1), vde_plug2tap(1), scp(1), ssh(1). AUTHORS
VDE is a project by Renzo Davoli <renzo@cs.unibo.it>. vde_cryptcab is a VDE component by Daniele Lacamera <root@danielinux.net> Virtual Distributed Ethernet December 6, 2006 VDE_CRYPTCAB(1)
Man Page