Ethernet LAN byte order of ethernet destination address

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
byte order of ethernet destination address pranavtailor 07-26-06
Posted by on July 26, 2006, 11:31 pm
Please log in for more thread options


Hi people,
A simple and may be silly query for you. Can you tell me which byte
of the ethernet destination address follows the start frame
delimeter(SFD) on the gmii data bus....is it the byte 0(bits 7:0) or
byte 6 (bits 47:39)? I think its byte 0 but want to make sure so please
let me know.
Thanks


Posted by glen herrmannsfeldt on July 27, 2006, 12:09 am
Please log in for more thread options


pranavtailor@gmail.com wrote:

> A simple and may be silly query for you. Can you tell me which byte
> of the ethernet destination address follows the start frame
> delimeter(SFD) on the gmii data bus....is it the byte 0(bits 7:0) or
> byte 6 (bits 47:39)? I think its byte 0 but want to make sure so please
> let me know.

The one on the left when you write the number on paper.

Most likely the one at a lower address when stored in memory, as it will
be the lower address in the output buffer.

Some people, and some machine architects, number bytes in a word with 0
on the left, some with 0 on the right. Some are little endian, some big
endian.

-- glen


Posted by on July 27, 2006, 9:30 am
Please log in for more thread options


Hi Glen thanks for the reply. So do you mean that the dest addr
written as 48'hA2B012344567 on the paper will have the byte A2 showing
up first followed BO, 12 and so on on the gmii data bus?

glen herrmannsfeldt wrote:
> pranavtailor@gmail.com wrote:
>
> > A simple and may be silly query for you. Can you tell me which byte
> > of the ethernet destination address follows the start frame
> > delimeter(SFD) on the gmii data bus....is it the byte 0(bits 7:0) or
> > byte 6 (bits 47:39)? I think its byte 0 but want to make sure so please
> > let me know.
>
> The one on the left when you write the number on paper.
>
> Most likely the one at a lower address when stored in memory, as it will
> be the lower address in the output buffer.
>
> Some people, and some machine architects, number bytes in a word with 0
> on the left, some with 0 on the right. Some are little endian, some big
> endian.
>
> -- glen


Posted by Walter Roberson on July 27, 2006, 9:57 am
Please log in for more thread options


>Hi Glen thanks for the reply. So do you mean that the dest addr
>written as 48'hA2B012344567 on the paper will have the byte A2 showing
>up first followed BO, 12 and so on on the gmii data bus?

The standards only talk about the transmission order once the
data gets on to the transmission media.

If for some reason you built your transmitter to buffer an octet
at a time and transmit the octet in reverse order, then for consistancy
the GMII data would have to be reversed as well.

There are standards about GBICs and SFP's, so you wouldn't pull a trick
like that if you were planning to use a -standard- GBIC or SFP,
but it wouldn't be the first time that a manufacturer customized a
transmission device to lock people in to their parts.

Posted by glen herrmannsfeldt on July 28, 2006, 5:39 am
Please log in for more thread options


Walter Roberson wrote:


>>Hi Glen thanks for the reply. So do you mean that the dest addr
>>written as 48'hA2B012344567 on the paper will have the byte A2 showing
>>up first followed BO, 12 and so on on the gmii data bus?

> The standards only talk about the transmission order once the
> data gets on to the transmission media.

The MII for fast ethernet is part of the standard, and I thought
GMII was also, though it rarely exists outside of the chips.

In any case, that would be the expected ordering.

-- glen


Similar ThreadsPosted
byte order of ethernet destination address July 26, 2006, 11:31 pm
MAC destination address July 19, 2007, 12:06 am
Knowledge of destination MAC address July 18, 2007, 7:54 am
Why should the SPD be located at even byte in preamble? November 22, 2005, 3:59 pm
A GbE device not able to forward full-rate odd-byte frames November 2, 2005, 6:47 pm
need for redundancy: ethernet-address twice in one LAN January 11, 2005, 5:27 pm
Mapping class D to Ethernet physical address June 11, 2008, 4:08 am
MAC address of an IPv6 address April 10, 2007, 4:42 pm
Mac address recovery December 17, 2004, 9:07 am
Change MAC address January 25, 2005, 8:53 am
Valid mac address February 7, 2006, 8:21 pm
Change MAC address June 20, 2007, 7:19 am
Change IP and MAC address December 10, 2007, 4:59 am
Mac address and VLAns June 17, 2008, 1:27 am
"illegal" or reserved MAC address ? August 22, 2004, 10:03 pm