From: MERC::"uunet!CRVAX.SRI.COM!RELAY-INFO-VAX" 13-JAN-1993 04:46:50.48 To: info-vax@kl.sri.com CC: Subj: Re: Ethernet address (sans code) ? In article <1993Jan12.152310.12125@mksol.dseg.ti.com>, pyron@skndiv.dseg.ti.com (Dillon Pyron) writes: | | In article <1993Jan11.202015.79@ittpub.nl>, david@ittpub.nl (David P. Morgan) writes: | >How can one find out the Ethernet address of a node ? | > | >It's VMS 5.5. I know you can do it with a little bit of code and that's | >straightforward but how can you do it with NCP, for instance ? | > | What I think you want is the physical address. | | For your node, try | $ MCR NCP SH EXEC STAT | | For a remote node, try | $MCR NCP TELL stupid SH EXEC STAT | | This should work for all but the most security paranoid nodes. | -- | Dillon Pyron | The opinions expressed are those of the If you have the DECnet node number and wish to know the node's Ethernet physical (vs. hardware) address, then this can be derived algorithmically in a trivial manner. (An old article on the subject follows.) Best, Aaron Aaron Leonard (AL104), University of Arizona Network Operations, Tucson AZ 85721 "It's not a bug, it's a form of flow control." - Jerry Leichter on why crash-prone Unix is a suitable platform for NSFNET core routers --- In article <10847@cbmvax.commodore.com>, grr@cbmvax.commodore.com (George Robbins) writes: > Note that this shows you the original hardware address, not whatever > deviated thing DECnet sets it to (something based on the DECnet area.node). The working Ethernet address is set from the DECnet address as follows: Compute (Area * 1024) + Node_within_area, byte swap the result, producing the low two bytes of the Ethernet address (The other four bytes are AA-00-04-00). For example, DECnet address 4.72 yields (4 * 1024) + 72 = 4168 = 0x1048. Swap the bytes and insert into the Ethernet address, yielding AA-00-04-00-48-01. Hope this helps. -- Ted Marshall ...!ucbvax!mtxinu!blia!ted ted@blia.bli.com ShareBase Corp., 14600 Winchester Blvd, Los Gatos, Ca 95030 (408)378-7000 The opinions expressed above are those of the poster and not his employer.