RE: hex conversion

From: Chua, Parry (Parry.Chua@xxxxxxxxxx)
Date: Fri Apr 05 2002 - 03:04:21 GMT-3


   
Another choice, if you see the following byte patterns, no conversion is needed
 for CAN to NON-CAN , each 4 bits in hex is also the mirror of the other,
eg 18 = 0001 1000, 66 = 0110 0110, A5 = 1010 0101

00, 18, 24, 3C, 42, 5A, 66, 7E, 81, 99, A5, BD, C3, DB, E7, FF

Parry Chua

-----Original Message-----
From: Mike L. Chase [mailto:mchase@chasenetworks.com]
Sent: Friday, April 05, 2002 1:34 PM
To: Tu Nguyen; jeff gercken; ccielab@groupstudy.com
Subject: RE: hex conversion

Keep it simple...

CANONICAL - NON-CANONICAL

quick converter :

Ethernet MAC Addresses (canonical format)
0 1 2 3 4 5 6 7 8 9 A B C D E F becomes
0 8 4 C 2 A 6 E 1 9 5 D 3 B 7 F
  Token Ring Address (non-canonical format)

Here is an example on Ethernet according
to the above rule:

1. Ethernet MAC Addresses (canonical format)
0200.4556.1140

2. Intermediate step, flip the bits (take it 2 characters at a time, reverse th
em and then you get step3)
0400.2AA6.8820

3. Final Token Ring Address (non-canonical format)
4000.A26A.8802

Rgds/

Mike L. Chase, MCSE, CCIE# 7226
http://www.chasenetworks.com
http://ipnetworks.info
Oceanside, California USA
E: mchase@chasenetworks.com



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:57:55 GMT-3