Determining my ethernet address
Chris Torek
torek at elf.ee.lbl.gov
Fri Mar 22 10:21:08 AEST 1991
In article <1467 at babcock.cerc.wvu.wvnet.edu>
bigbroth at cathedral.cerc.wvu.wvnet.edu (James M. Coleman) writes:
>I need to find out the ethernet address of the machine my
>program is running on ...
Why do you assume that you even *have* an Ethernet address? The
machine I am typing at is on the Internet but is not on an Ethernet.
(It happens to have an Ethernet address anyway, as it is a Sparcstation
SLC.) Any machine may have any number of Ethernet addresses, from 0
to infinity (well... :-) ).
Although the intent of the original Xerox Ethernet design was that each
machine would have a single Ethernet address (wired into its backplane,
or in a PROM, or---as in this SLC---in a piece of battery-backed-up RAM
[and what happens when the battery dies, anyway? The TOD clock fails,
but the machine also forgets not only its ether address but also that
it is a Sun-4/XX. Yow!]), there have been plenty of violations. You
must not count on having exactly one ether address per machine.
--
In-Real-Life: Chris Torek, Lawrence Berkeley Lab CSE/EE (+1 415 486 5427)
Berkeley, CA Domain: torek at ee.lbl.gov
More information about the Comp.unix.questions
mailing list