Eap packet format – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 385

Advertising
background image

35-4

Figure 35-3 EAPOL frame format

PAE Ethernet type: Protocol type. It takes the value 0x888E.

Protocol version: Version of the EAPOL protocol supported by the sender.

Type: Type of the EAPOL frame.

Table 35-1

lists the types that the device currently supports.

Table 35-1 Types of EAPOL frames

Type

Description

EAP-Packet (a value of 0x00)

Packet for carrying authentication information, present between the device
and the authentication server.

A packet of this type is repackaged and transferred by RADIUS on the
device to get through complex networks to reach the authentication server.

EAPOL-Start (a value of 0x01)

Packet for initiating authentication, present between a client and the device.

EAPOL-Logoff (a value of 0x02)

Packet for the logoff request, present between a client and the device.

Length: Length of the data, that is, length of the Packet body field, in bytes. If the value of this field is 0,

no subsequent data field is present.

Packet body: Content of the packet. The format of this field depends on the value of the Type field.

EAP packet format

An EAP-Packet-type EAPOL frame carries an EAP packet in its Packet body field. The format of the

EAP packet is shown in

Figure 35-4

.

Figure 35-4 EAP packet format

Code: Type of the EAP packet, which can be Request, Response, Success, or Failure.

An EAP success/failure packet has no Data field, and has a length of 4.

An EAP Request/Response packet has a Data field in the format shown in

Figure 35-5

. The Type

field indicates the EAP authentication type. A value of 1 represents Identity, indicating that the

packet is for querying the identity of the client. A value of 4 represents MD5-Challenge, which are

similar to the PPP CHAP protocol.

Advertising