home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!usc!news.service.uci.edu!cerritos.edu!arizona.edu!telcom.arizona.edu!leonard
- Newsgroups: comp.os.vms
- Subject: Re: Ethernet address (sans code) ?
- Message-ID: <1993Jan12.122943.4238@arizona.edu>
- From: leonard@telcom.arizona.edu (Aaron Leonard)
- Date: 12 Jan 93 12:29:38 MST
- Reply-To: Leonard@Arizona.EDU
- References: <1993Jan11.202015.79@ittpub.nl> <1993Jan12.152310.12125@mksol.dseg.ti.com>
- Distribution: world,local
- Organization: University of Arizona Telecommunications
- Nntp-Posting-Host: penny.telcom.arizona.edu
- Lines: 60
-
- 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), <Leonard@Arizona.EDU>
- 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 <or> 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.
-
-
-