IP spoofing for client with same Netmask IP class and network

上一篇 / 下一篇  2012-02-27 10:50:49 / 个人分类:LR

IP spoofing is used when a unique user IP address is required to identify unique data.

 

In Script.:

CODE TO VERIFY IP SPOOF: lr_message (“ IP ADDRESS _ %s “,lr_get_vuser_ip());

 

Adding IP Addresses:

GO TO IP WIZARD …..FOLLOW INSTRUCTIONS AND ADD IP

1. Start Menu –> LoadRunner –> Tools –> IP Wizard

2. Check create new settings

3. Enter Web Server IP (i.e. 10.208.4.171)

4. Enter from assigned IP number addresses (i.e. 10.208.40.4), number of IPs to add (i.e. 250), and check verify IPs not in use.

5. Click Finish. A pop up with where the bat files are located will appear (nt and unix), e.g. C:\temp\unix_routing.sh and C:\temp\nt_routing.bat

6. Check reboot

 

VERIFY IP ADDRESSES ADDED

1.    Start Menu –> Run –> CMD –> enter ipconfig. All available IP addresses should be displayed.

 

Settings in the Controller:

• RUN-TIME SETTING—RUN AS “PROCESS” (IN GENERAL TAB)

• IN THE CONTROLLER TOOLBAR “SCENARIOS” TAB, ENABLE IP SPOOFER

• IN THE CONTROLLER TOOLBAR “TOOLS” TAB, CHECK “EXPERT MODE”

 

Setting in “Network Neighborhood” (On the Load Generator Machine):

Also, verify that all of the new IP addresses are on the list in “Network Neighborhood”/”Properties”/Protocol/Advanced.

Verify that Wins address and DNS are completed with the correct IP addresses.

Note:

The IP SPOOFING ADD ROUTE BAT file needs to be run on the target server in order for IP SPOOFING to work.


TAG:

 

评分:0

我来说两句

Open Toolbar