EtherType 是以太幀裏的一個字段,用來指明應用於幀數據字段的協議。根據IEEE802.3,Length/EtherType字段是兩個八字節的字段,含義兩者取一,這取決於其數值。在量化評估中,字段中的第一個八位字節是最重要的。而當字段值大於等於十進制值1536 (即十六進制爲 0600)時, EtherType 字段表示爲 MAC 客戶機協議(EtherType解釋)的種類。該字段的長度和 EtherType 是互斥的。
該類字段值取自 IEEE EtherType 字段寄存器。EtherType字段是個極限空間,因此其分配是有限的。只有開發新的數據傳輸協議的人員需要使用 EtherType字段,而不管他們實際上是否真正生產任何設備。IEEE RAC EtherType 字段批准權威機構負責檢查和批准 EtherType字段。
知名協議已經分配了 EtherType 值,下面表格中列出了 EtherType 字段中常用值及其對應的協議:
EtherType | Code | 協議 |
---|---|---|
0x0000 - 0x05DC | 0000 | IEEE 802.3 長度 |
0x0101 - 0x01FF | 0257 | 實驗 |
0x0600 | 1536 | XEROX NS IDP |
0x0660 - 0x0661 | DLOG | |
0x0800 | 2048 | 網際協議(IP) |
0x0801 | 2049 | X.75 Internet |
0x0802 | 2050 | NBS Internet |
0x0803 | 2051 | ECMA Internet |
0x0804 | 2052 | Chaosnet |
0x0805 | 2053 | X.25 Level 3 |
0x0806 | 2054 | 地址解析協議(ARP : Address Resolution Protocol) |
0x0808 | 2056 | 幀中繼 ARP (Frame Relay ARP) [RFC1701] |
0x6559 | 25945 | 原始幀中繼(Raw Frame Relay) [RFC1701] |
0x8035 | 32821 | 動態 DARP (DRARP:Dynamic RARP) 反向地址解析協議(RARP:Reverse Address Resolution Protocol) |
0x8037 | Novell Netware IPX | |
0x809B | 32923 | EtherTalk |
0x80D5 | 32981 | IBM SNA Services over Ethernet |
0x80F3 | 33011 | AppleTalk 地址解析協議 (AARP:AppleTalk Address Resolution Protocol) |
0x8100 | 以太網自動保護開關 (EAPS:Ethernet Automatic Protection Switching) |
|
0x8137 | 33079 | 因特網包交換(IPX:Internet Packet Exchange) |
0x814C | 33100 | 簡單網絡管理協議 (SNMP:Simple Network Management Protocol) |
0x86DD | 網際協議v6 (IPv6,Internet Protocol version 6) | |
0x880B | 點對點協議(PPP:Point-to-Point Protocol) | |
0x880C | 通用交換管理協議(GSMP:General Switch Management Protocol) | |
0x8847 | 多協議標籤交換(單播) MPLS:Multi-Protocol Label Switching ) | |
0x8848 | 多協議標籤交換(組播)(MPLS, Multi-Protocol Label Switching ) | |
0x8863 | 以太網上的 PPP(發現階段)(PPPoE:PPP Over Ethernet ) | |
0x8864 | 以太網上的 PPP(PPP 會話階段) (PPPoE,PPP Over Ethernet) | |
0x88BB | 輕量級訪問點協議(LWAPP:Light Weight Access Point Protocol) | |
0x88CC | 鏈接層發現協議(LLDP:Link Layer Discovery Protocol) | |
0x8E88 | 局域網上的 EAP(EAPOL:EAP over LAN) | |
0x9000 | 36864 | 配置測試協議(Loopback) |
0x9100 | VLAN 標籤協議標識符(VLAN Tag Protocol Identifier) | |
0x9200 | VLAN 標籤協議標識符(VLAN Tag Protocol Identifier) | |
0xFFFF | 65535 | 保留 |