Configure IP aliases for a remote Linux location
To make it appear that a virtual user has its own IP address during a schedule run, configure IP aliases for each Linux location.
- Use the ip(8) command to create an IP alias.
The following example attaches the IP address 9.37.207.29 to the eth0 network interface:
# ip address add 9.37.207.29 dev eth0
To create a large number of aliases on a Redhat Linux platform, follow the instructions in the file /etc/sysconfig/network-scripts/ifup-aliases.
The following example deletes the alias:
# ip address del 9.37.207.29 dev eth0
- Set the schedule so the virtual users will use the IP aliases during a run; for information, see Enable virtual users to use IP aliases.
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 the test to retrieve the runtime IP addresses of each virtual user. For information, see Retrieving the IP address of a virtual user.
Configure IP aliases for a remote Windows 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.