How can I use my other IPs on my VPS?

Configuring IP aliases for a remote Windows location

There are 2 ways to do this. The first Method a more challeging than the first one. Here it is......


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 Windows remote location:
  • 1. Click Start > Settings > Control Panel > Network Connection.
  • 2. Open the network interface that you want 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. Click Add in the IP Addresses area of the IP Settings page to specify the IP address of the new alias. Make sure that the address is valid for the network and is not being used by another host.
  • 6. Enter the IP address and the subnet mask of the new alias.
  • 7. After you create the alias, click OK in each previous dialog box to complete the configuration.
  • 8. Set the schedule so that the virtual users will use IP aliases during a run; for information, see Enabling virtual users to use IP aliases.
  • 9. Create the IP aliases:
When you run the schedule, it will give the impression that the network traffic is being generated from multiple hosts.

You can insert custom code into your test to retrieve the runtime IP addresses of each virtual user. For information, see Retrieving the IP address of a virtual user.

Note: To add multiple IP aliases, use the netsh command, as shown in the following example:
netsh -c Interface ip add address name="Gig Ethernet" addr=10.10.0.21 mask=255.255.0.0
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:
netsh -c Interface ip delete address name="Gig Ethernet" addr=10.10.0.21 
You can also use a batch file to add and delete the aliases.
  • 0 أعضاء وجدوا هذه المقالة مفيدة
هل كانت المقالة مفيدة ؟

مقالات مشابهة

Add users to the Remote Desktop Users group

This Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1,...

How to open a Port on Windows Server 2008 Firewall

Some people refer to this as "Port Forwarding" but the with a public IP you dont need to do no...

How to change your Administrator Password on Windows Server 2008

There are serveral ways to change the Administrator Password in Windows. The most common method...