How do I ping an IP address from a specific local IP address on my Cumulus Linux switch?

Userlevel 2

1 reply

Userlevel 4
use the ping -I (capital I) command! Like this->
cumulus@leaf1$ ping -I  PING ( from : 56(84) bytes of data.  64 bytes from icmp_req=2 ttl=64 time=0.477 ms  64 bytes from icmp_req=4 ttl=64 time=0.554 ms    
This above means ping the address from the source address of