Highlighted
Absent Member.
Absent Member.
1573 views

IP Spoofing

Jump to solution
Hi Members,

I know there are many threads/documents
floating around IP spoofing. I tried test
IP spoofing and am not able to see the IP
address getting displayed in the Vuser logs.

Tool Version :HP Performance Center 9.52.
LG OS :Win XP

Network team provided a dedicated static IP address for one of our LG(LG to be used by PCOE only).
IP address :10.136.215.19
I performed network connectivity test and
I was able to connect to PCadmin/user site
and I was able to connect to external site
also.

I have aattached the details of steps performed and issue am facing in the text file.
Please refer to it and help me in solving the issue.
0 Likes
1 Solution

Accepted Solutions
Highlighted
Absent Member.
Absent Member.

Re: IP Spoofing

Jump to solution
Shankar,

I am not sure if IP Spoofing can be enabled in XP.. You can read the same in the LaodRunner Controller User Guide.



LoadRunner includes an IP Wizard program that you run on each Windows
NT or Windows 2000 load generator to create multiple IP addresses.

LR Controller 9.5 Appendixes-- Page 535

View solution in original post

8 Replies
Highlighted
Absent Member.
Absent Member.

Re: IP Spoofing

Jump to solution
HI,

If IP Spoofing is enabled in the load agent machine that you can view while connecting PC and LG as LG will show all the IP's its get assigned.

As per the output log it says NULL can you share the action.c file to have a look on the script.
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: IP Spoofing

Jump to solution
Hi Praveen,

Thanks for your reply.
i have attached the action.c file.

Regards
Shankar
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: IP Spoofing

Jump to solution
Code is OK. Can I know what is the OS installed and how many NIC available in the LG machine?
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: IP Spoofing

Jump to solution
Hi Praveen,

I have one nwetwork adapter.
Broadcom Netextreme 57XX series.

Regards
Shankar K V
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: IP Spoofing

Jump to solution
Shankar,

I am not sure if IP Spoofing can be enabled in XP.. You can read the same in the LaodRunner Controller User Guide.



LoadRunner includes an IP Wizard program that you run on each Windows
NT or Windows 2000 load generator to create multiple IP addresses.

LR Controller 9.5 Appendixes-- Page 535

View solution in original post

Highlighted
Absent Member.
Absent Member.

Re: IP Spoofing

Jump to solution
Pls close the thread if issue get resolved.
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: IP Spoofing

Jump to solution
I have my LG on XP machine and I have no issues spoofing ip addresses.
Make sure the following are done:
1. Run vuser as process and not thread
2. Manually assign the LG which has multiple IP addresses assigned to it, so that a non IP LG is not picked up from the pool

I have been able to get ip soofing working without using the IP wizard also. If the above doesn't work it means it is a network/machine issue. Even if there are no ips assigned, it should not return NULL. this is a typical output if IP spoofing is NOT enabled OR if executed from VuGen
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: IP Spoofing

Jump to solution
Hi Guys,

I got the issue resolved.
the main issue here is the "protocol" that will be used. i was using C Vuser,
where IP spoofing is not supported.
later i used web protocol where i was able to implement IP spoofing successfully.

apart from client side settings, we need to update the routers/server routing table with the new IP that was added. otherwise the tests with IP spoofing will fail.
I am coming up with an document on IP spoofing.
will upload here once am completed with it.
Thanks for all the Perf engineers for sharing their views.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.