Hunt, I hope you get something good from my post..... having said that...... I'm letting loose.... flames or not......
Okay..... maybe this time I've had a too few many beers..... but COME ON PEOPLE!!! What's the problem with bitswapping?!?!?!? There are 16 possible conversions from binary to hex (assuming the standard 4-bit binary to single digit Hex conversion): 0000 0 0001 1 0010 2 0011 3 0100 4 0101 5 0110 6 0111 7 1000 8 1001 9 1010 A 1011 B 1100 C 1101 D 1110 E 1111 F When you bitswap, follow this process: 1) Swap each hex digit in the byte: 1D now becomes D1. 1D C2 now becomes D1 2C, etc.... 2) Convert each hex digit to binary: D1 now becomes 1101 0001 3) Reverse the binary digits in each hex digit (group of 4 bits): 1101 0001 would become 1011 1000 and convert back to Hex.... Done! So 40 00 37 45 00 01 following the steps above: 1) 04 00 73 54 00 10 2) 0000 0100 0111 0011 0101 0100 0000 0000 0001 0000 3) 0000 0010 1110 1100 1010 0010 0000 0000 1000 0000 Answer: 02ECA20080 If you wanted to have chart to memorize (which is the wuss way out!!), you could even memorize which digits convert to which like: (all numbers in Hex followed by their binary versions in parenthesis) 0 = 0 (0000 = 0000) 1 = 8 (0001 = 1000) 2 = 4 (0010 = 0100) 3 = C (0011 = 1100) 4 = 2 (0100 = 0010) 5 = A (0101 = 1010) 6 = 6 (0110 = 0110) 7 = E (0111 = 1110) 8 = 1 (1000 = 0001) 9 = 9 (1001 = 1001) A = 5 (1010 = 0101) B = D (1011 = 1101) C = 3 (1100 = 0011) D = B (1101 = 1011) E = 7 (1110 = 0111) F = F (1111 = 1111) In this case, you perform step one to get: 04 00 73 54 00 10 Then use these conversions to get: 02 00 EC A2 00 80 (same as above) If you can use this memorization technique, fine...... But I've said it once, and I'll say it again: This is computers people!!! Computers use binary!!! Networks use binary!!! Digital is binary!!!!! If you can't speak binary like a second tongue, then maybe you should rethink your career field!!!! This is NOT ROCKET SCIENCE!!! Again, this could be the beers talking..... and hopefully someone will get something meaningful out of this post (the memorization chart at the very least).... So don't flame me for requesting that people that deal with computers and networking learn binary because binary *is* the language of computers and digital communications and if someone isn't willing to put in the effort to learn it, then they should miss every question on the CCIE or otherwise regarding anything (subnetting, bitswapping, etc) that requires the slightest knowledge of binary!!! Mike W. "Hunt Lee" wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I was just wondering if anybody knows a way to translate Ethernet MAC > (Cananical) to Token MAC (non-Cananical) & vice versa?? > > I know how to do the simple ones: > > e.g. 1078.xsxx.yyyy > > Hex Dec Swap Dec Hex > > 10 = 16 => 0001 0000 => 0000 1000 = 8 = 08 > > Or any other ones like > > Dec Hex > 1 01 > 2 02 > 3 03 > 4 04 > 5 05 > 6 06 > 7 07 > 8 08 > 9 09 > 10 0A > 11 0B > 12 0C > 13 0D > 14 0E > 15 0F > 16 10 > 17 11 > 18 12 > 19 13 > 20 14 > 21 15 > 22 16 > 23 17 > 24 18 > 25 19 > > > But I don't know how to do it if they give me a large one e.g. Hex of 78, or > AC etc?? > > Thanks. > > Best Regards, > Hunt Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=44589&t=44578 -------------------------------------------------- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]