Converting between canonical and noncanonical format - DocCD

From: none (alsontra@hotmail.com)
Date: Sun Nov 21 2004 - 01:36:58 GMT-3


Although I highly suggest committing the procedure to memory, here is a
doc-cd link giving an example and the procedure for converting canonical to
non-canonical.

Internetworking Technology Handbook ->Mixed Media Bridging -> Q and A at the
bottom of the page, second question.

<snip>

Q-One of the challenges of translational bridging is the reordering of bits
whenever a frame moves from an Ethernet to a Token Ring segment. If an
Ethernet station targets a Token Ring station with a destination MAC address
of 00-00-0C-11-22-33 (canonical format), what would the MAC address look
like on Token Ring (noncanonical format)?

A-To convert the address between canonical and noncanonical format, invert
each byte of the address. For example, the third octet (0x0C) looks in
binary like 00001100. Reversing the bit order produces 00110000. This
translates to a hex value of 0x30. Doing this for each byte of the address
produces a noncanonical address of 00-00-30-88-44-CC.
 
</snip>

Another good link, while not on the Doc-cd, Bitswapping Tool

http://www.cisco.com/cgi-bin/Support/Bitswap/bitswap.pl

ping GS .....

HTH
Alsontra



This archive was generated by hypermail 2.1.4 : Thu Dec 02 2004 - 06:57:48 GMT-3