11.0

Table Of Contents
Option Parameters Description
setNetworkAdapter
path to .vmx file
Network adapter
index
Network adapter type
[ Host nework ]
Updates a network adapter in a virtual machine.
Note The network adapter type can be nat, hostOnly, bridged, or custom. When
the network adapter is nat, hostOnly, or bridged, the Host nework parameter is
not required. Only when the network adapter type is custom, must you specify a
value for the Host nework parameter. For example, vmrun
addNetworkAdapter
.vmx file
custom vmnet3.
You must name a custom virtual network with one of the names listed in the
Custom section of the Network settings panel of the virtual machine or the Fusion
Network Preferences panel.
deleteNetworkAdapter
path to .vmx file
Network adapter
index
Removes a network adapter from a virtual machine.
The vmrun Host Network Commands and Parameters
Only Fusion Pro supports the host network commands.
Option Parameters Description
listHostNetworks Lists all networks on the host.
listPortForwardings
host network name
Lists all available port forwardings on a host network.
setPortForwarding
host network name
protocol
host port
guest ip
guest port
[Description]
Sets a port forwarding on a host network.
Note To prevent the command from returning an error, use the sudo utility with this
option. For example, sudo vmrun setPortForwarding.
deletePortForwarding
host network name
protocol
host port
Deletes a port forwarding on a host network.
Note To prevent the command from returning an error, use the sudo utility with this
option. For example, sudo vmrun deletePortForwarding.
The vmrun Guest Operating System Commands and Parameters
The timeout, which is the wait for VMware Tools, is five minutes for all guestrelated commands.
Using VMware Fusion
VMware, Inc. 189