fping icon indicating copy to clipboard operation
fping copied to clipboard

Cannot bind source address : cannot assign requested address

Open abhiverma866 opened this issue 3 years ago • 1 comments

I am trying to send ping messages to a host with source IP spoofed. I am using : sudo fping -l eth0 --src 192.168.207.10 192.168.207.135

192.168.207.10 is spoofed IP (source) 192.168.207.135 is destination When I run the mentioned command linux return the following error: Cannot bind source address : cannot assign requested address

abhiverma866 avatar Sep 13 '22 12:09 abhiverma866

If you don't have the IP on the device you are running fping on, then that's the correct output. This is outside of fping, you'd see the same output if you try to use ping -I <src> <dest> if the is not present to bind to.

darless avatar Dec 06 '22 21:12 darless