Using the virtual machine settings editor (VM > Settings), you can add virtual Ethernet adapters to your virtual machine and change the configuration of existing adapters.
To add a new virtual Ethernet adapter, follow these steps.
Note: Although VMnet0, VMnet1 and VMnet8 are available in this list, they are normally used for bridged, host-only and NAT configurations, respectively. Special steps are required to make them available for use in custom configurations. You should choose one of the other switches.
To change the configuration of an existing virtual network adapter, follow these steps.
You can view and change the settings for bridged networking on your host. These changes affect all virtual machines using bridged networking on the host.
You can decide which network adapters on your host to use for bridged networking. You can map specific network adapters to specific virtual networks (VMnets).
The Virtual Network Editor appears, with the Summary tab active.
The choice of which adapter it uses is arbitrary. You can restrict the range of choices using options on the Automatic Bridging tab.
(Also shown are VMnet1, the default virtual network for host-only networking, and VMnet8, the default virtual network for NAT, if they are enabled in VMware Workstation.)
In the Choose Network Adapters dialog box, select the listing for the adapter you want to exclude, then click OK.
To remove an adapter from the list of excluded adapters, select its name in the list, then click Remove.
Caution: Be careful when you change the bridged adapter mappings. If you re- assign a physical Ethernet adapter to a different virtual network, any virtual machine using the original network loses its network connectivity via that network. You must then change the setting for each affected virtual machine's network adapter individually. This can be especially troublesome if your host has only one physical Ethernet adapter and you reassign it to a VMnet other than VMnet0; even though the VMnet still appears to be bridged to an automatically chosen adapter, the only adapter it can use has been assigned to another VMnet.
The address should specify a valid network address that is suitable for use with the subnet mask.
The default subnet mask is 255.255.255.0 (a class-C network). Typically, this means you should modify only the third number in the IP address - for example, x in 192.168.x.0 or 172.16.x.0. In general, you should not change the subnet mask. Certain virtual network services may not work as well with a customized subnet mask.
When you modify the network address or subnet mask, VMware Workstation automatically updates the IP address settings for other components - such as DHCP, NAT and host virtual adapter - on that virtual network to reflect the new settings. The specific settings that are automatically updated include DHCP lease range, DHCP server address, NAT gateway address and host virtual adapter IP address. However, if you have changed any of these settings from its default value - even if you have later changed the setting back to the default - VMware Workstation does not update that setting automatically. It presumes that custom settings are not to be modified.
When you install VMware Workstation, two network adapters are added to the configuration of your host operating system - one that allows the host to connect to the host-only network and one that allows the host to connect to the NAT network.
If you are not using these adapters, you may wish to remove them (users on Windows hosts can choose to disable the adapters instead of removing them). The presence of these adapters has a slight performance cost, because broadcast packets must go to the extra adapters. On Windows networks, browsing your network may be slower than usual. And in some cases, these adapters interact with the host computer's networking configuration in undesirable ways.
Use the Virtual Network Editor to disable any unwanted adapters.
Use the host operating system's networking control panel to disable any unwanted adapters.
Follow these steps to enable a host virtual adapter on a Windows host.
Follow these steps to add a host virtual adapter on a Windows host.
su
vmware-config.pl
Do you want networking for your Virtual Machines? (yes/ no/help) [yes]
Answer Yes if you still want to use any networking in your virtual machines, then continue to the next question.
Otherwise, answer No to remove all networking.
Would you prefer to modify your existing networking configuration using the wizard or the editor? (wizard/ editor/help) [wizard] editor
The following virtual networks have been defined:
. vmnet0 is bridged to eth0
. vmnet1 is a host-only network on subnet 172.16.155.0.
. vmnet8 is NAT network on a private subnet 172.16.107.0.
Which virtual network do you wish to configure? (0-99) 1
The network vmnet1 has been reserved for a host-only network. You may change it, but it is highly recommended that you use it as a host-only network. Are you sure you want to modify it? (yes/no) [no] yes
What type of virtual network do you wish to set vmnet1? (bridged,hostonly,nat,none) [hostonly] none
© 1998-2004 VMware, Inc. All rights reserved.