SGS-6341-Series User Manual

Table Of Contents
Figure 51-1: PPPoE IA protocol exchange process
51.1.2.2 PPPoE Packet Format
PPPoE packet format is as follows:
Ethernet II frame
Destination MAC Source MAC Type Field PPPoE Data CRC Check Sum
PPPoE data
Version Type Code Session ID Length Field TLV1 …… TLV N
TLV frame
Type Length Data
The meaning of each field is as follows:
Type field (2 bytes) of Ethernet II frame: The protocol sets type field value of PPPoE protocol
packet as 0x8863 (including 5 kinds of packets in PPPoE discovery stage only), type field
value of session stage as 0x8864.
PPPoE version field (4 bits): Specify the current PPPoE protocol version; the current version
must be set as 0x1.
PPPoE type field (4 bits): Specify the protocol type; the current version must be set as 0x1.
PPPoE code field (1 byte): Specify the packet type; 0x09 means PADI packet, 0x07 means
PADO packet, 0x19 means PADR packet, 0x65 means PADS packet and 0xa7 means PADT
packet.
PPPoE session ID field (2 bytes): Specify the session ID.
PPPoE length field (2 bytes): Specify the sum of all TLV lengths.
TLV type field (2 bytes): A TLV frame means a TAG and type field means TAG type.
The table is as follows:
51-131
User’s Manual of SGS-6341 series