$Date: 2021-09-28 06:15:49 +0000 (Tue, 28 Sep 2021) $VBoxManage hostonlynetVBoxManage-hostonlynet1VBoxManage-hostonlynetHost Only Network managementOracle VM VirtualBoxVBoxManage hostonlynet add--name=netname--id=netid--netmask=mask--lower-ip=address--upper-ip=address--enable--disableVBoxManage hostonlynet modify--name=netname--id=netid--lower-ip=address--upper-ip=address--netmask=mask--enable--disableVBoxManage hostonlynet remove--name=netname--id=netidDescription
The hostonlynet commands enable you to control
host-only networks.
Common optionsThe subcommands of hostonlynet all operate on an
host-only network that can be identified via its name or uuid:--name=netnameThe host-only network name. You see it as
VBoxNetworkName in the output from
VBoxManage list hostonlynets.
--id=netidThe host-only network uuid. If not specified when
adding a new network, one will be generated automatically.
hostonlynet add
Adds a new host-only network.
Options configuring the host-only network:
The network mask. Typically 255.255.255.0., The IP address range for handing out via DHCP. The upper
boundrary is inclusive while the lower one is not, so the upper address
will be handed out to a client, while the lower
address will be used by the host itself., --disableWhether to enable the host-only network or disable it. If not specified,
the network will be created in enabled state.hostonlynet modify
This modifies an existing host-only network configuration. It takes the same
options as the add command.
hostonlynet remove
Removes the specified host-only network.