Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jan 2003 11:46:27 -0300 (ART)
From:      Fernando Gleiser <fgleiser@cactus.fi.uba.ar>
To:        Dan Malaby <dan@peritek.com>
Cc:        questions@freebsd.org
Subject:   Re: Is there a way to get a MAC address from an IP address
Message-ID:  <20030103114410.G34797-100000@cactus.fi.uba.ar>
In-Reply-To: <5.1.0.14.2.20030102093547.00a6a0b0@pop3.peritek.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2 Jan 2003, Dan Malaby wrote:

> Is there a way if given an IP address to get the MAC address. The problem I
> am having is that there are two nic's that are using the same IP address on
> my network, but the error message my FBSD box gives me is only the MAC
> address for the offending card. I belive that the offending card does have
> another ligit IP address. I do have a map of all IP that respond on my
> network, but do not have a way of knowing which IP goes with which MAC address.

arp -an | grep <MAC>

replace <MAC> with the MAC addr you have.




			Fer

>
> Any help would be appreciated.
>
>
> Daniel Malaby           voice:(510) 531-6500
> Peritek Corp.           fax:   (510) 530-8563
> 5550 Redwood Road       email: dan@peritek.com
> Oakland, CA 94619
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>


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?20030103114410.G34797-100000>