Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2001 04:34:20 +0200
From:      Benedikt Schmidt <s_bschmi@ira.uka.de>
To:        questions@FreeBSD.ORG
Subject:   Re: Usage of arp -s
Message-ID:  <20010617043420.C420@cloaked.de>
In-Reply-To: <DBEDLOOHIDFHOMJIFMGMCENBCBAA.mcowger@bowdoin.edu>; from mcowger@bowdoin.edu on Sat, Jun 16, 2001 at 01:42:14PM -0400
References:  <20010616132320.W4205-100000@shumai.marcuscom.com> <DBEDLOOHIDFHOMJIFMGMCENBCBAA.mcowger@bowdoin.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew K. Cowger <mcowger@bowdoin.edu> 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




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