Ethernet Frame 'MAC Destination/Source' to Hexadecimal

gregory

n00b
Joined
Jan 30, 2007
Messages
35
I'm needing to compare what is actually transmitted in the MAC destination or MAC source octets/bytes of an Ethernet frame, against an expected value expressed in hexadecimal. The need for hexadecimal is part of a syntax I must use. My question is to the correctness of the following method.

Example:
Having a MAC address of 8E-82-CB-80-95-12 ...

The actual bits/bytes transmitted would be 01110001 01000001 11010011 00000001 10101001 01001000 ?

Code:
Breakdown:
Hex:    8E           82           CB           80           95           12

Binary: 10001110     10000010     11001011     10000000     10010101     00010010

Actually Transmitted - Least Significant(right-most) Bit First:
        01110001     01000001     11010011     00000001     10101001     01001000

Hex Representation of Actual Transmitted Data: 71 41 D3 01 A9 48

Is this correct?
All help is appreciated.
 
I had never used a packet analyzer before. However, it proved very helpful. Thank you for your suggestion.
 
Back
Top