Ethernet Ⅱ 以太帧
本帖最后由 小乔 于 2017-11-8 13:23 编辑网络协议报文格式大全
http://bbs.hh010.com/thread-531884-1-1.html
(出处: 鸿鹄论坛)
Ethernet Ⅱ 以太帧帧格式图1
Ethernet Ⅱ帧格式
http://www.023wg.com/message/message/image/EtherentII-format.png
字段长度含义
DMAC6字节目的MAC地址,IPV4为6字节,该字段确定帧的接收者。
SMAC6字节源MAC地址,IPV4为6字节,该字段标识发送帧的工作站。
Type2字节协议类型。下表列出了链路直接封装的协议。
Data变长数据字段的最小长度必须为46字节以保证帧长至少为64字节,这意味着传输一字节信息也必须使用46字节的数据字段。如果填入该字段的信息少于46字节,该字段的其余部分也必须进行填充。数据字段的最大长度为1500字节。
CRC4字节用于帧内后续字节差错的循环冗余检验(也称为FCS或帧检验序列)。
表1 各Type值对应的协议
值协议
0x0800Internet Protocol (IP)
0x0801X.75 Internet
0x0805X.25 Level 3
0x0806Address Resolution Protocol (ARP)
0x0808Frame Relay ARP
0x8000IS-IS
0x8035Reverse Address Resolution Protocol (RARP)
0x8137Novell NetWare IPX/SPX (old)
0x8138Novell, Inc.
0x8100IEEE Std 802.1Q - Customer VLAN Tag Type
0x814CSNMP over Ethernet
0x86DDIP Protocol version 6 (IPv6)
0x8808IEEE Std 802.3 - Ethernet Passive Optical Network (EPON)
0x880BPoint-to-Point Protocol (PPP)
0x880CGeneral Switch Management Protocol (GSMP)
0x8847MPLS (multiprotocol label switching) label stack - unicast
0x8848MPLS (multiprotocol label switching) label stack - multicast
0x8863PPP over Ethernet (PPPoE) Discovery Stage
0x8864PPP over Ethernet (PPPoE) Session Stage
0x888EIEEE Std 802.1X - Port-based network access control
0x88A8IEEE Std 802.1Q - Service VLAN tag identifier (S-Tag)
0x88B7IEEE Std 802 - OUI Extended Ethertype
0x88C7IEEE Std 802.11 - Pre-Authentication (802.11i)
0x88CCIEEE Std 802.1AB - Link Layer Discovery Protocol (LLDP)
0x88E5IEEE Std 802.1AE - Media Access Control Security
0x88F5IEEE Std 802.1Q - Multiple VLAN Registration Protocol (MVRP)
0x88F6IEEE Std 802.1Q - Multiple Multicast Registration Protocol (MMRP)
帧示例http://www.023wg.com/message/message/image/EthII_example.png
参考标准
标准描述
IEEE 802.3Carrier sense multiple access with collision detection (CSMA/CD) access method and physical layer specifications
IEEE 802.3aeMedia Access Control (MAC) Parameters, Physical Layers, and Management parameters for 10Gb/s Operation
RFC 894A Standard for the Transmission of IP Datagrams over Ethernet Networks
RFC 1042A Standard for the Transmission of IP Datagrams over IEEE 802 Networks
感謝版主! 哇,神总结呀,非常好 哇,神总结呀,非常好
页:
[1]