Enable IP spoofing

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

  1. Create multiple IP addresses on the load generator

    • Windows: Run the IP Wizard to create multiple IP addresses. For details on running the IP Wizard, see IP Wizard.

      The new IP addresses are added to the load generator once and are used for all performance tests. After running the wizard, restart the load generator machine.

    • Linux: Manually configure the new IP addresses for Linux load generators. For details, see Configure multiple IP addresses on Linux.

  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 via the router. Make sure to add the following to the server routing table:

    • A route from the web server to the router,

    • 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 page. An example .bat file is shown below.

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

    3. Run the batch file on the server machine.

  3. Enable the Multiple IP Addresses feature from Performance Center

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

    1. From the Performance Center navigation toolbar, click and select Test Management (under Testing). Select a performance test in the test management tree and click Edit Test. In the Performance Test Designer window, click Groups & Workload and click the Options button at the top of the window. Select Enable IP Spoofer.

      Note: You must select this option before running a performance test.

    1. Specify how the Controller should allocate the IP addresses: per process or per thread. For details, see the Controller's general run option settings described in Controller Options dialog box.

Back to top