VirtualBox

source: vbox/trunk/doc/manual/en_US/dita/topics/network_internal.dita@ 108750

Last change on this file since 108750 was 107390, checked in by vboxsync, 4 months ago

Docs: bugref:10705. bugref: 10829. The docs build has been modified to split generated refentry dita files and the user manual files and the following commits from doc's team git repo has been applied:

0946136c74dda0483704db891345cb39548b4e28 Started consolidating known issues and troubleshooting information
845b847e6a8e778b38a57867e25ee5e086a73800 Added individual topics for list of known issues, integrated into Troubleshooting section.
bb574836aac775889bd61e4a72f489617fcb7d18 Removed EFI firmware from experimental features for 7.2
6d2e68b244869991e713d170ecd239739d99ba56 Moved known issues into Known Issues section
e2630c896561587718b5c3197c384a38d07014d5 Merge branch 'VBP-1461_experimental-features' into 'main'
0512e2cce51f49ccdc56f3381a2a0c924f2bd278 Feedback on known issues
a77d6c980f6ff5cad9d32b2fb9290990093a03fa Restructured host and guest OS topics
988af5cc9628f5de0806531bc98686f691a911fd Updates with feedbback from Jacob
982a61c9f25b22b745ec483e763e3d88efe59c40 Included feedback from Jacob
93181c8c6cc2d9a26bcccb1145cb0423c0d9f4c9 Updated known issues with feedback from Klaus
8bc369561c383f09b409fe5e44f507440b3735fb Created Legacy Guest OS section
d7932f55accdab7a03666302d58b8c941cd48be2 Moved known issues to more appropriate places for the info
2a4aa094ba8a7ac6894d2a777316eabf41746580 Further moving of known issues
baeabd5308c5519a4dc26b4197be9b00e419a85a Updated links to cli_topics

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.5 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_internal">
4 <title>Internal Networking</title>
5
6 <body>
7 <p>Internal Networking is similar to bridged networking in that the VM can directly communicate with the outside
8 world. However, the outside world is limited to other VMs on the same host which connect to the same internal
9 network. </p>
10 <p>Even though technically, everything that can be done using internal networking can also be done using bridged
11 networking, there are security advantages with internal networking. In bridged networking mode, all traffic goes
12 through a physical interface of the host system. It is therefore possible to attach a packet sniffer such as
13 Wireshark to the host interface and log all traffic that goes over it. If, for any reason, you prefer two or more
14 VMs on the same machine to communicate privately, hiding their data from both the host system and the user,
15 bridged networking therefore is not an option. </p>
16 <p>Internal networks are created automatically as needed. There is no central configuration. Every internal network
17 is identified simply by its name. Once there is more than one active virtual network card with the same internal
18 network ID, the <ph conkeyref="vbox-conkeyref-phrases/product-name"/> support driver will automatically
19 <i>wire</i> the cards and act as a network switch. The <ph conkeyref="vbox-conkeyref-phrases/product-name"/>
20 support driver implements a complete Ethernet switch and supports both broadcast/multicast frames and promiscuous
21 mode. </p>
22 <p>In order to attach a VM's network card to an internal network, set its networking mode to Internal Networking.
23 There are two ways to accomplish this: </p>
24 <ul>
25 <li>
26 <p>Use the VM's <b outputclass="bold">Settings</b> window in <ph conkeyref="vbox-conkeyref-phrases/vbox-mgr"/>.
27 In the <b outputclass="bold">Network</b> category of the Settings window, select <b outputclass="bold"
28 >Internal Network</b> from the drop-down list of networking modes. Select the name of an existing internal
29 network from the drop-down list below, or enter a new name into the <b outputclass="bold">Name</b> field. </p>
30 </li>
31 <li>
32 <p>Use the command line, for example: </p>
33 <pre xml:space="preserve">VBoxManage modifyvm "VM name" --nic&lt;x&gt; intnet</pre>
34 <p>
35 Optionally, you can specify a network name with the command:
36 </p>
37 <pre xml:space="preserve">VBoxManage modifyvm "VM name" --intnet&lt;x&gt; "network name"</pre>
38 <p>If you do not specify a network name, the network card will be attached to the network
39 <codeph>intnet</codeph> by default. </p>
40 </li>
41 </ul>
42 <p>Unless you configure the virtual network cards in the guest operating systems that are participating in the internal network to use static IP addresses, you may want to use the DHCP server that is built into <ph conkeyref="vbox-conkeyref-phrases/product-name"/> to manage IP addresses for the internal network. See <xref href="../cli_topics/vboxmanage-dhcpserver.dita"/>.</p>
43 <p>As a security measure, by default, the Linux implementation of
44 internal networking only allows VMs running under the same user ID
45 to establish an internal network. However, it is possible to
46 create a shared internal networking interface, accessible by users
47 with different user IDs.
48 </p>
49 </body>
50
51</topic>
Note: See TracBrowser for help on using the repository browser.

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