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

RE: RARP on MAC address?



If you want a quick-and-dirty one-liner to find the IP address of a MAC address
you could use something like:

arp -na | grep <MAC ADDRESS> | cut -f1

man arp is your friend.


On 07-Oct-97 Richard.Dansereau@EE.UManitoba.CA wrote:
>Hello all!
>
>I have a MAC address (ethernet address) that I'm trying to figure
>out what IP is associated with it.  I know that there is a
>Reverse Address Resolution Protocol (RARP) that these machines use
>to determine these types of things transparent to the user.
>
>Is there a command line version where I could enter a MAC address
>and get it to do the RARP and return an IP to me?
>
>Cheers!
>Richard..
>
>---------------------------------------------------------------------
>Richard Dansereau
>Email: rdanse@pobox.com          Home page:  http://pobox.com/~rdanse
>Electrical and Computer Engineering - University of Manitoba - Canada
>---------------------------------------------------------------------
>
>
>--
>TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
>debian-user-request@lists.debian.org . 
>Trouble?  e-mail to templin@bucknell.edu .
>


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: