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="networkingmodes">
|
---|
4 | <title>Introduction to Networking Modes</title>
|
---|
5 |
|
---|
6 | <body>
|
---|
7 | <p>Each of the networking adapters can be separately configured to operate in one of the following modes: </p>
|
---|
8 | <ul>
|
---|
9 | <li>
|
---|
10 | <p><b outputclass="bold">Not attached.</b> In this mode,
|
---|
11 | <ph conkeyref="vbox-conkeyref-phrases/product-name"/> reports to the guest that a network card is
|
---|
12 | present, but that there is no connection. This is as if no
|
---|
13 | Ethernet cable was plugged into the card. Using this mode, it
|
---|
14 | is possible to <i>pull</i> the virtual Ethernet
|
---|
15 | cable and disrupt the connection, which can be useful to
|
---|
16 | inform a guest operating system that no network connection is
|
---|
17 | available and enforce a reconfiguration.
|
---|
18 | </p>
|
---|
19 | </li>
|
---|
20 | <li>
|
---|
21 | <p><b outputclass="bold">Network Address Translation
|
---|
22 | (NAT)</b>. If all you want is to browse the Web,
|
---|
23 | download files, and view email inside the guest, then this
|
---|
24 | default mode should be sufficient for you, and you can skip
|
---|
25 | the rest of this section. Please note that there are certain
|
---|
26 | limitations when using Windows file sharing. See
|
---|
27 | <xref href="nat-limitations.dita#nat-limitations"/>.
|
---|
28 | </p>
|
---|
29 | </li>
|
---|
30 | <li>
|
---|
31 | <p><b outputclass="bold">NAT Network.</b> A NAT network is
|
---|
32 | a type of internal network that allows outbound connections.
|
---|
33 | See <xref href="network_nat_service.dita#network_nat_service"/>.
|
---|
34 | </p>
|
---|
35 | </li>
|
---|
36 | <li>
|
---|
37 | <p><b outputclass="bold">Bridged networking.</b> This is
|
---|
38 | for more advanced networking needs, such as network
|
---|
39 | simulations and running servers in a guest. When enabled,
|
---|
40 | <ph conkeyref="vbox-conkeyref-phrases/product-name"/> connects to one of your installed network cards
|
---|
41 | and exchanges network packets directly, circumventing your
|
---|
42 | host operating system's network stack.
|
---|
43 | </p>
|
---|
44 | </li>
|
---|
45 | <li>
|
---|
46 | <p><b outputclass="bold">Internal networking.</b> This can
|
---|
47 | be used to create a different kind of software-based network
|
---|
48 | which is visible to selected virtual machines, but not to
|
---|
49 | applications running on the host or to the outside world.
|
---|
50 | </p>
|
---|
51 | </li>
|
---|
52 | <li>
|
---|
53 | <p><b outputclass="bold">Host-only networking.</b> This
|
---|
54 | can be used to create a network containing the host and a set
|
---|
55 | of virtual machines, without the need for the host's physical
|
---|
56 | network interface. Instead, a virtual network interface,
|
---|
57 | similar to a loopback interface, is created on the host,
|
---|
58 | providing connectivity among virtual machines and the host.
|
---|
59 | </p>
|
---|
60 | </li>
|
---|
61 | <li>
|
---|
62 | <p><b outputclass="bold">Cloud networking.</b> This can be
|
---|
63 | used to connect a local VM to a subnet on a remote cloud
|
---|
64 | service.
|
---|
65 | </p>
|
---|
66 | </li>
|
---|
67 | <li>
|
---|
68 | <p><b outputclass="bold"> Generic networking.</b> Rarely
|
---|
69 | used modes which share the same generic network interface, by
|
---|
70 | allowing the user to select a driver which can be included
|
---|
71 | with <ph conkeyref="vbox-conkeyref-phrases/product-name"/> or be distributed in an extension pack.
|
---|
72 | </p>
|
---|
73 | <p> The following submodes are available: </p>
|
---|
74 | <ul>
|
---|
75 | <li>
|
---|
76 | <p><b outputclass="bold">UDP Tunnel:</b> Used to
|
---|
77 | interconnect virtual machines running on different hosts
|
---|
78 | directly, easily, and transparently, over an existing
|
---|
79 | network infrastructure.
|
---|
80 | </p>
|
---|
81 | </li>
|
---|
82 | <li>
|
---|
83 | <p><b outputclass="bold">VDE (Virtual Distributed Ethernet)
|
---|
84 | networking:</b> Used to connect to a Virtual
|
---|
85 | Distributed Ethernet switch on a Linux or a FreeBSD host.
|
---|
86 | At the moment this option requires compilation of
|
---|
87 | <ph conkeyref="vbox-conkeyref-phrases/product-name"/> from sources, as the Oracle packages do not
|
---|
88 | include it.
|
---|
89 | </p>
|
---|
90 | </li>
|
---|
91 | </ul>
|
---|
92 | </li>
|
---|
93 | </ul>
|
---|
94 | <p>The following table provides an overview of the most important networking modes. </p>
|
---|
95 | <table id="table-networking-modes">
|
---|
96 | <title>Overview of Networking Modes</title>
|
---|
97 | <desc>Overview of Networking Modes</desc>
|
---|
98 | <tgroup cols="6">
|
---|
99 | <colspec align="left"/>
|
---|
100 | <colspec align="center"/>
|
---|
101 | <colspec align="center"/>
|
---|
102 | <colspec align="center"/>
|
---|
103 | <colspec align="center"/>
|
---|
104 | <colspec align="center"/>
|
---|
105 | <thead valign="middle">
|
---|
106 | <row>
|
---|
107 | <entry>
|
---|
108 | <b outputclass="bold">Mode</b>
|
---|
109 | </entry>
|
---|
110 | <entry>
|
---|
111 | <p>
|
---|
112 | <b outputclass="bold">VM→Host</b>
|
---|
113 | </p>
|
---|
114 | </entry>
|
---|
115 | <entry>
|
---|
116 | <p>
|
---|
117 | <b outputclass="bold">VM←Host</b>
|
---|
118 | </p>
|
---|
119 | </entry>
|
---|
120 | <entry>
|
---|
121 | <p>
|
---|
122 | <b outputclass="bold">VM1↔VM2</b>
|
---|
123 | </p>
|
---|
124 | </entry>
|
---|
125 | <entry>
|
---|
126 | <p>
|
---|
127 | <b outputclass="bold">VM→Net/LAN</b>
|
---|
128 | </p>
|
---|
129 | </entry>
|
---|
130 | <entry>
|
---|
131 | <p>
|
---|
132 | <b outputclass="bold">VM←Net/LAN</b>
|
---|
133 | </p>
|
---|
134 | </entry>
|
---|
135 | </row>
|
---|
136 | </thead>
|
---|
137 | <tbody valign="middle">
|
---|
138 | <row>
|
---|
139 | <entry>
|
---|
140 | <p>
|
---|
141 | Host-only
|
---|
142 | </p>
|
---|
143 | </entry>
|
---|
144 | <entry>
|
---|
145 | <p>
|
---|
146 | <b outputclass="bold">+</b>
|
---|
147 | </p>
|
---|
148 | </entry>
|
---|
149 | <entry>
|
---|
150 | <p>
|
---|
151 | <b outputclass="bold">+</b>
|
---|
152 | </p>
|
---|
153 | </entry>
|
---|
154 | <entry align="center">
|
---|
155 | <p>
|
---|
156 | <b outputclass="bold">+</b>
|
---|
157 | </p>
|
---|
158 | </entry>
|
---|
159 | <entry>
|
---|
160 | <p>
|
---|
161 | –
|
---|
162 | </p>
|
---|
163 | </entry>
|
---|
164 | <entry>
|
---|
165 | <p>
|
---|
166 | –
|
---|
167 | </p>
|
---|
168 | </entry>
|
---|
169 | </row>
|
---|
170 | <row>
|
---|
171 | <entry>
|
---|
172 | <p>
|
---|
173 | Internal
|
---|
174 | </p>
|
---|
175 | </entry>
|
---|
176 | <entry>
|
---|
177 | <p>
|
---|
178 | –
|
---|
179 | </p>
|
---|
180 | </entry>
|
---|
181 | <entry>
|
---|
182 | <p>
|
---|
183 | –
|
---|
184 | </p>
|
---|
185 | </entry>
|
---|
186 | <entry>
|
---|
187 | <p>
|
---|
188 | <b outputclass="bold">+</b>
|
---|
189 | </p>
|
---|
190 | </entry>
|
---|
191 | <entry>
|
---|
192 | <p>
|
---|
193 | –
|
---|
194 | </p>
|
---|
195 | </entry>
|
---|
196 | <entry>
|
---|
197 | <p>
|
---|
198 | –
|
---|
199 | </p>
|
---|
200 | </entry>
|
---|
201 | </row>
|
---|
202 | <row>
|
---|
203 | <entry>
|
---|
204 | <p>
|
---|
205 | Bridged
|
---|
206 | </p>
|
---|
207 | </entry>
|
---|
208 | <entry>
|
---|
209 | <p>
|
---|
210 | <b outputclass="bold">+</b>
|
---|
211 | </p>
|
---|
212 | </entry>
|
---|
213 | <entry>
|
---|
214 | <p>
|
---|
215 | <b outputclass="bold">+</b>
|
---|
216 | </p>
|
---|
217 | </entry>
|
---|
218 | <entry>
|
---|
219 | <p>
|
---|
220 | <b outputclass="bold">+</b>
|
---|
221 | </p>
|
---|
222 | </entry>
|
---|
223 | <entry>
|
---|
224 | <p>
|
---|
225 | <b outputclass="bold">+</b>
|
---|
226 | </p>
|
---|
227 | </entry>
|
---|
228 | <entry>
|
---|
229 | <p>
|
---|
230 | <b outputclass="bold">+</b>
|
---|
231 | </p>
|
---|
232 | </entry>
|
---|
233 | </row>
|
---|
234 | <row>
|
---|
235 | <entry>
|
---|
236 | <p>
|
---|
237 | NAT
|
---|
238 | </p>
|
---|
239 | </entry>
|
---|
240 | <entry>
|
---|
241 | <p>
|
---|
242 | <b outputclass="bold">+</b>
|
---|
243 | </p>
|
---|
244 | </entry>
|
---|
245 | <entry>
|
---|
246 | <p>
|
---|
247 | <xref href="natforward.dita#natforward">Port forward</xref>
|
---|
248 | </p>
|
---|
249 | </entry>
|
---|
250 | <entry>
|
---|
251 | <p>
|
---|
252 | –
|
---|
253 | </p>
|
---|
254 | </entry>
|
---|
255 | <entry>
|
---|
256 | <p>
|
---|
257 | <b outputclass="bold">+</b>
|
---|
258 | </p>
|
---|
259 | </entry>
|
---|
260 | <entry>
|
---|
261 | <p>
|
---|
262 | <xref href="natforward.dita#natforward">Port forward</xref>
|
---|
263 | </p>
|
---|
264 | </entry>
|
---|
265 | </row>
|
---|
266 | <row>
|
---|
267 | <entry>
|
---|
268 | <p>
|
---|
269 | NATservice
|
---|
270 | </p>
|
---|
271 | </entry>
|
---|
272 | <entry>
|
---|
273 | <p>
|
---|
274 | <b outputclass="bold">+</b>
|
---|
275 | </p>
|
---|
276 | </entry>
|
---|
277 | <entry>
|
---|
278 | <p>
|
---|
279 | <xref href="network_nat_service.dita#network_nat_service">Port forward</xref>
|
---|
280 | </p>
|
---|
281 | </entry>
|
---|
282 | <entry>
|
---|
283 | <p>
|
---|
284 | <b outputclass="bold">+</b>
|
---|
285 | </p>
|
---|
286 | </entry>
|
---|
287 | <entry>
|
---|
288 | <p>
|
---|
289 | <b outputclass="bold">+</b>
|
---|
290 | </p>
|
---|
291 | </entry>
|
---|
292 | <entry>
|
---|
293 | <p>
|
---|
294 | <xref href="network_nat_service.dita#network_nat_service">Port forward</xref>
|
---|
295 | </p>
|
---|
296 | </entry>
|
---|
297 | </row>
|
---|
298 | </tbody>
|
---|
299 | </tgroup>
|
---|
300 | </table>
|
---|
301 | <p>The following sections describe the available network modes in more detail. </p>
|
---|
302 | </body>
|
---|
303 |
|
---|
304 | </topic>
|
---|