Finding a machine's ethernet address
mcneill
mcneill at eplrx7.UUCP
Wed Mar 1 01:19:42 AEST 1989
I need to be able to find a machine's ethernet address. I need a command
like:
(1) find_ether somehost
host somehost is 8:0:0:0:0:0
/etc/arp sorta does this but it only prints out machines that are
currently in the arp tables. I want the ability to get an ethernet
address that is not currently in the arp tables.
One way would be to force an entry in the arp tables (then I could use
/etc/arp). But I don't seem to be able to do this reliably. I've tried
doing a telnet somehost & then an /etc/arp somehost. This seems to work
on the Ultrix nodes but not on the Sun nodes.
I guess my other option is to make my own version of arp...somehow?
Keith
--
Keith D. McNeill | E.I. du Pont de Nemours & Co.
eplrx7!mcneill at uunet.uu.net | Engineering Physics Laboratory
(302) 695-7395 | P.O. Box 80357
| Wilmington, Delaware 19880-0357
More information about the Comp.unix.wizards
mailing list