I hate following up my own posts, but I went to one of my Linux boxes
to see if there was a 'rarp' command.  It turns out there is, and it
works just like the arp command I listed below.  The only problem was
that I don't have rarp support compiled into my kernel, so I couldn't
use it.

The drawback to each of these commands, however, is that they don't
perform an arp or rarp queries.  They simply offer a means of
displaying, or clearing, the entries in the arp or rarp tables.

It doesn't really matter though...  Like I said before, the quickest
way to get the machine to initiate a query is to simply ping
something.  If the entry doesn't already exist in the cache, it will
perform the query without intervention.

[Side note: Ever notice that when you ping something from a Cisco,
like a device on a connected ethernet segment, that the first ping
typically fails, but the remaining 4 pings work fine, and subsequent
pings work 5/5?  That's arp in action.]

Alan

----- Original Message -----
From: "W. Alan Robertson" 
To: 
Sent: Wednesday, May 30, 2001 9:36 AM
Subject: Re: can we "ping" via MAC address? [7:6387]


> That's really close, but I don't know of an application that allows
> you to arbitrarily RARP...  There is a way you can display the MAC
to
> IP mappings that works from either Windows or Unix machines, though
> the syntax may differ slightly for each, depending on flavor.
>
> From a DOS prompt, or a Unix shell, type:
>
> arp -a
>
> This will list all of the MAC addresses and their corresponding IP
> addresses that are in the system's cache.  Sometimes it's helpful to
> ping the segment's IP broadcast address prior, because arp entries
> time out.  Pinging the broadcast address should cause a flurry of
arp
> action on the segment, and should populate the arp cache.  Remember,
> you must do this from a machine on the same segment/subnet.  Arp is
> locally signifigant.  You cannot arp for a device on a different IP
> subnet.
>
> Hope this helps,
>
> Alan
>
> ----- Original Message -----
> From: "Dyson Kuben"
> To:
> Sent: Wednesday, May 30, 2001 6:44 AM
> Subject: RE: can we "ping" via MAC address? [7:6387]
>
>
> > You won't be able to ping a MAC-Address, but if you only want to
> find an IP
> > associated with the MAC, try using RARP! (Reverse ARP)
> FAQ, list archives, and subscription info:
http://www.groupstudy.com/list/cisco.html
> Report misconduct and Nondisclosure violations to
[EMAIL PROTECTED]




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=6433&t=6387
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to