On Fri, Dec 14, 2007, Jim Perrin wrote:
On Dec 14, 2007 3:02 PM, Jerry Geis geisj@pagestation.com wrote:
I have a device on my network that is not DHCP and I dont know the IP address of it and it has not method of finding it or changing it unless you know the IP address (setable by browser).
Is there a way on linux, based on MAC address, to get the IP of the unit?
Ping all the ips on your network, then use 'arp' to show the ip and mac linking. This should give you the information you need.
For a private network, 192.168.1.0/24
ping -c3 -b 192.168.1.255 arp -an | grep -i macaddress
Bill -- INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
Democracy must be sometihng more than two wolves and a sheep voting on what to have for dinner -- James Bovard