1 .TH VDEQ 1 "December 6, 2006" "Virtual Distributed Ethernet"
3 vdeq \- Virtual Distributed Ethernet wrapper for QEMU/KVM virtual machines
12 .B -net vde[,vlan=n][,sock=socketpath][,port=n]
22 .B -net vde[,vlan=n][,sock=socketpath][,port=n]
25 .B vde\fP{\fIqemu_name\fP}
31 .B -net vde[,vlan=n][,sock=socketpath][,port=n]
54 .B vde\fP{\fIqemu_name\fP}
70 is a wrapper to start a QEMU/KVM virtual machine connected to a VDE network.
71 It uses the qemu/kvm \fB \-tun-fd \fP parameter to set up the connection with
78 vdeq qemu -b c -hda=sampledisk
80 starts a qemu machine which boots from the sampledisk image and
81 has a ne2000 ethernet interface connected to the standard vde_switch.
86 vdeq kvm -b c -hda=sampledisk
88 starts a kvm machine which boots from the sampledisk image and
89 has a ne2000 ethernet interface connected to the standard vde_switch.
92 It is also possible to create symbolic links to the vdeq executable to have
93 a simpler command. If the link has a name that begins with vde the remaining part
94 of the name is taken as the qemu command. For example if vdeq is linked to
99 vdeqemu -b c -hda=sampledisk
101 starts qemu as above. If vdeq is linked to vdekvm:
105 vdekvm -b c -hda=sampledisk
107 starts kvm with the same parameters.
109 The new syntax is consistent with the new Qemu 0.8.0 network parameters.
110 Using vdeq is possible to specify a vde interface in the same way as
111 user,tap or socket interfaces.
112 The \fBsock=\fP parameter can be used to use a specific socket.
113 Please note that what qemu names as vlan is not related to the
114 802.1q VLAN managed by the vde_switch.
115 \fBport=\fP can be used to specify the port of the switch,
116 otherwise the first allocatable port is assigned.
117 The following command run a qemu VM with two ethernet interface
118 connected to the standard switch and
119 to the switch with local socket "/tmp/my.ctl", port 10, respectively
123 vde qemu -net nic,vlan=0 -net nic,vlan=1 -net vde,vlan=0 -net vde,vlan=1,sock=/tmp/my.ctl,port=10
128 vdeqemu -net nic,vlan=0 -net nic,vlan=1 -net vde,vlan=0 -net vde,vlan=1,sock=/tmp/my.ctl,port=10
130 The following command run a kvm VM with two ethernet interface
131 connected to the standard switch and
132 to the switch with local socket "/tmp/my.ctl", port 10, respectively
136 vde kvm -net nic,vlan=0 -net nic,vlan=1 -net vde,vlan=0 -net vde,vlan=1,sock=/tmp/my.ctl,port=10
141 vdekvm -net nic,vlan=0 -net nic,vlan=1 -net vde,vlan=0 -net vde,vlan=1,sock=/tmp/my.ctl,port=10
144 The old syntax can be used with Qemu 0.8.0 but all the vde interfaces are assigned to
149 vdeq qemu -sock /tmp/vde.ctl,/tmp/my.ctl -b c -hda=sampledisk
154 vdeqemu -sock /tmp/vde.ctl,/tmp/my.ctl -b c -hda=sampledisk
156 both start qemu with \fBone\fP ethernet interface connected both to the standard switch and
157 to the switch with local socket "/tmp/my.ctl".
163 specify the mode for comm socket.
168 specify the UNIX socket to be used by local programs for joining the VDE.
169 The default value is "/tmp/vde.ctl"
170 It is also possible to indicate several socketpath (comma separated, no blanks):
171 in this case several interfaces are defined. The first socketpath is connected
172 to the first ne2k interface and so on.
178 Qemu has changed its syntax for networking (cvs Nov.15 2005).
179 As a temporary solution use vdeoq and vdeoqemu instead of vdeq and vdeqemu
180 if you are running a qemu with the old syntax.
182 By default qemu uses the same MAC address for every virtual machine, so if
183 you plan to use several instances of qemu be sure to explicitly set a different
184 MAC address for each virtual machine. While generating your address beware to
185 not use broadcast/multicast reserved MACs, ethernet rules say: the multicast
186 bit is the low-order bit of the first byte, which is "the first bit on the wire".
187 For example \fI34:12:de:ad:be:ef\fP is an unicast address, \fI35:12:de:ad:be:ef\fP
188 is a multicast address (see ETHERNET MULTICAST ADDRESSES section in
189 http://www.iana.org/assignments/ethernet-numbers for more informations).
192 Virtual Distributed Ethernet is not related in any way with
193 www.vde.com ("Verband der Elektrotechnik, Elektronik und Informationstechnik"
194 i.e. the German "Association for Electrical, Electronic & Information
200 \fBvde_plug2tap\fP(1),
204 VDE is a project by Renzo Davoli <renzo@cs.unibo.it>