1 .TH VDE_PLUG 1 "December 6, 2006" "Virtual Distributed Ethernet"
3 vde_plug \- Virtual Distributed Ethernet plug (two plugs creates a vde cable)
25 is a plug to be connected into a VDE switch.
26 All the data that is catched by the plug is written in its stdout and
27 everything from stdin is injected in the switch.
29 This tool has been designed to be used together with
31 to interconnect a second vde_plug to another switch, working as a
32 virtual ethernet crossed cable between the two switches.
37 .B dpipe vde_plug = vde_plug /tmp/vde2.ctl
39 connects two local switches: the former is using the standard control socket /tmp/vde.ctl
40 while the latter is using /tmp/vde2.ctl.
46 .B dpipe vde_plug = ssh remote.machine.org vde_plug
48 connects two remote switches.
49 If the two vde_switches run as daemon and they are connected to tap interfaces
50 a level 2 encrypted tunnel is established.
52 vde_plug can also be established as a login shell for users.
53 The following command works as in the previous example
56 .B dpipe vde_plug = ssh vdeuser@remote.machine.org vde_plug
58 where vdeuser is the user with vde_plug as standard shell.
59 All the remote accesses are logged by syslog at the beginning and at the
61 Attempt to login without the command vde_plug at the end or trying to
62 execute something else are blocked and the attempt is logged into syslog.
66 .B \-p "\fIportnum\fP"
67 It is possible to decide which port of the switch to use.
68 When this option is not specified the switch assigns the first
69 available unused port (if any).
70 It is possible to connect several cables in the same switch port:
71 in this way all this cables work concurrently.
72 It means that packet can result as duplicate but no ARP table loops are
74 Is useful when vde is used for mobility. Several physical interfaces can
75 be used at a time during handoffs to prevent hichups in connectivity.
78 group ownership of the communication socket. For security when more
79 want to share a switch it is better to use a unix group to own the comm sockets
80 so that the network traffic cannot be sniffed.
82 .B \-m "\fIoctal-mode\fP"
83 octal chmod like permissions for the comm sockets
86 (This option can be also set as:
87 .B -sock "\fIsocketdir\fP"
88 ) specify the directory which contains the UNIX socket to be used by local programs for joining the VDE.
89 The default value is "/tmp/vde.ctl", which corresponds to the socket
92 Virtual Distributed Ethernet is not related in any way with
93 www.vde.com ("Verband der Elektrotechnik, Elektronik und Informationstechnik"
94 i.e. the German "Association for Electrical, Electronic & Information
99 \fBvde_plug2tap\fP(1),
104 VDE is a project by Renzo Davoli <renzo@cs.unibo.it>