From: Earl Aboytes (earl@xxxxxxxxxxxx)
Date: Tue Oct 24 2000 - 21:23:49 GMT-3
Although I feel that everyone should know how to convert from hex to binary to
decimal and then back I am posting a little synopsis of how to do all of them.
To convert from binary to hex you would take each nibble and then convert. In
other words, if you had the number 1101 0011 in binary you would take them in g
roups of four and then convert them to hex.
binary 1101 = 13 decimal
Since we must express 13 in one digit we have a clever trick that we use in Hex
. We use letters instead of numbers. Where A=10, B=11, C=12, D=13, E=14, and
F=15. We do not have a representation for 16 because we do not need one. Just
like decimal is based on 10 and we do not need a single digit to represent the
value of 10.
Again binary 1101 = 13 decimal ==> D hex.
binary 0011 = 3 decimal ==> 3 hex.
More examples
Binary Decimal Hex
1001 9 9
1100 12 C
1111 15 F
For those of you that don't know how to do this, and you know who you are, plea
se learn it. You will need it when you are filtering dlsw bridged from etherne
t.
I know that I am not violating the NDA when I say that DLSW will definitely be
on the lab!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Earl Aboytes CCIE #6097
Senior Systems Engineer
Datatran Network Systems
805-498-2450
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---------- Original Message ----------------------------------
From: Andrew <arousch@home.com>
Reply-To: Andrew <arousch@home.com>
Date: Tue, 24 Oct 2000 10:04:17 -0500
>"JK"
>
>Interesting... I don't remember having HEX on either my CCNA v1, CCNA v2
>tests or on the track to the CCNP - strange.
>
>If you don't have some helpful input then keep your little thoughts tucked
>away in your little mind and let the list educate people.
>
>I was simply stating that EVERYONE on this list does NOT know how to
>convert to HEX (not me persay.) So, FOR THE BENEFIT of the list it would
>be nice if someone POSTED that procedure and elevate the MEAN clue of the
>list - not berate people for simple questions like you have - you jerk.
>
>End of thread.
>
>-A
>
>At 01:53 PM 10/24/00 +0000, J K wrote:
>>Im sorry but didnt we learn how to convert hex and binary back in the ccna
>>days . ? Dont know HEX what company do you work for ?
>>
>>
>>>From: Andrew <arousch@home.com>
>>>Reply-To: Andrew <arousch@home.com>
>>>To: ccielab@groupstudy.com
>>>Subject: Re: Cannonical and non-cannonical MAC
>>>Date: Tue, 24 Oct 2000 07:59:00 -0500
>>>
>>>you're assuming that everyone on the list knows how to convert to HEX ;)
>>>
>>>At 04:22 PM 10/23/00 -0700, Earl Aboytes wrote:
>>>>Canonical =Ethernet format NonCanonical=TokenRing and DLSW format.
>>>>1. Take each byte and translate to binary.
>>>>2. Then take each nibble and reverse the order and translate to hex.
>>>>3. Flip each nibble.
>>>>Here is an example
>>>>00-d0-97-85-88-00 hex Canonical
>>>>0000 0000-1101 0000-1001 0111-1000 0101-1000 1000-0000 0000 binary
>>>>0000 0000-1011 0000-1001 1110-0001 1010-0001 0001-0000 0000 reverse order a
t
>>>>each nibble
>>>>00-b0-9e-1a-11-00 convert to hex
>>>>00-0b-e9-a1-11-00 flip each nibble
>>>>00-0b-e9-a1-11-00 Non-canonical format
>>>>
>>>>
>>>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>Earl Aboytes CCIE #6097
>>>>Senior Systems Engineer
>>>>Datatran Network Services
>>>>805-498-2450
>>>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>
>>>>
>>>>---------- Original Message ----------------------------------
>>>>From: "Tony Olzak" <aolzak@buckeye-express.com>
>>>>Date: Mon, 23 Oct 2000 19:01:33 -0400
>>>>
>>>> >How do you convert from one to the other? All I have is a chart, but
>>>>that does me no good in the lab.
>>>> >
>>>> >
>>>> >Tony
>>>> >
>>>> >
>>>> >
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:25:29 GMT-3