This scenario involves installation on one physical Windows 7 workstation with three network ports and a Windows XP virtual host with four network ports running within VirtualBox. We will create a pair of layer three connections and see test results.![]() |
![]() |
Configure Virtual Guest Windows machine
Note: LANforge installations on Windows are not able to change the IP of ports. Please do this before running LANforge.
Set up four network ports on the virtual guest. This example shows three ports connected to the host machine over bridge interfaces.
Set the IPs for the various ports using the Windows Network Settings control panel.
Local Area Connection: DHCP This is the default VirtualBox NAT port. We'll leave this one as a backup port for safety sake.
Local Area Connection 2: 192.168.1.201, we will use this for normal LAN and LANforge communications
Local Area Connection 3: 10.26.39.1, for LANforge use.
Local Area Connection 4: 10.26.39.10, for LANforge use.
For more information see Windows IP Address
Review the IPs for the various ports using netsh.
Set up network ports on the Windows workstation. The configuration includes one physical port on the motherboard and a four-port Intel PCIe card.
Local Area Connection: 192.168.100.39, we will use this for normal LAN and LANforge communications
Local Area Connection 2: 10.26.39.2, for LANforge use.
Local Area Connection 3: 10.26.39.3, for LANforge use.
Local Area Connection 4: 10.26.39.4, for LANforge use.
Make sure your LANforge client GUI can ping the IP of the virtual guest management port.
Make sure your LANforge Manager can ping the IPs of the virtual guest management ports.
If necessary, configure the Windows firewall to allow ICMP packets. Or disable the Windows firewall.
Install LANforge Server on the Windows workstation
Make sure you install WinPCAP if it is not already installed.
At the end of the LANforge Server install, launch the LANforge Configuration Utility
Set the Realm to 1
Set the Resource to 1
Set the Mode to Both
Set the Management port to the local LAN addressed port.
Apply the configuration and LANforge Server will start in Manager mode.
Click the Exit LANforge Config button. Leave the LANforge Server running (you may minimize the DOS windows.)
Desktop icons allow you to start and configure LANforge Server later.
Install the LANforge GUI on the Windows workstation.
Don't forget to install the licences.
Install LANforge Server on the virtual guest
Make sure you install WinPCAP if it is not already installed.
At the end of the system install, launch the LANforge Configuration Utility
Set the Mode to Resource
Set the Management port to the local LAN addressed port.
Set the Realm to 1
Set the Resource to 2
Apply the configuration and LANforge Server will start in resource mode.
Create Layer 3 connections
In the Layer-3 tab, click Create
In the Level-1 box, create the first cross connect:
Name the Cross Connect to w7-ad1_xp-ad2
The CX Type is LANforge / TCP
Set the Endpoint A Resource to Windows 7
The Endpoint A Port to the first 10.x addressed port, ad1
Set the Endpoint A Min PDU Size to TCP (1460 B)
Set the Endpoint A Min Tx Rate to 100Mbit. This is a limit of the XP guest.
Endpoint B Resource: XP Guest
Endpoint B Port: ad2
Endpoint B Min Tx Rate: 100Mbit
Set the Endpoint B Min PDU Size to TCP (1460 B)
Set the Endpoint B Min Tx Rate to 100Mbit. This is a limit of the XP guest.
Click OK to commit those settings
For the second cross connect, click Create in the Layer-3 tab.
In the Level-1 box, create the second cross connect:
Name the Cross Connect to w7-ad2_xp-ad3
The CX Type is LANforge / TCP
Set the Endpoint A Resource to Windows 7
The Endpoint A Port will be the next free 10.x port, ad2
Set the Endpoint A Min PDU Size to TCP (1460 B)
Set the Endpoint A Min Tx Rate to 100Mbit. This is a limit of the XP guest.
The opposite end Endpoint B Resource is the XP Guest
Set the Endpoint B Port to ad3
Set the Endpoint B Min PDU Size to TCP (1460 B)
Set the Endpoint B Min Tx Rate to 100Mbit. This is a limit of the XP guest.
Click OK to commit those settings
In the Layer-3 tab, you will now see your two cross-connects:
Start Layer 3 connections
Highlight the connections
Click Start
You will see data transferring along the cross connects.
Highlight both connections and click Display to see the connection statistics for each. Here is the first:
Here is the second: