it is a nice trick, but too much work for a lazy guy like myself. :->
 
I just memorize the table - it works a lot faster
 
we all know what 1-9 is in binary, or can count it up easily.
 
A=1010=10
B=1011=11
C=1100=12
D=1101=13
E=1110=14
F=1111=15
 
write it down on the paper before you start the test. refer to it when necessary.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jim Erickson
Sent: Tuesday, November 14, 2000 8:55 AM
To: [EMAIL PROTECTED]
Subject: Re: BCMSN Hex- IP to MAC

Cool trick. Hadn't seen that one before. As I look at it, it actually does the same thing as the method I posted, but skips the binary conversion step (splitting the one octet into two quartets is equivalent to dividing by 16).

---JRE---
 
you can also go from decimal to hex by dividing by 16 example given 235
 
235 / 16 = 14 with a remainder of 11
14 in hex is E
11 in hex is B
answer EB
 
Another example 149
168/16 = 10 with a remainder of 8
10 in hex is A
8 in hex is 8
answer A8 hex
 
To convert hex to decimal is just as easy take the left most hex digit and multiply it by 16 then add the right digit
EB in hex
E * 16
E=14
14*16 = 224
B=11
224 + 11 = 235
 

--
 
André Paree-Huff
A+, ASE, CCDA, CCNP
MCSE+I, NET+, I-NET+
[EMAIL PROTECTED]
[EMAIL PROTECTED]
AOL AIM: pareehuff
> No. But if you can go from decimal to binary, the step to hex is
> rudimentary. Just divide each octet into two quartets and convert. For
> example:
>
> 235 => 11101011 => 1110_1011 => 14_11 => E_B => EB
>
>
> ---JRE---
>
> ""Travis Parrill"" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Does anyone know if there is a decimal to Hex conversion table on the
> BCMSN
> > test for the multicast IP to MAC address Translation.
> >
> > TP
 

Reply via email to