I'm trying to test a server with jmeter and I want to use different source IP without spoofing (although I'm willing to hear about it as well), on each run.
These are so far the only ideas I have:
- changing a static IP on the ETH in a batch script and re-running
jmeter-n.cmd check.jmx
and looping; - dialing with vpn connection running the jmeter script disconnecting and looping.
But the problem is that I want to change parameters (username/pass) on every run of the script, from a list of about 1000 parameters.
One way to do is it to create lots of aliases for your eth0, like
for each in $(seq 1 254); do ifconfig eth0:$each 192.168.1.$each; done
And then just do a little bit of NAT voodoo:
But that may change the source IP too often for you ... I'm not 100% sure what you're going to do.