Table of Contents

Running IPCOP Virtualised

Many people want to ’test’ IPCOP before installing on a stand along computer or test addons before applying to a production environment. Testing IPCOP in a virtual machine, such as VMware, allow you to install IPCOP on another computer for testing purposes.

When installing IPCOP in VMware, you must make sure that you have correctly configured VMware. When you install VMware, it will install a number of virtual interfaces. Each of these interfaces is treated as a separate network with all computers attached via a switch. These different virtual network are what allow you to test IPCOP in a virtual environment. To correctly test your setup, you will need to run virtual machines, such as DSL, to test IPCOP.

Instructions for installing IPCOP in VMware are as follows and assume that you have already installed VMware Server with the default virtual network settings. If you try to change your setup (i.e. go from a Red-Green to Red-Blue-Green), you will have to change your settings to match the below guides (due to how IPCOP recognizes each NIC).

VMware general setup

Create a new virtual machine

At the Welcome Screen

At the Select the Appropriate Configuration screen

At the Select a Guest Operating System screen

At the Name the Virtual Machine screen

At the Set Access Rights screen

At the Startup / Shutdown Options screen

At the Processor Configuration screen

At the memory for the Virtual Machine screen

At the Network Type screen

At the Select I/O Adapter Types screen

At the Select a Disk screen

At the Select a Disk Type screen

At the Specify Disk Capacity screen

At the Specify Disk File screen

Network specific configuration

Now that you have a general VMware setup, you must configure it specific to the network type you want (i.e. Red-Green). Do not skip steps because the order in which each NIC is assigned will change the order IPCOP recognizes the interfaces.

This setup will result in the following networks being used:

  1. Red
    • Is connected to VMnet0 (your LAN)
    • Use DHCP or Static for Red network settings
  2. Orange
    • Is connected to VMnet3 (if used)
    • Use a network setting of 10.200.200.1 with a subnet mask of 255.255.255.0
  3. Blue
    • Is connected to VMnet2 (if used)
    • Use a network setting of 10.200.201.1 with a subnet mask of 255.255.255.0
  4. Green
    • Is connect to VMnet1 (you can access from your host computer)
    • Use a network setting of 192.168.59.2 with a subnet mask of 255.255.255.0 This network setting is the default VMnet1 subnet

IPCOP Red-Green setup in VMware

Edit the Virtual Host settings

  1. Under ’Commands’ click on ’Edit virtual machine settings’

Edit the CD-ROM settings to load the IPCOP ISO

  1. Under the Hardware tab click on ’CD-ROM’
  2. Under ’Connection’, select ’Use ISO Image’
  3. Click ’Browse’
  4. Select the IPCOP ISO and click ’Open’

Add the Green NIC

  1. Under the Hardware tab click ’Add’
  2. At the Welcome screen
    • Click ’Next’
  3. At the Hardware type screen
    • Select ’Ethernet Adapter’ under ’Hardware type’
    • Click ’Next
  4. At the Network Type screen
    • Select ’Custom’ under ’Network connection’
    • Select ’VMnet1 (Host-only)’
    • Click ’Finish’

Add the Red NIC

  1. Under the Hardware tab click ’Add’
  2. At the Welcome screen
    • Click ’Next’
  3. At the Hardware type screen
    • Select ’Ethernet Adapter’ under ’Hardware type’
    • Click ’Next
  4. At the Network Type screen
    • Select ’Custom’ under ’Network connection’
    • Select ’VMnet0 (default Bridged)’
    • Click ’Finish’

Click ’OK’

IPCOP Red-Blue-Green setup in VMware

Edit the Virtual Host settings

  1. Under ’Commands’ click on ’Edit virtual machine settings’

Edit the CD-ROM settings to load the IPCOP ISO

  1. Under the Hardware tab click on ’CD-ROM’
  2. Under ’Connection’, select ’Use ISO Image’
  3. Click ’Browse’
  4. Select the IPCOP ISO and click ’Open’

Add the Green NIC

  1. Under the Hardware tab click ’Add’
  2. At the Welcome screen
    • Click ’Next’
  3. At the Hardware type screen
    • Select ’Ethernet Adapter’ under ’Hardware type’
    • Click ’Next
  4. At the Network Type screen
    • Select ’Custom’ under ’Network connection’
    • Select ’VMnet1 (Host-only)’
    • Click ’Finish’

Add the Blue NIC

  1. Under the Hardware tab click ’Add’
  2. At the Welcome screen
    • Click ’Next’
  3. At the Hardware type screen
    • Select ’Ethernet Adapter’ under ’Hardware type’
    • Click ’Next
  4. At the Network Type screen
    • Select ’Custom’ under ’Network connection’
    • Select ’VMnet2’
    • Click ’Finish’

Add the Red NIC

  1. Under the Hardware tab click ’Add’
  2. At the Welcome screen
    • Click ’Next’
  3. At the Hardware type screen
    • Select ’Ethernet Adapter’ under ’Hardware type’
    • Click ’Next
  4. At the Network Type screen
    • Select ’Custom’ under ’Network connection’
    • Select ’VMnet0 (default Bridged)’
    • Click ’Finish’

Click ’OK’

When installing, assign your NICs in the following order:

  1. Blue
  2. Red

IPCOP Red-Orange-Green setup in VMware

Edit the Virtual Host settings

  1. Under ’Commands’ click on ’Edit virtual machine settings’

Edit the CD-ROM settings to load the IPCOP ISO

  1. Under the Hardware tab click on ’CD-ROM’
  2. Under ’Connection’, select ’Use ISO Image’
  3. Click ’Browse’
  4. Select the IPCOP ISO and click ’Open’

Add the Green NIC

  1. Under the Hardware tab click ’Add’
  2. At the Welcome screen
    • Click ’Next’
  3. At the Hardware type screen
    • Select ’Ethernet Adapter’ under ’Hardware type’
    • Click ’Next
  4. At the Network Type screen
    • Select ’Custom’ under ’Network connection’
    • Select ’VMnet1 (Host-only)’
    • Click ’Finish’

Add the Orange NIC

  1. Under the Hardware tab click ’Add’
  2. At the Welcome screen
    • Click ’Next’
  3. At the Hardware type screen
    • Select ’Ethernet Adapter’ under ’Hardware type’
    • Click ’Next
  4. At the Network Type screen
    • Select ’Custom’ under ’Network connection’
    • Select ’VMnet3’
    • Click ’Finish’

Add the Red NIC

  1. Under the Hardware tab click ’Add’
  2. At the Welcome screen
    • Click ’Next’
  3. At the Hardware type screen
    • Select ’Ethernet Adapter’ under ’Hardware type’
    • Click ’Next
  4. At the Network Type screen
    • Select ’Custom’ under ’Network connection’
    • Select ’VMnet0 (default Bridged)’
    • Click ’Finish’

Click ’OK’

When installing, assign your NICs in the following order:

  1. Orange
  2. Red

IPCOP Red-Orange-Blue-Green setup in VMware

Edit the Virtual Host settings

  1. Under ’Commands’ click on ’Edit virtual machine settings’

Edit the CD-ROM settings to load the IPCOP ISO

  1. Under the Hardware tab click on ’CD-ROM’
  2. Under ’Connection’, select ’Use ISO Image’
  3. Click ’Browse’
  4. Select the IPCOP ISO and click ’Open’

Add the Green NIC

  1. Under the Hardware tab click ’Add’
  2. At the Welcome screen
    • Click ’Next’
  3. At the Hardware type screen
    • Select ’Ethernet Adapter’ under ’Hardware type’
    • Click ’Next
  4. At the Network Type screen
    • Select ’Custom’ under ’Network connection’
    • Select ’VMnet1 (Host-only)’
    • Click ’Finish’

Add the Blue NIC

  1. Under the Hardware tab click ’Add’
  2. At the Welcome screen
    • Click ’Next’
  3. At the Hardware type screen
    • Select ’Ethernet Adapter’ under ’Hardware type’
    • Click ’Next
  4. At the Network Type screen
    • Select ’Custom’ under ’Network connection’
    • Select ’VMnet2’
    • Click ’Finish’

Add the Orange NIC

  1. Under the Hardware tab click ’Add’
  2. At the Welcome screen
    • Click ’Next’
  3. At the Hardware type screen
    • Select ’Ethernet Adapter’ under ’Hardware type’
    • Click ’Next
  4. At the Network Type screen
    • Select ’Custom’ under ’Network connection’
    • Select ’VMnet3’
    • Click ’Finish’

Add the Red NIC

  1. Under the Hardware tab click ’Add’
  2. At the Welcome screen
    • Click ’Next’
  3. At the Hardware type screen
    • Select ’Ethernet Adapter’ under ’Hardware type’
    • Click ’Next
  4. At the Network Type screen
    • Select ’Custom’ under ’Network connection’
    • Select ’VMnet0 (default Bridged)’
    • Click ’Finish’

Click ’OK’

When installing, assign your NICs in the following order:

  1. Blue
  2. Orange
  3. Red

Installing IPCOP in VMware

Installation of IPCOP in VMware works the same way as if it was a stand alone computer. When assigning your NICs, assign them in the following order:

  1. Blue (if installed)
  2. Orange (if installed)
  3. Red

To start your virtual machine:

  1. Goto ’Power’
  2. Select ’Power On’