Main Menu

Search

LINUX: How To Do ARP Ping Test To Ping IP Address Over Specific Interface?

Below is command to run on source VM to do arp ping on destination VM on specific interface.


arping -c 3 -I <Source VM Interface> <Destination VM IP>

Below is snippet of above command.


[root@testVM ~]# arping -c 3 -I <eth0> 192.168.0.1
ARPING 192.168.0.1 from 192.168.20.6 bond1
Unicast reply from 192.168.0.1 [80:00:ZZ:ZZ:ZZ:YY:YY:YY:ZZ:ZZ:ZZ:YY:YY:YY:97:C3:52]  0.694ms
Unicast reply from 192.168.0.1 [80:00:ZZ:ZZ:ZZ:YY:YY:YY:ZZ:ZZ:ZZ:YY:YY:YY:97:C3:52]  1.688ms
Unicast reply from 192.168.0.1 [80:00:ZZ:ZZ:ZZ:YY:YY:YY:ZZ:ZZ:ZZ:YY:YY:YY:97:C3:52]  0.713ms
Sent 3 probes (1 broadcast(s))
Received 3 response(s)
[root@testVM ~]#

Products to which Article Applies


All Linux Operating Systems

Additional Reference

https://www.poftut.com/arping-command-tutorial-examples-linux/



tarun boyella

No comments:

Post a Comment