1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!--
|
---|
3 | manpage, user manual, usage: VBoxManage hostonlynet
|
---|
4 |
|
---|
5 | Copyright (C) 2021 Oracle Corporation
|
---|
6 |
|
---|
7 | This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
8 | available from http://www.virtualbox.org. This file is free software;
|
---|
9 | you can redistribute it and/or modify it under the terms of the GNU
|
---|
10 | General Public License (GPL) as published by the Free Software
|
---|
11 | Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
12 | VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
13 | hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
14 | -->
|
---|
15 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
16 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"[
|
---|
17 | <!ENTITY % all.entities SYSTEM "all-entities.ent">
|
---|
18 | %all.entities;
|
---|
19 | ]>
|
---|
20 | <refentry id="vboxmanage-hostonlynet" lang="en">
|
---|
21 | <refentryinfo>
|
---|
22 | <pubdate>$Date: 2022-02-16 19:28:38 +0000 (Wed, 16 Feb 2022) $</pubdate>
|
---|
23 | <title>VBoxManage hostonlynet</title>
|
---|
24 | </refentryinfo>
|
---|
25 |
|
---|
26 | <refmeta>
|
---|
27 | <refentrytitle>VBoxManage-hostonlynet</refentrytitle>
|
---|
28 | <manvolnum>1</manvolnum>
|
---|
29 | </refmeta>
|
---|
30 |
|
---|
31 | <refnamediv>
|
---|
32 | <refname>VBoxManage-hostonlynet</refname>
|
---|
33 | <refpurpose>Host Only Network management</refpurpose>
|
---|
34 | <refclass>&product-name;</refclass>
|
---|
35 | </refnamediv>
|
---|
36 |
|
---|
37 | <refsynopsisdiv>
|
---|
38 | <cmdsynopsis id="synopsis-vboxmanage-hostonlynet-add">
|
---|
39 | <command>VBoxManage hostonlynet add</command>
|
---|
40 | <arg choice="req">--name=<replaceable>netname</replaceable></arg>
|
---|
41 | <arg choice="opt">--id=<replaceable>netid</replaceable></arg>
|
---|
42 | <arg choice="req">--netmask=<replaceable>mask</replaceable></arg>
|
---|
43 | <arg choice="req">--lower-ip=<replaceable>address</replaceable></arg>
|
---|
44 | <arg choice="req">--upper-ip=<replaceable>address</replaceable></arg>
|
---|
45 | <group choice="opt">
|
---|
46 | <arg choice="plain">--enable</arg>
|
---|
47 | <arg choice="plain">--disable</arg>
|
---|
48 | </group>
|
---|
49 | </cmdsynopsis>
|
---|
50 | <cmdsynopsis id="synopsis-vboxmanage-hostonlynet-modify">
|
---|
51 | <command>VBoxManage hostonlynet modify</command>
|
---|
52 | <group choice="req">
|
---|
53 | <arg choice="plain">--name=<replaceable>netname</replaceable></arg>
|
---|
54 | <arg choice="plain">--id=<replaceable>netid</replaceable></arg>
|
---|
55 | </group>
|
---|
56 | <arg choice="opt">--lower-ip=<replaceable>address</replaceable></arg>
|
---|
57 | <arg choice="opt">--upper-ip=<replaceable>address</replaceable></arg>
|
---|
58 | <arg choice="opt">--netmask=<replaceable>mask</replaceable></arg>
|
---|
59 | <group choice="opt">
|
---|
60 | <arg choice="plain">--enable</arg>
|
---|
61 | <arg choice="plain">--disable</arg>
|
---|
62 | </group>
|
---|
63 | </cmdsynopsis>
|
---|
64 | <cmdsynopsis id="synopsis-vboxmanage-hostonlynet-remove">
|
---|
65 | <command>VBoxManage hostonlynet remove</command>
|
---|
66 | <group choice="req">
|
---|
67 | <arg choice="plain">--name=<replaceable>netname</replaceable></arg>
|
---|
68 | <arg choice="plain">--id=<replaceable>netid</replaceable></arg>
|
---|
69 | </group>
|
---|
70 | </cmdsynopsis>
|
---|
71 | </refsynopsisdiv>
|
---|
72 |
|
---|
73 | <refsect1>
|
---|
74 | <title>Description</title>
|
---|
75 |
|
---|
76 | <para>
|
---|
77 | The <command>hostonlynet</command> commands enable you to control
|
---|
78 | host-only networks.
|
---|
79 | </para>
|
---|
80 |
|
---|
81 | <refsect2 id="vboxmanage-hostonlynet-common-options">
|
---|
82 | <title>Common options</title>
|
---|
83 | <remark role="help-scope" condition="GLOBAL"/>
|
---|
84 | <para>The subcommands of <command>hostonlynet</command> all operate on an
|
---|
85 | host-only network that can be identified via its name or uuid:</para>
|
---|
86 | <variablelist>
|
---|
87 | <varlistentry>
|
---|
88 | <term>--name=<replaceable>netname</replaceable></term>
|
---|
89 | <listitem><para>The host-only network name. You see it as
|
---|
90 | VBoxNetworkName in the output from
|
---|
91 | <command>VBoxManage list hostonlynets</command>.
|
---|
92 | </para></listitem>
|
---|
93 | </varlistentry>
|
---|
94 | <varlistentry>
|
---|
95 | <term>--id=<replaceable>netid</replaceable></term>
|
---|
96 | <listitem><para>The host-only network uuid. If not specified when
|
---|
97 | adding a new network, one will be generated automatically.
|
---|
98 | </para></listitem>
|
---|
99 | </varlistentry>
|
---|
100 | </variablelist>
|
---|
101 | </refsect2>
|
---|
102 |
|
---|
103 | <refsect2 id="vboxmanage-hostonlynet-add">
|
---|
104 | <title>hostonlynet add</title>
|
---|
105 | <remark role="help-copy-synopsis"/>
|
---|
106 | <para>
|
---|
107 | Adds a new host-only network.
|
---|
108 | </para>
|
---|
109 | <para>
|
---|
110 | Options configuring the host-only network:
|
---|
111 | </para>
|
---|
112 | <variablelist>
|
---|
113 | <varlistentry>
|
---|
114 | <term><option>--netmask=<replaceable>mask</replaceable></option></term>
|
---|
115 | <listitem><para>The network mask. Typically 255.255.255.0.</para></listitem>
|
---|
116 | </varlistentry>
|
---|
117 | <varlistentry>
|
---|
118 | <term><option>--lower-ip=<replaceable>address</replaceable></option>, <option>--upper-ip=<replaceable>address</replaceable></option></term>
|
---|
119 | <listitem><para>The IP address range for handing out via DHCP. The upper
|
---|
120 | boundrary is inclusive while the lower one is not, so the upper address
|
---|
121 | will be handed out to a client, while the lower
|
---|
122 | address will be used by the host itself.</para></listitem>
|
---|
123 | </varlistentry>
|
---|
124 | <varlistentry>
|
---|
125 | <term><option>--enable</option>, --disable</term>
|
---|
126 | <listitem><para>Whether to enable the host-only network or disable it. If not specified,
|
---|
127 | the network will be created in enabled state.</para></listitem>
|
---|
128 | </varlistentry>
|
---|
129 | </variablelist>
|
---|
130 | </refsect2>
|
---|
131 |
|
---|
132 | <refsect2 id="vboxmanage-hostonlynet-modify">
|
---|
133 | <title>hostonlynet modify</title>
|
---|
134 | <remark role="help-copy-synopsis"/>
|
---|
135 | <para>
|
---|
136 | This modifies an existing host-only network configuration. It takes the same
|
---|
137 | options as the <command>add</command> command.
|
---|
138 | </para>
|
---|
139 | </refsect2>
|
---|
140 |
|
---|
141 | <refsect2 id="vboxmanage-hostonlynet-remove">
|
---|
142 | <title>hostonlynet remove</title>
|
---|
143 | <remark role="help-copy-synopsis"/>
|
---|
144 | <para>
|
---|
145 | Removes the specified host-only network.
|
---|
146 | </para>
|
---|
147 | </refsect2>
|
---|
148 |
|
---|
149 | </refsect1>
|
---|
150 |
|
---|
151 | </refentry>
|
---|
152 |
|
---|