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 Dec 14, 2007, at 3:21 PM, Les Mikesell wrote:

Jerry Geis 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?

You accumulate a table of mac<->ip assocations, but only after communicating with something. arp -a will show the current entries (which expire fairly quickly). You might ping everything in the network range, then look for the mac in the arp list.

to ping every address, check out broadcast pings here

http://www.macworld.com/article/53277/2006/10/pingfind.html
(or google other how-to's)

then do the
arp -a

but keep in mind not everything responds to broadcast pings.

Brian

_______________________________________________
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