VirtualBox

source: vbox/trunk/doc/manual/en_US/dita/topics/network_hostonly.dita@ 105145

Last change on this file since 105145 was 105134, checked in by vboxsync, 7 months ago

Docs: bugref:10705. This is a merge commit to introduce doc team's changes in the user manual dita files. The following files
are excluded from this process:

  • Files whose names satrt with "viso", "vboxmanage", "man_", "vboximg", "vboxheadless", or "user_isomakercmd-man".

And general notes about this merge are as follows:

  • For now I leave glossentry-*dita file as they are since we use different enclosing dita elements
  • in hdimagewrites.dita we have <note type="attention"> while doc team's copy has <note type="caution">. Not sure if this is significant.

For now I copy doc team's version over.

  • I have not modified our UserManual.ditamap file. This will be done in a follow up commit.

The list of commits we have merged are as follows:

r3392: 7.1 new features; add comments to some DITA topics
r3730: VBP-283: Update supported platforms; 7.0 and 7.1
r3980: 7.1: reset menu option; add note
r3992: ARM hosts; add draft topic on limitations; add container topic for ARM-based subtopics
r3993: ARM create new VM wizard: add some dummy topics
r4014: ER 34784410 DOCUMENT THE VIRTUAL MACHINE TASKBAR ICONS: port topic and icon graphics from 7.0 tree
r4026: VBP-378: status bar icons; remove any mention of task bar; ported from 7.0
r4034: Cloning a cloud VM; add draft topic
r4035: Cloning a cloud VM;typo
r4036: Cloning a cloud VM;add xref from intro topic
r4050: Reset operation; add instructions
r4051: Amend comment
r4052: Ditaval markup for images
r4056: Add ditaval markup for images
r4057: Add ditaval markup for images
r4058: Add ditaval markup for images
r4073: UI experience level: add dummy topic
r4075: Subtype: option for VM settings General tab and Create VM wizard
r4094: Cloud VM reset; add to relnotes
r4095: Reset VM; use main Machine menu, rather than right-click menu
r4099: ARM hosts; draft revisions to cover different wizard screens
r4134: Cloud VMs: file manager menu option; add comment
r4214: Settings page, Motherboard tab: Chipset option for Arm VMs; add note
r4306: Terminology checker: clear up Errors; Installation chapter
r4307: Terminology checker: clear up Errors; Config settings/GA chapters
r4308: Terminology checker: clear up Errors; Storage, networking, remote VM chapters
r4311: Terminology checker: clear up Errors: various
r4324: Prefences and settings; potential areas for change in 7.1
r4356: r160214: Monitoring cloud VM performance; add new topic
r4358: r160214: Monitoring cloud VM performance; add new topic
r4364: r160214: Monitoring cloud VM performance; redraft topic
r4374: Experience levels; update user manual topic
r4377: Experience levels; Preferences window: add note re. availability of all possible settings
r4378: Experience levels; Preferences window: add note re. availability of all possible settingsLp
r4379: Typos and add remark re. Global menu changes
r4387: Preferences, Display: some settings introduced post-7.0: font scaling and extended features
r4388: Performance monitoring: add cloud VM instances to intro para
r4389: Experience levels: selecting a level, add graphic of icon
r4391: Resource monitoring; add CLI example to show CPU usage for a cloud instance
r4395: Experience levels; apply to menu items only
r4398: Experience levels; add notes
r4401: Experience levels; remove pics of global tools menu/machine tools menu; number of menu items can vary
r4402: Experience levels; remove image files for global tools menu/machine tools menu
r4525: Experience levels: minor redraft
r4528: Typo
r4538: Experience levels: selected level applies throughout VirtualBox Manager GUI
r4543: GUI topics; add notes for required changes
r4544: VISO Creator changes
r4563: r160714: unattended guest install example; now has user-password option
r4569: Terminology: front end, not front-end
r4570: Arm wizard screens; remove, as Create VM Wizard will be very similar regardless of architecture
r4571: Arm wizard screens; remove, as Create VM Wizard will be very similar regardless of architecture
r4623: Cloud VM monitoring: Compute Instance Monitoring plugin must be enabled; add note
r4625: CPU activity icon; update, now has solid bar
r4626: GUI changes; various, from Serkan; includes new pic for soft keyboard
r4629: separate mode: add some draft topics, will need to get technical review at a later stage
r4634: GUI; various notes and updates
r4655: Typo
r4703: Arm host platform limitations; redraft and add topic to host OS section
r4724: VISO creator; add notes re. ISO import
r4725: Separate mode: edits
r4863: r161176; Python 2.x no longer supported for API
r4899: Arm host support: limitations
r4910: Create VM wizard: settings may vary x86 vs. Arm hosts
r4911: Guest OS support; add note re. supported aarch64 OSes
r4973: r161445: Remove mention of parallel port support
r5004: Cloud VM monitoring: detailed data graphs and Activity Overview
r5038: Cloud VM monitoring: export to file
r5214: r161947: Solaris non-Global zone configuration
r5215: r161947: Solaris non-Global zone configuration; typo
r5230: Glossary: fix title for I/O APIC topic
r5341: Experience levels; can be selected from welcome screen in VirtualBox Manager; need replacement pic
r5345: Experience levels; add note on Welcome screen option
r5346: Arm host limitations; unavailable System settings
r5434: r162377: shared folders; symlinks behaviour
r5565: Cloud VM list in VirtualBox Manager; show mixed VM types; screenshot from Klaus
r5627: Obfuscate UUID data in screen shot
r5628: Delete legacy cloudvm pic; use mixed VMs example
r5654: Clean up comments in source files; redraft VM activity section
r5672: 7.1 changes; add comments
r5683: 7.1 changes; add comments for Arm topics
r5687: 7.1 changes; GUI; add comments
r5703: Oracle notices; include up to date versions in preface-* topics for User Guide
r5707: r162904: Windows install directory requirements; redraft
r5781: updated GNU version from 2 to 3 as per r163272
r5812: started removal of screenshots and updating tasks VBP-807
r5818: Further updates to creating a VM VBP-807
r5822: Restructured topics and made task based VBP-807
r5824: Removed files during restructure VBP-807
r5834: Fixed formatting of note and caution VBP-807
r5836: Updated supported host OS list VBP-825
r5837: updated USB topics for VBP-823
r5842: changes as per legal request re supported guests VBP-843
r5853: Updated versions following review. VBP-825


  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 6.1 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_hostonly">
4 <title>Host-Only Networking</title>
5
6 <body>
7 <p>
8 Host-only networking can be thought of as a hybrid between the
9 bridged and internal networking modes. As with bridged networking,
10 the virtual machines can talk to each other and the host as if
11 they were connected through a physical Ethernet switch. As with
12 internal networking, a physical networking interface need not be
13 present, and the virtual machines cannot talk to the world outside
14 the host since they are not connected to a physical networking
15 interface.
16 </p>
17 <p>
18 When host-only networking is used, <ph conkeyref="vbox-conkeyref-phrases/product-name"/> creates a new
19 software interface on the host which then appears next to your
20 existing network interfaces. In other words, whereas with bridged
21 networking an existing physical interface is used to attach
22 virtual machines to, with host-only networking a new
23 <i>loopback</i> interface is created on the host.
24 And whereas with internal networking, the traffic between the
25 virtual machines cannot be seen, the traffic on the loopback
26 interface on the host can be intercepted.
27 </p>
28 <note>
29 <p>
30 Hosts running recent macOS versions do not support host-only
31 adapters. These adapters are replaced by host-only networks,
32 which define a network mask and an IP address range, where the
33 host network interface receives the lowest address in the range.
34 </p>
35 <p>
36 The host network interface gets added and removed dynamically by
37 the operating system, whenever a host-only network is used by
38 virtual machines.
39 </p>
40 <p>
41 On macOS hosts, choose the <b outputclass="bold">Host-Only
42 Network</b> option when configuring a network adapter.
43 The <b outputclass="bold">Host-Only Adapter</b> option is
44 provided for legacy support.
45 </p>
46 </note>
47 <p>
48 Host-only networking is particularly useful for preconfigured
49 virtual appliances, where multiple virtual machines are shipped
50 together and designed to cooperate. For example, one virtual
51 machine may contain a web server and a second one a database, and
52 since they are intended to talk to each other, the appliance can
53 instruct <ph conkeyref="vbox-conkeyref-phrases/product-name"/> to set up a host-only network for the two.
54 A second, bridged, network would then connect the web server to
55 the outside world to serve data to, but the outside world cannot
56 connect to the database.
57 </p>
58 <p>
59 To enable a host-only network interface for a virtual machine, do
60 either of the following:
61 </p>
62 <ul>
63 <li>
64 <p>
65 Go to the <b outputclass="bold">Network</b> page in the
66 virtual machine's <b outputclass="bold">Settings</b>
67 dialog and select an <b outputclass="bold">Adapter</b>
68 tab. Ensure that the <b outputclass="bold">Enable Network
69 Adapter</b> check box is selected and choose
70 <b outputclass="bold">Host-Only Adapter</b> for the
71 <b outputclass="bold">Attached To</b> field.
72 </p>
73 </li>
74 <li>
75 <p>
76 On the command line, use <userinput>VBoxManage modifyvm vmname --nic
77 <varname>x</varname> hostonly</userinput>. See <xref href="vboxmanage-modifyvm.dita"/>.
78 </p>
79 </li>
80 </ul>
81 <p>
82 For host-only networking, as with internal networking, you may
83 find the DHCP server useful that is built into <ph conkeyref="vbox-conkeyref-phrases/product-name"/>.
84 This is enabled by default and manages the IP addresses in the
85 host-only network. Without the DHCP server you would need to
86 configure all IP addresses statically.
87 </p>
88 <ul>
89 <li>
90 <p>
91 In <ph conkeyref="vbox-conkeyref-phrases/vbox-mgr"/> you can configure the DHCP server by choosing
92 <b outputclass="bold">File</b>,
93 <b outputclass="bold">Tools</b>,
94 <b outputclass="bold">Network Manager</b>. The Network
95 Manager window lists all host-only networks which are
96 presently in use. Select the network name and then use the
97 <b outputclass="bold">DHCP Server</b> tab to configure
98 DHCP server settings. See <xref href="network-manager.dita#network-manager"/>.
99 </p>
100 </li>
101 <li>
102 <p> Alternatively, you can use the <userinput>VBoxManage dhcpserver</userinput> command. See
103 <xref href="vboxmanage-dhcpserver.dita"/>. </p>
104 </li>
105 </ul>
106 <note>
107 <p>
108 On Linux and macOS hosts the number of host-only interfaces is
109 limited to 128. There is no such limit for Oracle Solaris and
110 Windows hosts.
111 </p>
112 </note>
113 <p> On Linux, macOS and Solaris <ph conkeyref="vbox-conkeyref-phrases/product-name"/> will only
114 allow IP addresses in 192.168.56.0/21 range to be assigned to host-only adapters. For IPv6
115 only link-local addresses are allowed. If other ranges are required, they can be enabled by
116 creating <filepath>/etc/vbox/networks.conf</filepath> and specifying allowed ranges there. For
117 example, to allow 10.0.0.0/8 and 192.168.0.0/16 IPv4 ranges as well as 2001::/64 range put the
118 following lines into <filepath>/etc/vbox/networks.conf</filepath>: </p>
119 <pre xml:space="preserve"> * 10.0.0.0/8 192.168.0.0/16
120 * 2001::/64
121 </pre>
122 <p>
123 Lines starting with the hash <userinput>#</userinput> are ignored. The
124 following example allows any addresses, effectively disabling
125 range control:
126 </p>
127 <pre xml:space="preserve"> * 0.0.0.0/0 ::/0
128 </pre>
129 <p>
130 If the file exists, but no ranges are specified in it, no
131 addresses will be assigned to host-only adapters. The following
132 example effectively disables all ranges:
133 </p>
134 <pre xml:space="preserve"> # No addresses are allowed for host-only adapters
135 </pre>
136 </body>
137
138</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