VirtualBox

source: vbox/trunk/doc/manual/en_US/man_VBoxManage-hostonlynet.xml@ 96301

最後變更 在這個檔案從96301是 96300,由 vboxsync 提交於 3 年 前

doc: comment fixing

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

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