Hie everyone, I am having trouble running my JMeter script where I created IPs (for spoofing) on my system. I use the loop below to assign the IPs with ifconfig:
for each in $(seq 41 50); do ifconfig enp4s0: $each 10.20.30.$each; done
After which I execute the ifconfig command and get the following output:
enp4s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 14:fe:b0:a0:b0:e0 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp4s0:: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 10.20.30.50 netmask 255.0.0.0 broadcast 10.255.255.255
ether 14:fe:b0:a0:b0:e0 txqueuelen 1000 (Ethernet)
After this, I create a CSV config set for my csv which contains the IPs in the range mentioned above then configure the HTTP requests to use the IPs in the CSV, but when I run the script all the requests fail with the following error:
Response code: Non HTTP response code: java.net.BindException
Response message: Non HTTP response message: Cannot assign requested address (Bind failed)
I am just wondering what may be causing this and how could I resolve it. Any help will be greatly appreciated.