home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / vms / 20806 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  2.6 KB

  1. 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
  2. Newsgroups: comp.os.vms
  3. Subject: Re: Ethernet address (sans code) ?
  4. Message-ID: <1993Jan12.122943.4238@arizona.edu>
  5. From: leonard@telcom.arizona.edu (Aaron Leonard)
  6. Date: 12 Jan 93 12:29:38 MST
  7. Reply-To: Leonard@Arizona.EDU
  8. References: <1993Jan11.202015.79@ittpub.nl> <1993Jan12.152310.12125@mksol.dseg.ti.com>
  9. Distribution: world,local
  10. Organization: University of Arizona Telecommunications
  11. Nntp-Posting-Host: penny.telcom.arizona.edu
  12. Lines: 60
  13.  
  14. In article <1993Jan12.152310.12125@mksol.dseg.ti.com>, pyron@skndiv.dseg.ti.com (Dillon Pyron)
  15. writes:
  16. | In article <1993Jan11.202015.79@ittpub.nl>, david@ittpub.nl (David P. Morgan) writes:
  17. | >How can one find out the Ethernet address of a node ?
  18. | >
  19. | >It's VMS 5.5. I know you can do it with a little bit of code and that's
  20. | >straightforward but how can you do it with NCP, for instance ?
  21. | >
  22. | What I think you want is the physical address.
  23. | For your node, try 
  24. | $ MCR NCP SH EXEC STAT
  25. | For a remote node, try
  26. | $MCR NCP TELL stupid SH EXEC STAT
  27. | This should work for all but the most security paranoid nodes.
  28. | --
  29. | Dillon Pyron                      | The opinions expressed are those of the
  30.  
  31. If you have the DECnet node number and wish to know the node's
  32. Ethernet physical (vs. hardware) address, then this can be derived
  33. algorithmically in a trivial manner.  (An old article on the subject
  34. follows.)
  35.  
  36. Best,
  37.  
  38. Aaron
  39.  
  40. Aaron Leonard (AL104), <Leonard@Arizona.EDU>
  41. University of Arizona Network Operations, Tucson AZ 85721
  42.   "It's not a bug, it's a form of flow control."
  43.   - Jerry Leichter on why crash-prone Unix is a suitable
  44.     platform for NSFNET core routers
  45.  
  46. ---
  47.  
  48. In article <10847@cbmvax.commodore.com>, grr@cbmvax.commodore.com (George Robbins) writes:
  49. > Note that this shows you the original hardware address, not whatever
  50. > deviated thing DECnet sets it to (something based on the DECnet area.node).
  51.  
  52. The working Ethernet address is set from the DECnet address as follows:
  53.  
  54. Compute (Area * 1024) + Node_within_area, byte swap the result, producing
  55. the low two bytes of the Ethernet address (The other four bytes are
  56. AA-00-04-00).
  57.  
  58. For example, DECnet address 4.72 yields (4 * 1024) + 72 = 4168 = 0x1048.
  59. Swap the bytes and insert into the Ethernet address, yielding
  60. AA-00-04-00-48-01.
  61.  
  62. Hope this helps.
  63.  
  64. -- 
  65. Ted Marshall          ...!ucbvax!mtxinu!blia!ted  <or>  ted@blia.bli.com
  66. ShareBase Corp., 14600 Winchester Blvd, Los Gatos, Ca 95030     (408)378-7000
  67. The opinions expressed above are those of the poster and not his employer.
  68.  
  69.  
  70.