Tuesday, May 7, 2024
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 32653  / 2 Years ago, tue, january 11, 2022, 5:17:24

Suppose I have a printer in my network has a Mac Address : 11:22:33:44:55:66 .



Is there a way i can ping it to see if its up or down using its Mac address ?



Any Help ?


More From » command-line

 Answers
0

After some research i have succeeded in pinging my printer by its mac-address by following these steps using arping tool :



First I tried arping that is installed by default in Ubuntu 12.04 , it state unknown host whenever I ping a Mac Address .



I search for the problem and found that newer version of arping stopped this feature .



I search for an old version i found Thomas habets arping. Download It from Herer .



After Download extract it .



Before installation make sure you download libnet Here , and libcap-dev



sudo apt-get install libpcap-dev 


Now it time to install arping 2.13 , open Terminal :



cd /path/to/arpingfolder

./configure

make

make install


Now Navigate to :



cd /usr/local/sbin/


And run the following command :



arping -i (your network interface ) -c 3 11:22:33:44:55:66


enter image description here



For more options type man arping.


[#26668] Thursday, January 13, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
riffnkful

Total Points: 390
Total Questions: 123
Total Answers: 110

Location: Puerto Rico
Member since Sat, Mar 13, 2021
3 Years ago
;