Configure IP aliases for a remote Windows location


+

Search Tips   |   Advanced Search

 

To make it appear that a virtual user has its own IP address during a schedule run, configure IP aliases for each Windows remote location.

To configure IP aliases for a remote Windows location:

  1. Click...

      Start | Settings | Control Panel | Network Connection

  2. Open the network interface to associate the IP aliases with. In most cases this is the Local Area Connection. Click Properties.

  3. Scroll down to Internet Protocol (TCP/IP), and click Properties.

  4. You must be using static IP addresses to create IP aliases on this host. Therefore, confirm that...

      Use the following IP address

    ...is selected, and then click Advanced.

  5. Create the IP aliases:

    1. Click Add in the IP Addresses area of the IP Settings page to specify the IP address of the new alias. Verify that the address is valid for the network and is not being used by another host.

    2. Enter the IP address and the subnet mask of the new alias.

  6. After creating the alias, click OK in each previous dialog box to complete the configuration.

  7. Set the schedule so that the virtual users will use IP aliases during a run.


Results

When you run the schedule, it will give the impression that the network traffic is being generated from multiple hosts.


What to do next

You can insert custom code into test to retrieve the runtime IP addresses of each virtual user.

To add multiple IP aliases, use the netsh command...

The ntcmds.chm file, typically located in C:\WINDOWS\Help, contains more details about the netsh command. When you are finished with the IP aliases, use the following command to remove them:

You can also use a batch file to add and delete the aliases.


Related tasks

  1. Configure IP aliases for a remote Linux location
  2. Configure IP aliases for a remote AIX location
  3. Enable virtual users to use IP aliases