Share this page

# Add IP addresses to a load generator

The following steps describe how to add IP addresses to a load generator.

1. Run the IP Wizard on the load generator

   - Windows: You run the IP Wizard program on Windows load generators to create multiple IP addresses. You add new IP addresses to a machine once and use the addresses for all scenarios.

   Run the IP Wizard on the load generator to add a specified number of IP addresses.

   For details, see IP Wizard.

   - Linux: Manually configure the new IP addresses for Linux load generators.

2. Update the server's routing table with the new addresses

   Once the client machine has new IP addresses, the server needs the addresses in its routing table, so that it can recognize the route back to the client. If the server and client share the same netmask, IP class, and network, the server's routing table does not require modification.

   Note: If there is a router between the client and server machines, the server needs to recognize the path that uses the router. Make sure to add the following to the server routing table: route from the web server to the router, and routes from the router to all of the IP addresses on the load generator.

   Update the web server routing table as follows:

   1. Edit the batch file that appears in the IP Wizard Summary screen. An example .bat file is shown below.

      REM This is a bat file to add IP addresses to the routing table of a server

      REM Replace [GATEWAY_IP] with the IP of the gateway that can route packets

      REM to the Load Generator network.

      REM This script should be executed on the server machine

      route ADD 192.100.1.1 MASK 255.255.255.255 [GATEWAY_IP] METRIC 1

      route ADD 192.100.1.2 MASK 255.255.255.255 [GATEWAY_IP] METRIC 1

      route ADD 192.100.1.3 MASK 255.255.255.255 [GATEWAY_IP] METRIC 1

      route ADD 192.100.1.4 MASK 255.255.255.255 [GATEWAY_IP] METRIC 1

   2. For each occurrence of [GATEWAY_IP], insert your IP address instead.

   3. Run the batch file on the server machine.

3. Enable the Multiple IP Addresses feature from Controller

   Once you define multiple IP addresses, you set an option to tell Controller to use this feature.

   1. In the Controller Design view, select Scenario > Enable IP Spoofer.

   Note: You must select this option before connecting to a load generator.

   2. In Controller's Tools > Options > General tab (Expert mode only), specify how the Controller should allocate the IP addresses: per process or per thread. For details, see General tab.

   3. In the same tab, General, specify the spoofing mode indicating how to use the IP addresses that were added to the load generator machine—sequentially or randomly. For details, see IP Wizard.

Back to top

See also:

- Multiple IP addresses
- IP Wizard

https://admhelp.microfocus.com Professional Performance Engineering,VuGen 8942
Tips to improve your search results... OpenText™ Professional Performance Engineering Help Center OpenText™ Professional Performance Engineering Help 25.1-25.3 All View Local Help Center View Online Help Center Version: