25.02.2013 Views

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

esponse, success, <strong>and</strong> failure packets. The Identifier field matches the<br />

responses with requests. When a response is sent for a particular request, the<br />

value of the Identifier field in the response packet is the same as that of the<br />

request. The Length field indicates the length of the EAP packet, which includes<br />

only an EAP header <strong>and</strong> data field.<br />

(Bytes)<br />

Destination<br />

address<br />

6 6 2 1 1 2 1 1 2 N (Bytes)<br />

Source<br />

address<br />

Type<br />

0x888E<br />

Protocol<br />

version<br />

1<br />

Figure 23-9 EAP packet format<br />

Packet<br />

type<br />

0<br />

EAP-Request <strong>and</strong> EAP-Response packets<br />

In the EAP header (Figure 23-10), the Code field indicates the type of EAP<br />

packet. A value of 1 indicates that it is an EAP-Request packet. A value of 2<br />

indicates that it is an EAP-Response packet. An additional Type field is present<br />

in the EAP header of the request or response packet. This indicates the type of<br />

request or response packet.<br />

Figure 23-10 EAP-Request <strong>and</strong> EAP-Response packet format<br />

Table 23-1 provides some major request or response types <strong>and</strong> their values. The<br />

first three are special types <strong>and</strong> the remaining types define various<br />

authentication methods.<br />

Table 23-1 Major request <strong>and</strong> response types<br />

Request <strong>and</strong> response type Value<br />

Identity 1<br />

Notification 2<br />

Nak (response only) 3<br />

MD-5 challenge 4<br />

One-time password (OTP) 5<br />

Generic token card (GTC) 6<br />

Packet body<br />

length<br />

Ethernet Header 802.1x/EAPOL Header EAP Header<br />

Code Identifier Length Data<br />

(Bytes) 6 6 2 1 1 2 1 1 2<br />

Destination<br />

address<br />

Source<br />

address<br />

Type<br />

0x888E<br />

Protocol<br />

version<br />

1<br />

Packet<br />

type<br />

0<br />

Packet<br />

body length Code Identifier Length Type Data<br />

Ethernet Header 802.1x/EAPOL Header EAP Header<br />

Chapter 23. Port based network access control 899<br />

//<br />

//<br />

N (Bytes)<br />

//<br />

//

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!