There'e a "gotcha", at least in the Windows versions. On one of my PC's
there is more than one "arp.exe" (in different directories). Using the
different
one give different results!
Nick D.
> The ARP command that Gavin mentions is also on my Win95 and Win2000 PC's.
>
> Frank Gribbin
> Potter Anderson & Corroon LLP
>
> On Mon, 23 Apr 2001 16:00:33 -0700, Mark Bixby <[log in to unmask]> wrote:
>
> >Gavin Scott wrote:
> >> I don't know if you can get 'arping' for Windows,
> >
> >My Win98 machine has an arp command that can query and modify the arp
> cache:
> >
> >C:\Temp>arp
> >
> >Displays and modifies the IP-to-Physical address translation tables used
by
> >address resolution protocol (ARP).
> >
> >ARP -s inet_addr eth_addr [if_addr]
> >ARP -d inet_addr [if_addr]
> >ARP -a [inet_addr] [-N if_addr]
> >
> > -a Displays current ARP entries by interrogating the current
> > protocol data. If inet_addr is specified, the IP and
> Physical
> > addresses for only the specified computer are displayed.
> If
> > more than one network interface uses ARP, entries for
each
> ARP
> > table are displayed.
> > -g Same as -a.
> > inet_addr Specifies an internet address.
> > -N if_addr Displays the ARP entries for the network interface
> specified
> > by if_addr.
> > -d Deletes the host specified by inet_addr.
> > -s Adds the host and associates the Internet address
inet_addr
> > with the Physical address eth_addr. The Physical address
> is
> > given as 6 hexadecimal bytes separated by hyphens. The
> entry
> > is permanent.
> > eth_addr Specifies a physical address.
> > if_addr If present, this specifies the Internet address of the
> > interface whose address translation table should be
> modified.
> > If not present, the first applicable interface will be
> used.
> >Example:
> > > arp -s 157.55.85.212 00-aa-00-62-c6-09 .... Adds a static entry.
> > > arp -a .... Displays the arp
table.
> >--
> >[log in to unmask]
> >Remainder of .sig suppressed to conserve scarce California electrons...
> >
> >* To join/leave the list, search archives, change list settings, *
> >* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|