From owner-freebsd-questions Sat Jun 16 19:34:27 2001 Delivered-To: freebsd-questions@freebsd.org Received: from iraun1.uka.de (iraun1.uka.de [129.13.10.90]) by hub.freebsd.org (Postfix) with ESMTP id 5552737B407 for ; Sat, 16 Jun 2001 19:34:18 -0700 (PDT) (envelope-from s_bschmi@ira.uka.de) Received: from ira.uka.de (actually wn4-marvin.wn4.uni-karlsruhe.de) by iraun1 (PP) with SMTP; Sun, 17 Jun 2001 04:34:15 +0200 Date: Sun, 17 Jun 2001 04:34:20 +0200 From: Benedikt Schmidt To: questions@FreeBSD.ORG Subject: Re: Usage of arp -s Message-ID: <20010617043420.C420@cloaked.de> References: <20010616132320.W4205-100000@shumai.marcuscom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from mcowger@bowdoin.edu on Sat, Jun 16, 2001 at 01:42:14PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Matthew K. Cowger wrote: > THough I am going to send a pr to the docs peope about the confusion > regarding that flag, because it says to use hostname, not IP address. You _can_ use 'arp -s' with the hostname. If the first argument after -s is no valid IP address arp uses gethostbyname() to get the address. Perhaps the hostname couldn't be resolved in your case. -- Benedikt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message