Let me try a quick stab at it:

Let's say you have the following token ring mac address:

0110.1234.5678

Convert the address to binary:

 0         1       1       0        1       2        3        4        5
6        7        8
0000 0001 0001 0000 0001 0010 0011 0100 0101 0110 0111 1000

Swap the bytes - 0000 0001 now equals 0001 0000 etc....

 1        0        0        1       2       1        4        3        6
5        8       7
0001 0000 0000 0001 0010 0001 0100 0011 0110 0101 1000 0111

You should now see that the positions have been swapped; 0 and 1, 1 and 0
etc?

Now  swap the bits: e.g. 0001 is reversed to equal 1000

 8       0        0        8        4        8       2       C        6
A       1        E
1000 0000 0000 1000 0100 1000 0010 1100 0110 1010 0001 1110

So now you should see that 0110.1234.5678 (non-canonical) is equal to
8008.482C.6A1E (canonical).

Remember that a mac address is 48 bits long or 6 bytes.  Take each byte
separately and convert to binary.  Swap the byte position(s) and reverse the
bits
in each byte.

Hope this helps..dj

"Mike Neal" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Can anyone help me with Bit swapping from Token to Ethernet.
> I can't seem to grasp how it is done.
>
> Thanks,
> Mike
>


_________________________________
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to