VirtualBox

source: vbox/trunk/doc/manual/en_US/dita/topics/network_vde.dita@ 102568

Last change on this file since 102568 was 99797, checked in by vboxsync, 21 months ago

Docs: bugref:10302. Merging changes from the docs team. Almost exclusively conkeyref related stuff.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.0 KB
Line 
1<?xml version='1.0' encoding='UTF-8'?>
2<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
3<topic xml:lang="en-us" id="network_vde">
4 <title>VDE Networking</title>
5
6 <body>
7 <p>
8 Virtual Distributed Ethernet (VDE) is a flexible, virtual network
9 infrastructure system, spanning across multiple hosts in a secure
10 way. It enables L2/L3 switching, including spanning-tree protocol,
11 VLANs, and WAN emulation. It is an optional part of <ph conkeyref="vbox-conkeyref-phrases/product-name"/>
12 which is only included in the source code.
13 </p>
14 <p>
15 VDE is a project developed by Renzo Davoli, Associate Professor at
16 the University of Bologna, Italy.
17 </p>
18 <p>
19 The basic building blocks of the infrastructure are VDE switches,
20 VDE plugs, and VDE wires which interconnect the switches.
21 </p>
22 <p>
23 The <ph conkeyref="vbox-conkeyref-phrases/product-name"/> VDE driver has a single parameter: VDE network.
24 This is the name of the VDE network switch socket to which the VM
25 will be connected.
26 </p>
27 <p>
28 The following basic example shows how to connect a virtual machine
29 to a VDE switch.
30 </p>
31 <ol>
32 <li>
33 <p>
34 Create a VDE switch:
35 </p>
36 <pre xml:space="preserve">vde_switch -s /tmp/switch1</pre>
37 </li>
38 <li>
39 <p>
40 Configure VMs using the command-line:
41 </p>
42 <pre xml:space="preserve">VBoxManage modifyvm "VM name" --nic&lt;x&gt; generic</pre>
43 <pre xml:space="preserve">VBoxManage modifyvm "VM name" --nic-generic-drv&lt;x&gt; VDE</pre>
44 <p>
45 To connect to an automatically allocated switch port:
46 </p>
47 <pre xml:space="preserve">VBoxManage modifyvm "VM name" --nic-property&lt;x&gt; network=/tmp/switch1</pre>
48 <p>
49 To connect to a specific switch port
50 <varname>n</varname>:
51 </p>
52 <pre xml:space="preserve">VBoxManage modifyvm "VM name" --nic-property&lt;x&gt; network=/tmp/switch1[&lt;n&gt;]</pre>
53 <p>
54 This command can be useful for VLANs.
55 </p>
56 </li>
57 <li>
58 <p>
59 (Optional) Map between a VDE switch port and a VLAN.
60 </p>
61 <p>
62 Using the switch command line:
63 </p>
64 <pre xml:space="preserve">vde$ vlan/create &lt;VLAN&gt;</pre>
65 <pre xml:space="preserve">vde$ port/setvlan &lt;port&gt; &lt;VLAN&gt;</pre>
66 </li>
67 </ol>
68 <p>
69 VDE is available on Linux and FreeBSD hosts only. It is only
70 available if the VDE software and the VDE plugin library from the
71 VirtualSquare project are installed on the host system.
72 </p>
73 <note>
74 <p>
75 For Linux hosts, the shared library libvdeplug.so must be
76 available in the search path for shared libraries.
77 </p>
78 </note>
79 <p>
80 For more information on setting up VDE networks, please see the
81 documentation accompanying the software. See also
82 <ph>http://wiki.virtualsquare.org</ph>.
83 </p>
84 </body>
85
86</topic>
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette