From: david (barbedwireblack@xxxxxxxxx)
Date: Mon Apr 08 2002 - 13:31:53 GMT-3
thx.
but what i was wanting to find out is when you
need to perform hex-conversion.
i think it has something to do with SR/TLB
but not sure exactly.
--- "Chua, Parry" <Parry.Chua@compaq.com> wrote:
> Any other combination need conversion, let said you
> see the following address
> and you need to do CAN to NON-CAN conversion :
>
> 00-19-C3-58-5A-34
>
> 00,C3,5A no covcersion is require.
>
> 19,58,34 need conversion, there are several way to
> do this, I know two of it:
>
> 1.1 write it down in 8 bit binary value from left to
> right for each byte.
> 19 => 0001 1001.
> 1.2 write the result value from right to left.
> 1001 1000 => 98
>
> 2.1 Write the mirror value of each hex digit(19,
> 1->8, 9->9 =>89)
> 2.2 write teh result from rigt to left for each
> byte. (89 => 98)
>
> So the 00-19-C3-58-5A-34
> =====> 00-98-C3-1A-5A-2C
>
> Parry Chua
>
> -----Original Message-----
> From: david [mailto:barbedwireblack@yahoo.com]
> Sent: Friday, April 05, 2002 11:33 PM
> To: ccielab@groupstudy.com
> Subject: RE: hex conversion
>
>
> in what situations do u need to do this conversion?
>
> --- David Huskey <dhuskey@bpop.com> wrote:
> >
> >
> > >>> "Chua, Parry" <Parry.Chua@compaq.com> 04/05/02
> > 12:04AM >>>
> > 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 them 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:59 GMT-3