8 VBoxManage With --nictrace1-N on|off, you can enable network tracing for a particular virtual network card. If enabled, you must specify with --nictracefile1-N filename what file the trace should be logged to. --bridgeadapter1-N none|devicename: 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 87. --hostonlyadapter1-N none|devicename: If host-only networking has been en- abled 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 88. --intnet1-N network: If internal 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 the name of the internal network (see chapter 6.5, Internal networking, page 88). --macaddress1-N auto|mac: With this option you can set the MAC address of the virtual network card. Normally, each virtual network card is assigned a random address by VirtualBox at VM creation. --vdenet1-N network: If Virtual Distributed Ethernet is available on the host and has been enabled for a virtual network card (see the --nic option above otherwise this setting has no effect). Use this option to specify the name of a VDE network for the interface to connect to (see chapter 6.2, Introduction to networking modes, page 84 and the VDE documentation). 8.7.2.1 NAT Networking settings. The following NAT networking settings are available through VBoxManage modifyvm. With all these settings, the decimal number directly following the option name (“1-N” in the list below) specifies the virtual network adapter whose settings should be changed. --natpf1-N [name],tcp|udp,[hostip],hostport,[guestip], guestport: This option defines a NAT port-forwarding rule (please see chapter 6.3.1, Configuring port forwarding with NAT, page 85 for details). --natpf1-N delete name: This option deletes a NAT port-forwarding rule (please see chapter 6.3.1, Configuring port forwarding with NAT, page 85 for details). --nattftpprefix1-N prefix: This option defines a prefix for the built-in TFTP server, i.e. where the boot file is located (please see chapter 6.3.2, PXE booting with NAT, page 86 and chapter 9.10.2, Configuring the boot server (next server) of a NAT network interface, page 146 for details). --nattftpfile1-N bootfile: This option defines the TFT boot file (please see chap- ter 9.10.2, Configuring the boot server (next server) of a NAT network interface, page 146 for details). --nattftpserver1-N tftpserver: This option defines the TFTP server address to boot from (please see chapter 9.10.2, Configuring the boot server (next server) of a NAT network interface, page 146 for details). --natdnspassdomain1-N on|off: This option specifies whether the built-in DHCP server passes the domain name for network name resolution. 112
Previous Page Next Page