Specifications

CHAPTER 7 Networking
265
Caution: In order to configure GSX Server correctly, the vmware-config.pl
configuration program requires all virtual machines to be shut down. The
program shuts down any running virtual machines automatically.
2. Use the wizard to modify your configuration. After asking about a NAT network,
the program asks:
Do you want to be able to use host-only networking in your
virtual machines?
Answer yes.
The wizard reports on host-only networks that you have already set up on the
host or, if none is present, configures the first host-only network.
3. The wizard asks:
Do you wish to configure another host-only network?
Answer yes.
Repeat this step until you have as many host-only networks as you want. Then
answer no.
4. Complete the wizard. When it is finished, it restarts all services used by GSX
Server.
5. Run ifconfig. You should see at least four network interfaces — eth0, lo,
vmnet1 and vmnet2. If the VMnet interfaces do not show up immediately,
wait for a minute, then run the command again. These four interfaces should
have different IP address on separate subnets.
Setting Up the Virtual Machines
Now you have two host-only network adapters on the host computer. Each is
connected to its own virtual switch (VMnet1 and VMnet2). You are ready to create and
configure your virtual machines and connect them to the appropriate virtual
switches.
Virtual Machine 1 — Connected to the Default Host-Only Interface
1. Create the virtual machine or use an existing virtual machine.
2. Launch a VMware Virtual Machine Console and open the virtual machine.
3. Edit the configuration using the virtual machine settings editor (VM > Settings).
Select NIC, select Custom, then choose VMnet1 (Host-only) (on a Windows
host) or /dev/vmnet1 (on a Linux host) from the drop-down list on the right.
If no network adapter is shown in the list of devices, click Add, then use the Add
Hardware Wizard to add an adapter.