Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: ted@blia.BLI.COM (Ted Marshall)
Subject: Re: Getting ETHERNET address of VAX adapter
Date: 13 Apr 90 16:49:22 GMT	[thread overview]
Message-ID: <11288@blia.BLI.COM> (raw)
In-Reply-To: 10847@cbmvax.commodore.com

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.


  reply	other threads:[~1990-04-13 16:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1990-04-12 16:14 Getting ETHERNET address of VAX adapter brodie
1990-04-13  3:00 ` George Robbins
1990-04-13 16:49   ` Ted Marshall [this message]
1990-04-13 17:31 ` Matt Thomas
  -- strict thread matches above, loose matches on Subject: below --
1990-04-12 23:46 Christopher Ho
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox