Finding ethernet address (MAC) of an IP address with arping
It needs gawk, sed and grep. arping -c 1 192.168.1.1 | grep “:” | sed “s/\[//g;s/\]//g” |gawk ‘{print $5}’ # 00:AA:BB:CC:DD:EE # Find MACs of… Read More »Finding ethernet address (MAC) of an IP address with arping