TCP/Socket learning --- Ethernet (RFC 894) frame format

Source: Internet
Author: User

TCP/Socket learning --- Ethernet (RFC 894) frame format where the source address and destination address are the hardware address (also called MAC address) of the network card, and the length is 48 bits, it is fixed at the factory of the NIC. Run the ifconfig command to check that the "HWaddr 00: 15: F2: 14: 9E: 3F" part is the hardware address. The protocol field has three values, corresponding to IP, ARP, and RARP respectively. The end of the frame is a CRC check code. The Data Length in an Ethernet frame is defined as a minimum of 46 bytes, a maximum of 1500 bytes, and a minimum of 46 bytes for ARP and RARP packets. Fill in the following bits. The maximum value of 1500 is the maximum transmission unit (MTU) over Ethernet. Different network types have different MTU. If a data packet is routed from the Ethernet to the dial-up link, if the packet length is greater than the MTU of the dialing link, fragmentation is required for the packet ). The output of the ifconfig command also contains "MTU: 1500 ". Note that the MTU concept refers to the maximum length of the payload in a data frame, excluding the length of the frame header.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.