Specifications
CHAPTER 7 Networking
267
3. Install the router software — on the host computer or in the third virtual
machine, depending on the approach you are using.
4. Configure networking in the first two virtual machines to use addresses on the
appropriate host-only network.
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.
5. If you are running the router on the host computer, assign default router
addresses based on the addresses of the host-only adapters on the host
computer. In the first virtual machine’s networking configuration, the default
router address should be the IP address for the host-only adapter connected to
VMnet1. In the second virtual machine’s networking configuration, the default
router address should be the IP address for the host-only adapter connected to
VMnet2.
If you are running the router software on the third virtual machine, set the
default router addresses in the first two virtual machines based on those used by
the third virtual machine. In the first virtual machine’s networking configuration,
the default router address should be the IP address for the third virtual machine’s
Ethernet adapter connected to VMnet1. In the second virtual machine’s
networking configuration, the default router address should be the IP address for
the third virtual machine’s Ethernet adapter connected to VMnet2.
At this point you should be able to ping the router machine from virtual machines
one and two. And if the router software is set up correctly, you should be able to
communicate between the first and second virtual machines.
Using Virtual Ethernet Adapters in Promiscuous Mode
on a Linux Host
GSX Server does not allow the virtual Ethernet adapter to go into promiscuous mode
unless the user running GSX Server has permission to make that setting. This follows
the standard Linux practice that only root can put a network interface into
promiscuous mode.
When you install and configure GSX Server, you must run the installation as root. GSX
Server creates the VMnet devices with root ownership and root group ownership,
which means that only root has read and write permissions to the devices.