-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathvde_switch.1.html
181 lines (145 loc) · 4.56 KB
/
vde_switch.1.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
Content-type: text/html; charset=UTF-8
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of VDE_SWITCH</TITLE>
</HEAD><BODY>
<H1>VDE_SWITCH</H1>
Section: User Commands (1)<BR>Updated: December 6, 2006<BR><A HREF="#index">Index</A>
<A HREF="/#/man/index">Return to Main Contents</A><HR>
<A NAME="lbAB"> </A>
<H2>NAME</H2>
vde_switch - Virtual Distributed Ethernet switch
<A NAME="lbAC"> </A>
<H2>SYNOPSIS</H2>
<B>vde_switch </B>
[
<B>-hub </B>
]
[
<B>-sock</B>
<I>commdirpath </I>
]
[
<B>-mod</B>
<I>octal-mode </I>
]
[
<B>-group</B>
<I>NAME</I>
]
[
<B>-tap</B>
<I>interface </I>
]
[
<B>-daemon</B>
]
<BR>
<A NAME="lbAD"> </A>
<H2>DESCRIPTION</H2>
A
<B>vde_switch</B>
is a virtual switch for the vde architecture.
<BR>
A vde network can include several vde_switches running on different
(real) computers.
vde_switches can be connected by vde cables (see
<B>vde_plug (1)</B>
).
<BR>
Supported architecture for VDE end nodes include:
real linux boxes (through the tuntap interface),
bochs, qemu and MPS virtual machines.
<BR>
VDE is useful to create networks of heterogeneous virtual machines as
well as as a general tunneling tool -- all the ethernet based protocols 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.
<P>
vde_switch needs root privileges to open a tap interface, can be run by
users when no -tap option is specified.
<P>
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.
<P>
<A NAME="lbAE"> </A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT><B>-hub </B>
<DD>
turn off the switch engine. It operates as a hub.
<DT><B>-sock </B><I>commdirpath</I>
<DD>
specify the directory when comm socket are created.
The default value is "/tmp/vde.ctl"
<DT><B>-mod </B><I>octalmode</I>
<DD>
specify the octal permissions for the comm sockets.
<DT><B>-group </B><I>NAME</I>
<DD>
specify the group owner for the comm socket.
The default value is the current user's primary group
<DT><B>-tap </B><I>interface</I>
<DD>
connect the specified tuntap interface to this vde_switch (needs root privileges)
It is possible to specify several tap interfaces, comma separated.
<DT><B>-daemon</B>
<DD>
Run as a daemon. Use syslog for logging.
<DT><B>-f rcfile</B>
<DD>
rc file to set the initial switch configuration. This rc file has the same syntax of
the command line interface.
<DT><B>-nostdin</B>
<DD>
Allow stdin to be closed.
<DT><B>-h </B>
<DD>
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.
</DL>
<A NAME="lbAF"> </A>
<H2>NOTICE</H2>
Virtual Distributed Ethernet is not related in any way with
<A HREF="http://www.vde.com">www.vde.com</A> ("Verband der Elektrotechnik, Elektronik und Informationstechnik"
i.e. the German "Association for Electrical, Electronic & Information
Technologies").
<P>
<A NAME="lbAG"> </A>
<H2>SEE ALSO</H2>
<B><A HREF="/#/man/man1/vde_plug.1.html">vde_plug</A></B>(1),
<B><A HREF="/#/man/man1/vde_plug2tap.1.html">vde_plug2tap</A></B>(1),
<B><A HREF="/#/man/man1/vdeq.1.html">vdeq</A></B>(1),
<B><A HREF="/#/man/man1/dpipe.1.html">dpipe</A></B>(1),
<B><A HREF="/#/man/man1/unixterm.1.html">unixterm</A></B>(1).
<BR>
<A NAME="lbAH"> </A>
<H2>AUTHOR</H2>
VDE is a project by Renzo Davoli <<A HREF="mailto:[email protected]">[email protected]</A>>
<BR>
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.
<P>
<HR>
<A NAME="index"> </A><H2>Index</H2>
<DL>
<DT><A HREF="#lbAB">NAME</A><DD>
<DT><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT><A HREF="#lbAE">OPTIONS</A><DD>
<DT><A HREF="#lbAF">NOTICE</A><DD>
<DT><A HREF="#lbAG">SEE ALSO</A><DD>
<DT><A HREF="#lbAH">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 15:22:07 GMT, November 27, 2023
</BODY>
</HTML>