Specifications
www.vmware.com
264
VMware GSX Server Virtual Machine Guide
the Ethernet adapters as you would physical adapters on a physical computer, giving
each adapter an IP address on the appropriate VMnet subnet.
On Windows hosts, you can open a command prompt and run ipconfig /all to
see what IP addresses each host-only network is using.
On Linux hosts, you can open a terminal and run ifconfig to see what IP addresses
each host-only network is using.
Routing Between Two Host-Only Networks
If you are setting up a complex test network using virtual machines, you may want to
have two independent host-only networks with a router between them.
There are two basic approaches. In one, the router software runs on the host
computer. In the other, the router software runs in its own virtual machine. In both
cases, you need two host-only interfaces.
The examples described here outline the simplest case, with one virtual machine on
each of the host-only networks. For more complex configurations, you can add more
virtual machines and host-only networks as appropriate.
Setting Up the First Host-Only Interface
On Windows hosts, the first host-only network is set up automatically when you install
GSX Server.
On Linux hosts, the first host-only network is set up when you run the
vmware-config.pl program after you install GSX Server, provided you agree to
install host-only networking. If you did not agree to use host-only networking, you
need to run the script again to set up host-only networking.
Setting Up the Second Host-Only Interface on a Windows Host
Follow these steps to set up the second host-only interface on a Windows host.
1. Go to Host > Virtual Network Settings > Host Virtual Adapters.
2. Click Add new adapter.
3. Choose the virtual network on which you want to use the adapter and click OK.
4. Click Apply.
5. Click OK to close the Virtual Network Editor.
Setting Up the Second Host-Only Interface on a Linux Host
1. As root (su -), run the GSX Server configuration program.
vmware-config.pl