[comp.protocols.tcp-ip] convert Ethernet numbers into ASCII text

MAP@LCS.MIT.EDU (Michael A. Patton) (04/20/91)

A simple way to get this list is:

	1) Find a unix system on the same wire
	2) Ping each of the hosts (once should be enough, i.e. "ping -n1")
	3) Type the command /etc/arp -a

You should get back a list of names, IP addresses, and Ethernet
addresses.  There, wasn't that simple?  Now for the hard question, are
you going to remember to do this every time any machine on your subnet
has maintenance performed on it?  That can change the Ethernet
address.  I can't tell you how many times someone tracking a problem
with numbers only got misled by using an out-of-date list, and you
often can't generate a new one if the network has problems you're
trying to fix.

            __
  /|  /|  /|  \         Michael A. Patton, Network Manager
 / | / | /_|__/         Laboratory for Computer Science
/  |/  |/  |atton       Massachusetts Institute of Technology

Disclaimer: The opinions expressed above are a figment of the phosphor
on your screen and do not represent the views of MIT, LCS, or MAP. :-)

davidd@HITL.VRNET.WASHINGTON.EDU (David Doll) (04/21/91)

Hello,
	I'm going to be bringing a network analyzer (sniffer) into our 
department and it displays the Ethernet number (for example: 8:0:2b:18:96:bf).
I would prefer to look at the host name (for example: foo.cs.washington.edu).
So what I  would like to be able to do is to get the names from all the 
machine numbers in the department (~100 or so). Has anybody did this or know
how or know what to do...? I'd appreciate any help. Thanks. If you e-mail
me, I could post a summary if theres interest.


David Doll
Human Interface Technology Lab
University of Washington
M/S: FU - 20
Seattle, WA 98195 
(206) 543-5075
davidd@hitl.vrnet.washington.edu

mark@TELESYS.NCSC.NAVY.MIL (Mark L. Williams) (04/22/91)

David Doll writes:

>Hello,
>	I'm going to be bringing a network analyzer (sniffer) into our 
>department and it displays the Ethernet number (for example: 8:0:2b:18:96:bf).
>I would prefer to look at the host name (for example: foo.cs.washington.edu).
>So what I  would like to be able to do is to get the names from all the 
>machine numbers in the department (~100 or so). Has anybody did this or know
>how or know what to do...? I'd appreciate any help. Thanks. If you e-mail
>me, I could post a summary if theres interest.

I don't think the straight conversion implied by your subject is possible.
To associate names with ethernet addresses in your Sniffer, you'll need to
use the name management tools to enter names for the addresses the Sniffer
finds on your network.  I don't know of a utility to do this for you.
In any event, the information has to exist somewhere before you can use it.

BTW, the Sniffer's name field is not real long -- 14 characters or so,
as I remember off-hand.  If you do have a list of hosts and ethernet addresses
somewhere, you'll have to make sure you can fit the whole name in the Sniffer's
name field.

Finally, deciding on the most useful naming convention for the Sniffer can
be a real challenge.  If your location is big and has multiple segments,
a good name can really help you locate a problem, while a bad name may not
help much.  However, if you incorporate potentially variable information
in the name, maintaining the name list can be a troublesome job.

Mark

tkevans@oss670.UUCP (Tim Evans) (04/23/91)

davidd@HITL.VRNET.WASHINGTON.EDU (David Doll) writes:


>	I'm going to be bringing a network analyzer (sniffer) into our 
>department and it displays the Ethernet number (for example: 8:0:2b:18:96:bf).
>I would prefer to look at the host name (for example: foo.cs.washington.edu).
>So what I  would like to be able to do is to get the names from all the 
>machine numbers in the department (~100 or so). Has anybody did this or know
>how or know what to do...?

My sniffer (a Tektronix) allows a disk file to be set up on it which
contains hardware-to-hostname mappings.  Once you go through the
exercise of gathering this info, save it!  I'd think other sniffers
would allow this same capability.

-- 
INTERNET	tkevans%woodb@mimsy.umd.edu
UUCP 		...!{rutgers|ames|uunet}!mimsy!woodb!tkevans
US MAIL		6401 Security Blvd, 2-Q-2 Operations, Baltimore, MD  21235	
PHONE		(301) 965-3286