Configure IP aliases for a remote Windows location
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.
- Click...
Start | Settings | Control Panel | Network Connection
- Open the network interface to associate the IP aliases with.
In most cases this is the Local Area Connection.
Click...
Properties | Internet Protocol (TCP/IP) | Properties
- 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.
- Create the IP aliases:
- Click Add in the IP Addresses area of the IP Settings page to specify the IP address of the new alias.
Verify the the address is valid for the network and is not being used by another host.
- Enter the IP address and the subnet mask of the new alias.
- After creating the alias, click OK in each previous dialog box to complete the configuration.
- Set the schedule so the virtual users will use IP aliases during a run
When you run the schedule, it will give the impression that the network traffic is being generated from multiple hosts.
- Optional: Insert custom code into the test to retrieve the runtime IP addresses of each virtual user.
- Add multiple IP aliases...
netsh -c interface ip add address name="Gig Ethernet" addr=10.10.0.21 mask=255.255.0.0
For more details on netsh command, see:
C:\WINDOWS\Help\ntcmds.chm
- When you are finished with the IP aliases, remove them:
netsh -c interface ip add address name="Gig Ethernet" addr=10.10.0.21
You can use a batch file to add and delete the aliases.
Configure IP aliases for a remote Linux location
Configure IP aliases for a remote AIX location
Enable virtual users to use IP aliases
Error 404 - Not Found Error 404 - Not Found
The document you are looking for may have been removed or re-named. Please contact the web site owner for further assistance.