http://www.perlmonks.org?node_id=359053


in reply to Fetching ARP table with NetPacket

A small script which I wrote employing Net::Pcap and NetPacket modules for determining the association between IP address and MAC addresses can be found on this site here.

 

perl -le "print unpack'N', pack'B32', '00000000000000000000001011011111'"