Справочник по сетевым протоколам


RFC1661 - часть 24


packet. When a packet is received with an unknown Code field, a

Code-Reject packet is transmitted.

Up-to-date values of the LCP Code field are specified in the most

recent "Assigned Numbers" RFC [2]. This document concerns the

following values:

1 Configure-Request

2 Configure-Ack

3 Configure-Nak

4 Configure-Reject

5 Terminate-Request

6 Terminate-Ack

7 Code-Reject

8 Protocol-Reject

9 Echo-Request

10 Echo-Reply

11 Discard-Request

Identifier

The Identifier field is one octet, and aids in matching requests

and replies. When a packet is received with an invalid Identifier

field, the packet is silently discarded without affecting the

automaton.

Length

The Length field is two octets, and indicates the length of the

LCP packet, including the Code, Identifier, Length and Data

fields. The Length MUST NOT exceed the MRU of the link.

Octets outside the range of the Length field are treated as

padding and are ignored on reception. When a packet is received

with an invalid Length field, the packet is silently discarded

without affecting the automaton.

Data

The Data field is zero or more octets, as indicated by the Length

field. The format of the Data field is determined by the Code

field.

Simpson [Page 27]

RFC 1661 Point-to-Point Protocol July 1994

5.1. Configure-Request

Description

An implementation wishing to open a connection MUST transmit a

Configure-Request. The Options field is filled with any desired

changes to the link defaults. Configuration Options SHOULD NOT be

included with default values.

Upon reception of a Configure-Request, an appropriate reply MUST

be transmitted.

A summary of the Configure-Request packet format is shown below. The

fields are transmitted from left to right.

0 1 2 3

0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

| Code | Identifier | Length |

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+




- Начало -  - Назад -  - Вперед -