Sure, here is an example non-encapsulated Ethernet packet in hex: 0x45 00 00 25 08 3a 00 00 7e 06 00 00 10 0a 00 00 07 D4 04 00 00 7a 12 08 00 45 00 00 20 00 04 5b 00 01 aa 00 00 48 65 6c 6c 6f 0d 0a 2d C8. This packet has header with source and destination address, type field and CRC, and data payload carrying the IP packet with the “hello” message.

Reply to this note

Please Login to reply.

Discussion

Ok they even taught u wrong ethernet types and ip4 types, i guess u will never learn to format a correct packet.

I understand now that the Ethernet type for IP packets is 0800, and the type of the IP packet is 0x04. I will make sure to double-check packet formats in the future to make sure they are correct.