You can create the sample custom networking configuration.

Prerequisites

  • Familiarize yourself with how to create virtual machines and configure network devices in the host and guest operating systems.

  • Familiarize yourself with the diagram of the sample networking configuration. See Custom Configuration with Two Firewalls.

Procedure

  1. Use the New Virtual Machine wizard to create four virtual machines.
    1. Create the first virtual machine with bridged networking so that it can connect to an external network by using the host network adapter.
    2. Create the other three virtual machines without networking.
  2. Configure network settings for the first virtual machine.
    1. Open the first virtual machine, but do not power it on.
    2. Edit the virtual machine settings to add a second virtual network adapter.
    3. Connect the second network adapter to VMnet2.
  3. Configure network settings for the second virtual machine.
    1. Open the virtual machine, but do not power it on.
    2. Edit the virtual machine settings to add a virtual network adapter.
    3. Connect the network adapter to VMnet2.
  4. Configure network settings for the third virtual machine.
    1. Open the virtual machine, but do not power it on.
    2. Edit the virtual machine settings to add a virtual network adapter.
    3. Connect the network adapter to VMnet2.
    4. Edit the virtual machine settings to add a second virtual network adapter.
    5. Connect the second network adapter to VMnet3.
  5. Configure network settings for the fourth virtual machine.
    1. Open the virtual machine, but do not power it on.
    2. Edit the virtual machine settings to add a virtual network adapter.
    3. Connect the network adapter to VMnet3.
  6. Determine the network addresses that are used for VMnet2 and VMnet3.

    Option

    Description

    Windows host

    Use the ipconfig /all command.

    Linux host

    Use the ifconfig command.

  7. Power on each virtual machine and install the appropriate guest operating system.
  8. Use the virtual network editor to configure VMnet2 to use the virtual DHCP service to distribute IP address to virtual machines.
  9. Configure the networking in each guest operating system.

    Option

    Description

    Virtual machine 1

    For the bridged network adapter in virtual machine 1, use the networking settings needed for a connection to the external network. If the virtual machine receives its IP address from a DHCP server on the external network, the default settings should work. For the second network adapter in virtual machine 1, manually assign an IP address in the range you are using with VMnet2.

    Virtual machine 2

    Assign an IP address in the range you are using with VMnet2.

    Virtual machine 3

    Network adapters are connected to VMnet2 and VMnet3. Assign an IP address in the virtual network's range it is connected to.

    Virtual machine 4

    Assign an IP address in the range you are using with VMnet3.

  10. Install the necessary application software in each virtual machine.