beautypg.com

Sun Microsystems VIRTUALBOX VERSION 3.1.0_BETA2 User Manual

Page 117

background image

8 VBoxManage reference

• --hostonlyadapter<1-N> none|: If host-only networking

has been enabled for a virtual network card (see the –nic option above; otherwise
this setting has no effect), use this option to specify which host-only networking
interface the given virtual network interface will use. For details, please see
chapter

6.6

,

Host-only networking

, page

94

.

• --intnet<1-N> network: If internal networking has been enabled for a vir-

tual network card (see the --nic option above; otherwise this setting has no
effect), use this option to specify the name of the internal network (see chapter

6.5

,

Internal networking

, page

93

).

• --macaddress<1-N> auto|: With this option you can set the MAC

address of the virtual network card. Normally, each virtual network card is as-
signed a random address by VirtualBox at VM creation.

8.5.3 Serial port, audio, clipboard, VRDP and USB settings

The following other settings are available through VBoxManage modifyvm:

• --uart<1-N> off| : With this option you can configure

virtual serial ports for the VM; see chapter

3.9

,

Serial ports

, page

55

for an intro-

duction.

• --uartmode<1-N> : This setting controls how VirtualBox connects a

given virtual serial port (previously configured with the --uartX setting, see
above) to the host on which the virtual machine is running. As described in
detail in chapter

3.9

,

Serial ports

, page

55

, for each such port, you can specify

as one of the following options:

disconnected: Even though the serial port is shown to the guest, it has

no “other end” – like a real COM port without a cable.

server : On a Windows host, this tells VirtualBox to create

a named pipe on the host named and connect the virtual
serial device to it. Note that Windows requires that the name of a named
pipe begin with \\.\pipe\.
On a Linux host, instead of a named pipe, a local domain socket is used.

client : This operates just like server ..., except that

the pipe (or local domain socket) is not created by VirtualBox, but assumed
to exist already.

: If, instead of the above, the device name of a physical

hardware serial port of the host is specified, the virtual serial port is con-
nected to that hardware port. On a Windows host, the device name will
be a COM port such as COM1; on a Linux host, the device name will look
like /dev/ttyS0. This allows you to “wire” a real serial port to a virtual
machine.

117