PPP ( )
PPP (. Point-to-Point Protocol) (Data Link) OSI. , , ( ECP, RFC 1968) . : - , , . .
PPP , Point-to-Point Protocol over Ethernet (PPPoE), Ethernet, DSL; Point-to-Point Protocol over ATM (PPPoA), ATM Adaptation Layer 5 (AAL5), PPPoE DSL.
PPP : (LCP), (NCP), (PAP, CHAP), PPP (MLPPP).
|
|
[]
PPP HDLC , .
[]
Link Control Protocol (LCP) (, ) . LCP PPP, PPP LCP.
RFC 1994 Challenge-handshake authentication protocol (CHAP)), . , Password authentication protocol (PAP) .
PPP Extensible Authentication Protocol (EAP).[1]
, , . , Internet Protocol Control Protocol (IPCP), Internetwork Packet Exchange Control Protocol (IPXCP) AppleTalk Control Protocol (ATCP) - . Internet Protocol Version 6 Control Protocol (IPv6CP) , IPv6 IPv4 .
[]
PPP . , PPP- (IP, Novell IPX . .), . Network Control Protocol (NCP) ( ).
[]
PPP , , magic numbers. PPP LCP , . , LCP .
[]
- Link Control Protocol , . -, - .
- Network Control Protocol , , .
[] PPP
PPP LCP , LCP :
- . RFC 1994 Challenge Handshake Authentication Protocol (CHAP), PPP, Password Authentication Protocol (PAP) . Extensible Authentication Protocol (EAP).
- . PPP , . PPP Stacker Predictor.
- . Quality-Protocol Magic Numbers RFC 1661.
- . Multilink PPP (MLPPP, MPPP, MLP) , . .
[] PPP
PPP 0x7E. , 0xFF 0x03 . , «» .
| 0x7E | 0xFF | 0x03 | 0x7E | ||
|---|---|---|---|---|---|
| 1 | 1 | 1 | 1494 | 2 | 1 |
«», «» «» ( HDLC) , PPP ( LCP), . PPP L2TP-, «» .
[] PPP
«», PPP , : ( ), .
| 0x | |
|---|---|
| 1 2 | 0 |
- 0x0XXX 0x3XXX . , IP 0x0021, Novell IPX 002B.
- 0x4XXX 0x7XXX .
- 0x8XXX 0xBXXX (NCP).
- 0xCXXX 0xEXXX . , 0xC021 , LCP.
[] PPP
PPP RFC 1661 :
- Link Dead. , , (, .)
- Link Establishment Phase. Link Control. , , Network-Layer Protocol, , .
- Authentication Phase. . . , Network-Layer Protocol.
- Network-Layer Protocol Phase. NCP . , IPCP IP . . .
- Link Termination Phase. . , , , , . , .
[] RFC
PPP RFC 1661 (The Point-to-Point Protocol, 1994). RFC, , , TCP/IP, DECnet, AppleTalk, IPX , PPP.
- RFC 1661, Standard 51, - (PPP)
- RFC 1662, Standard 51, HDLC PPP
- RFC 1994, PPP (CHAP)
- RFC 5072, IPv6 PPP
[]
[] .
| TCP/IP OSI ( TCP UDP) | |
|---|---|
| UART | |||||||
|---|---|---|---|---|---|---|---|
|
|||||||
|
|||||||
| IrDA | |||||||
| 8250 UART 16550 UART | |||||||
| . , . |