On Wednesday 20 July 2005 12:28, Cameron wrote:
> Hi All,
>
> Just wondering of anyone knew of a way to query a MAC address to determine
> the ip, hostname or any of that other stuff.  I know it can be done but I
> am just having a huge bran fart and can't think of it.
>

There may be a better way  but I use the following:
arp -v -a  -H ether |grep 01:23:34:56:78:9A

Which returns:
hostname.full.dns.tld (192.168.0.1) at 001:23:34:56:78:9A [ether] on eth0

> It this makes a difference it is on a Windows machine or a peice of
> hardware (i.e. printer, switch, etc.)
>
 
The type of hardware does not make a difference.  This command syntax is 
specific to my linux box, the windows arp program has a slightly different 
syntax (it does not appear to be as nearly verbose as the linux version) but 
then I tend to work as little as possible in the win32 environment.

arp -a |grep <mac addr> works for me, but I have the cygwin grep installed.

> Any hints would be great.
>
> Cameron
>
>

Attachment: pgpeXylHDQgiZ.pgp
Description: PGP signature

_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to