Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 May 2007 01:03:29 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Brett Glass <brett@lariat.net>
Cc:        questions@freebsd.org
Subject:   Re: Inverse ARP query
Message-ID:  <20070512060329.GD2364@dan.emsphone.com>
In-Reply-To: <200705120530.XAA13036@lariat.net>
References:  <200705120530.XAA13036@lariat.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (May 11), Brett Glass said:
> Is there a command in FreeBSD that can be used to do an inverse ARP
> query (that is, supply a MAC address and have the device respond with
> its IP)? I have several hardware devices here whose IP addresses I do
> not know, but their MAC addresses are printed on the labels. To
> reprogram and reset them, I need their IPs so that I can get into
> them via a telnet or Web interrace. I could scan for the devices'
> addresses, but this would take months. But if they respond to inverse
> ARP queries, I can find out in an instant what their IP addresses
> are.

ports/net/arping should do what you want.  "arping aa:bb:cc:dd:ee:ff"
prints the remote system's IP address as part of its response string.

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070512060329.GD2364>