Escolar Documentos
Profissional Documentos
Cultura Documentos
When testing using Web and WinSocket protocols, by default Vusers on each
host machine use the host's (agent's) IP address. Since a particular server
keeps serving a specific IP address, load tests would reflect network router
caching and other optimizations rather than the real-life situation where
different users arrive to the server with different IP addresses. This is
especially needed when the hardware configuration under test balances load
across a "farm" of several (web or database) servers. "IP spoofing" enables
each host machine to "spoof" the server into thinking it is using many
different IP addresses.
Note: IP addresses include two components, a netid and hostid. The submask
determines where the netid portion of the address stops and where the hostid
begins.
When a host machine is re-started, routing tables are updated with the new
addresses.
The IP Wizard program creates a batch file (nt_routing.bat for Windows and
unix_routing.bat for UNIX machines) and .ips file which updates IP tables.
After turning IP spoofing on or off, for the setting to take effect, the Load
Generator needs to be disconnected and reconnected again.