IPv4(0x0800) 为例 已知的二层协议定义如下: Ethertype (decimal) Ethertype (hex) Exp. Ethernet (decimal) Exp. Ethernet (octal) Description Reference 0000-1500 0000-05DC - - IEEE802.3 Length Field [IEEE Std 802.3] 0257-0511 0101-01FF - - Old Xerox Experimental values. Invalid as an Ethertype since 1983. [Neil_Sembower] 512 200 512 1000 Formerly XEROX PUP. Invalid as an Ethertype since 1983. Use 0x0A00. [Boggs, D., J. Shoch, E. Taft, and R. Metcalfe, “PUP: An Internetwork Architecture”, XEROX Palo Alto Research Center, CSL-79-10, July 1979; also in IEEE Transactions on Communication, Volume COM-28, Number 4, April 1980.][Neil_Sembower] 513 201 - - Formerly PUP Addr Trans. Invalid as an Ethertype since 1983. Use 0x0A01. [Neil_Sembower] 1024 400 - - Old Nixdorf private protocol. Invalid as an Ethertype since 1983. [Neil_Sembower] 1536 600 1536 3000 XEROX NS IDP [“The Ethernet, A Local Area Network: Data Link Layer and Physical Layer Specification”, AA-K759B-TK, Digital Equipment Corporation, Maynard, MA. Also as: “The Ethernet - A Local Area Network”, Version 1.0, Digital Equipment Corporation, Intel Corporation, Xerox Corporation, September 1980. And: “The Ethernet, A Local Area Network: Data Link Layer and Physical Layer Specifications”, Digital, Intel and Xerox, November 1982. And: XEROX, “The Ethernet, A Local Area Network: Data Link Layer and Physical Layer Specification”, X3T51/80-50, Xerox Corporation, Stamford, CT., October 1980.][Neil_Sembower] 1632 660 - - DLOG [Neil_Sembower] 1633 661 - - DLOG [Neil_Sembower] 2048 800 513 1001 Internet Protocol version 4 (IPv4) [RFC-ietf-intarea-rfc7042bis-11] 2049 801 - - X.75 Internet [Neil_Sembower] 2050 802 - - NBS Internet [Neil_Sembower] 2051 803 - - ECMA Internet [Neil_Sembower] 2052 804 - - Chaosnet [Neil_Sembower] 2053 805 - - X.25 Level 3 [Neil_Sembower] 2054 806 - - Address Resolution Protocol (ARP)