From owner-freebsd-questions@FreeBSD.ORG Sat May 12 06:03:45 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A059C16A404 for ; Sat, 12 May 2007 06:03:45 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 6A7A813C46C for ; Sat, 12 May 2007 06:03:35 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.1/8.13.8) id l4C63T7G093814; Sat, 12 May 2007 01:03:29 -0500 (CDT) (envelope-from dan) Date: Sat, 12 May 2007 01:03:29 -0500 From: Dan Nelson To: Brett Glass Message-ID: <20070512060329.GD2364@dan.emsphone.com> References: <200705120530.XAA13036@lariat.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200705120530.XAA13036@lariat.net> X-OS: FreeBSD 6.2-STABLE User-Agent: Mutt/1.5.15 (2007-04-06) Cc: questions@freebsd.org Subject: Re: Inverse ARP query X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 May 2007 06:03:45 -0000 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