Re: find IP address of device on network based on MAC address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, Dec 14, 2007, Jim Perrin wrote:
>On Dec 14, 2007 3:02 PM, Jerry Geis <geisj@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxx  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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux