beautypg.com

2 networking settings, Networking settings – Sun Microsystems VIRTUALBOX VERSION 3.1.0_BETA2 User Manual

Page 116

background image

8 VBoxManage reference

• --boot<1-4> none|floppy|dvd|disk|net: This specifies the boot order

for the virtual machine. There are four “slots”, which the VM will try to access
from 1 to 4, and for each of which you can set a device that the VM should
attempt to boot from.

• --snapshotfolder default|: This allows you to specify the folder

in which snapshots will be kept for a virtual machine.

• --firmware efi|bios: Specifies which firmware is used to boot particular

virtual machine: EFI or BIOS. Use EFI only if your fully understand what you’re
doing.

8.5.2 Networking settings

The following networking settings are available through VBoxManage modifyvm:

• --nic<1-N> none|null|nat|bridged|intnet|hostonly:

With this,

you can set, for each of the VM’s virtual network cards, what type of net-
working should be available. They can be not present (none), not connected
to the host (null), use network address translation (nat), bridged networking
(bridged) or communicate with other virtual machines using internal network-
ing (intnet) or host-only networking (hostonly). These options correspond
to the modes which are described in detail in chapter

6.2

,

Introduction to net-

working modes

, page

89

.

• --nictype<1-N> Am79C970A|Am79C973|82540EM: This allows you, for

each of the VM’s virtual network cards, to specify which networking hardware
VirtualBox presents to the guest; see chapter

6.1

,

Virtual networking hardware

,

page

88

.

• --cableconnected<1-N> on|off: This allows you to temporarily discon-

nect a virtual network interface, as if a network cable had been pulled from a
real network card. This might be useful for resetting certain software compo-
nents in the VM.

• With the “nictrace” options, you can optionally trace network traffic by dumping

it to a file, for debugging purposes.

With --nictrace<1-N> on|off, you can enable network tracing for a par-
ticular virtual network card.

If enabled, you must specify with --nictracefile<1-N> what
file the trace should be logged to.

• --bridgeadapter<1-N> none|: If bridged 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 interface the
given virtual network interface will use. For details, please see chapter

6.4

,

Bridged networking

, page

92

.

116