| || |
How to assign many IP addresses to a WIN2K machine for IP address aliasing/spoofing
The load testing tool I am using is SilkPerformer- which has the ability to cycle through IP addresses of the host the agent is running on, as it presents the requests to the server (ip address multiplexing / aliasing / spoofing).
I am interested in running a script presenting several hundred - or, possibly, several thousand - IP addresses to the server. If at all possible, I would like very much not to have to enter each one of these ip addresses in manually.
Does anyone know of a tool that will assign groups or ranges of IP addresses, with NT 4 or WIN2K server?
Re: How to assign many IP addresses to a WIN2K machine for IP address aliasing/spoofing
Just use excel to generate a ton of IP addresses + masks and then do the following
(out of our IS procedures manual for Windows NT, but should be the same for WIN2K):
Use the Registry Editor (REGEDT32.EXE) to add your IP addresses and subnet masks as follows:
1. Click Start -> Run.
2. Type “regedt32” and click on OK.
3. Open the Registry File:
4. Find the IPAddress value and double-click it.
5. The Multi-String Editor dialog box should appear with the IP Address selected. Type (or copy from excel) each additional IP address on a new line within the dialog box, then click OK.
Example for 500 addresses:
* IP Addresses:
10.244.60.1 to 10.244.60.250
10.244.61.1 to 10.244.61.250
6. Find the SubnetMask value and double-click on it.
7. The Multi-String Editor dialog box should appear with the Subnet Mask selected. Enter each additional subnet mask on a new line within the dialog box. Note that there must be exactly the same number of subnet mask strings as the number of IP Addresses on the Server. The current subnet mask we are using is 255.255.0.0. Since we have 500 IP Addresses, we will have to repeat the subnet mask 500 times. Click OK when done.
* For example:
8. Exit REGEDT32.
9. Exit WIn2K and restart your computer.
You should now have all of the IP Addresses specified in the registry bound to your network cards.
[This message has been edited by rstens (edited 01-03-2002).]