The bits in Ethernet are transferred in LSB first fashion, but IPv4 datagram is to be transmitted in big endian byte order.
e.g. assume an ethernet frame with destination address as 12-34-56-78-9A-BC carrying an IP datagram in the data field. As I understand following will be the order in which the bits will be transmitted:
preamble-SFD-destination addr----(rest of ethernet header)----(ethernet data)
preamble-SFD-destination addr----(rest of ethernet header)----version----header length----(rest of IP datagram)
preamble-SFD-12-34-56-78-9A-BC----(rest of ethernet header)----4----15----(rest of IP datagram)
Question 1:Which of the following transmissions is correct?
transmission of ethernet frame on the wire with LSB in each byte first
preamble-SFD-01001000 00101100 01101010 00011110 01011001 00111101----(rest of ethernet header)---- 11110010----(rest of IP datagram)
transmission of ethernet frame on the wire with LSB in each byte first but IP header is transfered as MSB in each byte first
preamble-SFD-01001000 00101100 01101010 00011110 01011001 00111101----(rest of ethernet header)---- 01001111----(rest of IP datagram)
Question 2: Since the ethernet frame is transmitted with LSB in each byte first, will the bits in the data part also(the IPv4 datagram) be transfered as LSB in each byte first?
If yes, why do we say that IPv4 datagram is transfered in big endian byte order