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

  • 2
  • Question
  • Updated 3 years ago
Photo of David Marshall

David Marshall, Employee

  • 498 Points 250 badge 2x thumb
  • pingy

Posted 3 years ago

  • 2
Photo of Sean Cavanaugh

Sean Cavanaugh, Alum

  • 3,360 Points 3k badge 2x thumb
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