Forum Discussion
Ping from source ip address
Hi,
I have F5 LTMs in our production environment. I assign the two different ip addresses on two interfaces (1.1,1.2) 1.1 --> 10.1.1.1 1.2 --> 20.1.1.1
The default route on the F5 is (0.0.0.0 0.0.0.0 10.1.1.10)
i want to ping the IP 30.1.1.1 using the source ip of 1.1 interface(10.1.1.1). Kindly tell me the command how to do that ?
thanks.
- Jad_Tabbara__J1Cirrostratus
Hello Faizan,
you can use ping with -I argument like that
ping -I source_IP dest_IP
Regards
- Stan_WardAltocumulus
When I try that (on 14.1.2.3), I get:
bind: Cannot assign requested address
It doesn't matter whether the IP is a self IP, a float, a SNAT, or a VIP, the message is always the same.
There are no route domains except the default %0.
- Jimmy_LAltostratus
Stan,
I had the same problem, but I found it was because I was in a different partition than the one in which my source self IP resided. From TMSH before switching to BASH do a "cd /<partition>" to switch to the partition where your self IP is, then switch to BASH an use Jad's ping command.
Here's some more BIG-IP LTM related content from Technical Articles that might be interesting for folks in this thread:
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com