Play Video
1
Introduction to PPP(Point-to-Point Protocol)
Introduction to PPP(Point-to-Point Protocol)
::2012/07/10::
Play Video
2
MicroNugget: Point-to-Point Protocol Simulation
MicroNugget: Point-to-Point Protocol Simulation
::2013/12/03::
Play Video
3
Point to Point Protocol PPP)
Point to Point Protocol PPP)
::2013/06/30::
Play Video
4
34 :: CCNA R&S Exam Course :: Point-to-Point Protocol (PPP)
34 :: CCNA R&S Exam Course :: Point-to-Point Protocol (PPP)
::2012/04/07::
Play Video
5
Point to Point Protocol PPP Lab 1 remastered
Point to Point Protocol PPP Lab 1 remastered
::2011/11/27::
Play Video
6
Point to Point Protocol PPP Tutorial
Point to Point Protocol PPP Tutorial
::2012/12/24::
Play Video
7
PPP - Point to Point Protocol
PPP - Point to Point Protocol
::2013/08/20::
Play Video
8
CCNA Routing & Switching :: Point-to-Point Protocol
CCNA Routing & Switching :: Point-to-Point Protocol
::2014/07/23::
Play Video
9
01-Point to Point Protocol(PPP) (introduction) By Ahmed Abdelfatah
01-Point to Point Protocol(PPP) (introduction) By Ahmed Abdelfatah
::2014/01/13::
Play Video
10
1 4   Point to Point Protocol PPP
1 4 Point to Point Protocol PPP
::2014/07/12::
Play Video
11
02-Point to Point Protocol(PPP) (PAP) By Ahmed Abdelfatah
02-Point to Point Protocol(PPP) (PAP) By Ahmed Abdelfatah
::2014/01/13::
Play Video
12
WAN Protocol :: PPP Point to Point Protocol tutorial rfc 1661, wireshak PPP analysis
WAN Protocol :: PPP Point to Point Protocol tutorial rfc 1661, wireshak PPP analysis
::2013/12/29::
Play Video
13
05-Point to Point Protocol(PPP) (EAP Extensible Authentication Protocol) By Ahmed Abdelfatah
05-Point to Point Protocol(PPP) (EAP Extensible Authentication Protocol) By Ahmed Abdelfatah
::2014/01/13::
Play Video
14
04-Point to Point Protocol(PPP) (MSCHAP & MPPE Encryption) By Ahmed Abdelfatah
04-Point to Point Protocol(PPP) (MSCHAP & MPPE Encryption) By Ahmed Abdelfatah
::2014/01/13::
Play Video
15
PPP - Point-To-Point Protocol PAP Authentication
PPP - Point-To-Point Protocol PAP Authentication
::2014/03/18::
Play Video
16
699   69  Point to Point Protocol   03  HDLC
699 69 Point to Point Protocol 03 HDLC
::2011/06/23::
Play Video
17
03-Point to Point Protocol(PPP) (CHAP) By Ahmed Abdelfatah
03-Point to Point Protocol(PPP) (CHAP) By Ahmed Abdelfatah
::2014/01/13::
Play Video
18
S4 M8 : Point to Point Protocol ( PPP )
S4 M8 : Point to Point Protocol ( PPP )
::2011/09/23::
Play Video
19
CCNA Exploration 4 - Capitol 2 PPP (Point-To-Point Protocol)
CCNA Exploration 4 - Capitol 2 PPP (Point-To-Point Protocol)
::2013/12/07::
Play Video
20
701   69  Point to Point Protocol   05  PPP Authentication
701 69 Point to Point Protocol 05 PPP Authentication
::2011/06/23::
Play Video
21
702   69  Point to Point Protocol   06  PPP Authentication
702 69 Point to Point Protocol 06 PPP Authentication
::2011/06/23::
Play Video
22
CCNA4 - Clase 2: PPP (Point to Point Protocol)
CCNA4 - Clase 2: PPP (Point to Point Protocol)
::2013/08/26::
Play Video
23
PPPoE - Point to Point Protocol over Ethernet
PPPoE - Point to Point Protocol over Ethernet
::2013/08/20::
Play Video
24
704   69  Point to Point Protocol   08  Configuring Basic PPP
704 69 Point to Point Protocol 08 Configuring Basic PPP
::2011/06/23::
Play Video
25
Point-to-Point Protocol
Point-to-Point Protocol
::2014/08/14::
Play Video
26
705   69  Point to Point Protocol   09  Configuring and Verifying CHAP
705 69 Point to Point Protocol 09 Configuring and Verifying CHAP
::2011/06/23::
Play Video
27
Point to Point Protocol PPP Lab 3
Point to Point Protocol PPP Lab 3
::2011/11/30::
Play Video
28
700   69  Point to Point Protocol   04  PPP
700 69 Point to Point Protocol 04 PPP
::2011/06/23::
Play Video
29
point to point protocol by Henrrych part1
point to point protocol by Henrrych part1
::2011/10/17::
Play Video
30
703   69  Point to Point Protocol   07  Configuring Basic PPP
703 69 Point to Point Protocol 07 Configuring Basic PPP
::2011/06/23::
Play Video
31
Point to Point Protocol PPP Lab 1 Trailer
Point to Point Protocol PPP Lab 1 Trailer
::2009/10/05::
Play Video
32
706   69  Point to Point Protocol   10  Configuring PAP
706 69 Point to Point Protocol 10 Configuring PAP
::2011/06/23::
Play Video
33
698   69  Point to Point Protocol   02  HDLC
698 69 Point to Point Protocol 02 HDLC
::2011/06/23::
Play Video
34
Point-to-Point Protocol PPP Lab 2 PPP Multilink
Point-to-Point Protocol PPP Lab 2 PPP Multilink
::2010/09/16::
Play Video
35
CCNA4 - PPP (Point to Point Protocol)
CCNA4 - PPP (Point to Point Protocol)
::2013/11/19::
Play Video
36
707   69  Point to Point Protocol   11  Configuring PAP
707 69 Point to Point Protocol 11 Configuring PAP
::2011/06/23::
Play Video
37
697   69  Point to Point Protocol   01  HDLC
697 69 Point to Point Protocol 01 HDLC
::2011/06/23::
Play Video
38
point to point protocol by Henrrych part2
point to point protocol by Henrrych part2
::2011/10/17::
Play Video
39
Point-to-Point Tunneling Protocol (Mikrotik & Windows)
Point-to-Point Tunneling Protocol (Mikrotik & Windows)
::2011/11/20::
Play Video
40
شرح عمل configuration لبروتوكول ppp or protocol point to point
شرح عمل configuration لبروتوكول ppp or protocol point to point
::2013/03/06::
Play Video
41
La configuration du protocol frame-relay point-to-point
La configuration du protocol frame-relay point-to-point
::2013/04/20::
Play Video
42
05 Point to Point ProtocolPPP EAP Extensible Authentication Protocol By Ahmed Abdelfatah
05 Point to Point ProtocolPPP EAP Extensible Authentication Protocol By Ahmed Abdelfatah
::2014/03/11::
Play Video
43
CCNA, CCNP & CCIE Tutorial 01 CCNA Routing & Switching Point to Point Protocol
CCNA, CCNP & CCIE Tutorial 01 CCNA Routing & Switching Point to Point Protocol
::2014/08/29::
Play Video
44
EFT TAPPING GAMUT POINT PROTOCOL
EFT TAPPING GAMUT POINT PROTOCOL
::2013/09/13::
Play Video
45
INDECOM starts 10-point protocol to stop Jamaican police corruption {dancehallvids.com}
INDECOM starts 10-point protocol to stop Jamaican police corruption {dancehallvids.com}
::2011/10/15::
Play Video
46
Mountain Birdwatch Point Count Protocols
Mountain Birdwatch Point Count Protocols
::2013/05/07::
Play Video
47
CCNA, CCNP & CCIE Tutorial 01 CCNA R&S Exam Course Point to Point Protocol PPP
CCNA, CCNP & CCIE Tutorial 01 CCNA R&S Exam Course Point to Point Protocol PPP
::2014/08/29::
Play Video
48
ex-claimation point protocol (Casino Versus Japan-Miano:Little Miss 1565)
ex-claimation point protocol (Casino Versus Japan-Miano:Little Miss 1565)
::2009/06/05::
Play Video
49
Unimagined Bridges Trailer
Unimagined Bridges Trailer
::2011/05/19::
Play Video
50
WAN Protocol :: PPPoE  PPP over Ethernet Protocol Analysis rfc 2516, wireshark pppoe tutorial
WAN Protocol :: PPPoE PPP over Ethernet Protocol Analysis rfc 2516, wireshark pppoe tutorial
::2013/12/31::
NEXT >>
RESULTS [51 .. 101]
From Wikipedia, the free encyclopedia
  (Redirected from Point-to-point protocol)
Jump to: navigation, search

In computer networking, Point-to-Point Protocol (PPP) is a data link protocol used to establish a direct connection between two nodes. It can provide connection authentication, transmission encryption (using ECP, RFC 1968), and compression.

PPP is used over many types of physical networks including serial cable, phone line, trunk line, cellular telephone, specialized radio links, and fiber optic links such as SONET. PPP is also used over Internet access connections. Internet service providers (ISPs) have used PPP for customer dial-up access to the Internet, since IP packets cannot be transmitted over a modem line on their own, without some data link protocol. Two derivatives of PPP, Point-to-Point Protocol over Ethernet (PPPoE) and Point-to-Point Protocol over ATM (PPPoA), are used most commonly by Internet Service Providers (ISPs) to establish a Digital Subscriber Line (DSL) Internet service connection with customers.

PPP is commonly used as a data link layer protocol for connection over synchronous and asynchronous circuits, where it has largely superseded the older Serial Line Internet Protocol (SLIP) and telephone company mandated standards (such as Link Access Protocol, Balanced (LAPB) in the X.25 protocol suite). The only requirement for PPP is that the circuit provided be full duplex. PPP was designed to work with numerous network layer protocols, including Internet Protocol (IP), TRILL, Novell's Internetwork Packet Exchange (IPX), NBF, DECnet and AppleTalk.

Description[edit]

PPP was designed somewhat after the original HDLC specifications. The designers of PPP included many additional features that had been seen only in proprietary data-link protocols up to that time.

RFC 2516 describes Point-to-Point Protocol over Ethernet (PPPoE) as a method for transmitting PPP over Ethernet that is sometimes used with DSL. RFC 2364 describes Point-to-Point Protocol over ATM (PPPoA) as a method for transmitting PPP over ATM Adaptation Layer 5 (AAL5), which is also a common alternative to PPPoE used with DSL.

PPP is a layered protocol that has three components:

  • An encapsulation component that is used to transmit datagrams over the specified physical layer.
  • A Link Control Protocol (LCP) to establish, configure, and test the link as well as negotiate capabilities.
  • One or more NCPs used to negotiate optional configuration parameters and facilities for the network layer. There is one Network Control Protocol (NCP) for each protocol supported by PPP.

PPP is specified in RFC 1661.

Automatic self configuration[edit]

Link Control Protocol (LCP) initiates and terminates connections gracefully, allowing hosts to negotiate connection options. It is an integral part of PPP, and is defined in the same standard specification. LCP provides automatic configuration of the interfaces at each end (such as setting datagram size, escaped characters, and magic numbers) and for selecting optional authentication. The LCP protocol runs on top of PPP (with PPP protocol number 0xC021) and therefore a basic PPP connection has to be established before LCP is able to configure it.

RFC 1994 describes Challenge-handshake authentication protocol (CHAP), which is preferred for establishing dial-up connections with ISPs. Although deprecated, Password authentication protocol (PAP) is still sometimes used.

Another option for authentication over PPP is Extensible Authentication Protocol (EAP) described in RFC 2284.

After the link has been established, additional network (layer 3) configuration may take place. Most commonly, the Internet Protocol Control Protocol (IPCP) is used, although Internetwork Packet Exchange Control Protocol (IPXCP) and AppleTalk Control Protocol (ATCP) were once very popular.[citation needed] Internet Protocol Version 6 Control Protocol (IPv6CP) will see extended use in the future, when IPv6 replaces IPv4 as the dominant layer-3 protocol.

Multiple network layer protocols[edit]

PPP architecture
IP
LCP CHAP PAP EAP IPCP
PPP encapsulation
HDLC-like Framing PPPoE PPPoA
RS-232 POS Ethernet ATM
SONET/SDH

PPP permits multiple network layer protocols to operate on the same communication link. For every network layer protocol used, a separate Network Control Protocol (NCP) is provided in order to encapsulate and negotiate options for the multiple network layer protocols. It negotiates network-layer information, e.g. network address or compression options, after the connection has been established.

For example, Internet Protocol (IP) uses the IP Control Protocol (IPCP), and Internetwork Packet Exchange (IPX) uses the Novell IPX Control Protocol (IPX/SPX). NCPs include fields containing standardized codes to indicate the network layer protocol type that the PPP connection encapsulates.

Looped link detection[edit]

PPP detects looped links using a feature involving magic numbers. When the node sends PPP LCP messages, these messages may include a magic number. If a line is looped, the node receives an LCP message with its own magic number, instead of getting a message with the peer's magic number.

PPP Configuration Options[edit]

The previous section introduced the use of LCP options to meet specific WAN connection requirements. PPP may include the following LCP options:

  • Authentication - Peer routers exchange authentication messages. Two authentication choices are Password Authentication Protocol (PAP) and Challenge Handshake Authentication Protocol (CHAP). Authentication is explained in the next section.
  • Compression - Increases the effective throughput on PPP connections by reducing the amount of data in the frame that must travel across the link. The protocol decompresses the frame at its destination. See RFC 1962 for more details.
  • Error detection - Identifies fault conditions. The Quality and Magic Number options help ensure a reliable, loop-free data link. The Magic Number field helps in detecting links that are in a looped-back condition. Until the Magic-Number Configuration Option has been successfully negotiated, the Magic-Number must be transmitted as zero. Magic numbers are generated randomly at each end of the connection.
  • Multilink - Provides load balancing several interfaces used by PPP through Multilink PPP (see below).

PPP frame[edit]

Structure of a PPP frame[edit]

Name Number of bytes Description
Protocol 1 or 2 setting of protocol in data field
Information variable (0 or more) datagram
Padding variable (0 or more) optional padding

The Protocol field indicates the type of payload packet (e.g. LCP, NCP, IP, IPX, AppleTalk, etc.).

The Information field contains the PPP payload; it has a variable length with a negotiated maximum called the Maximum Transmission Unit. By default, the maximum is 1500 octets. It might be padded on transmission; if the information for a particular protocol can be padded, that protocol must allow information to be distinguished from padding.

Encapsulation[edit]

PPP frames are encapsulated in a lower-layer protocol that provides framing and may provide other functions such as a checksum to detect transmission errors. PPP on serial links is usually encapsulated in a framing similar to HDLC, described by IETF RFC 1662.

Name Number of bytes Description
Flag 1 indicates frame's begin or end
Address 1 broadcast address
Control 1 control byte
Protocol 1 or 2 l in information field
Information variable (0 or more) datagram
Padding variable (0 or more) optional padding
FCS 2 (or 4) error check

The Flag field is present when PPP with HDLC-like framing is used.

The Address and Control fields always have the value hex FF (for "all stations") and hex 03 (for "unnumbered information"), and can be omitted whenever PPP LCP Address-and-Control-Field-Compression (ACFC) is negotiated.

The frame check sequence (FCS) field is used for determining whether an individual frame has an error. It contains a checksum computed over the frame to provide basic protection against errors in transmission. This is a CRC code similar to the one used for other layer two protocol error protection schemes such as the one used in Ethernet. According to RFC 1662, it can be either 16 bits (2 bytes) or 32 bits (4 bytes) in size (default is 16 bits - Polynomial x16 + x12 + x5 + 1).

The FCS is calculated over the Address, Control, Protocol, Information and Padding fields after the message has been encapsulated.

PPP line activation and phases[edit]

A diagram depicting the phases of PPP according to RFC 1661.

The phases of the Point to Point Protocol according to RFC 1661 are listed below:

Link Dead
This phase occurs when the link fails, or one side has been told to disconnect (e.g. a user has finished his or her dialup connection.)
Link Establishment Phase
This phase is where Link Control Protocol negotiation is attempted. If successful, control goes either to the authentication phase or the Network-Layer Protocol phase, depending on whether authentication is desired.
Authentication Phase
This phase is optional. It allows the sides to authenticate each other before a connection is established. If successful, control goes to the network-layer protocol phase.
Network-Layer Protocol Phase
This phase is where each desired protocols' Network Control Protocols are invoked. For example, IPCP is used in establishing IP service over the line. Data transport for all protocols which are successfully started with their network control protocols also occurs in this phase. Closing down of network protocols also occur in this phase.
Link Termination Phase
This phase closes down this connection. This can happen if there is an authentication failure, if there are so many checksum errors that the two parties decide to tear down the link automatically, if the link suddenly fails, or if the user decides to hang up his connection.

PPP over several links[edit]

Multilink PPP[edit]

Multilink PPP (also referred to as MLPPP, MP, MPPP, MLP, or Multilink) provides a method for spreading traffic across multiple distinct PPP connections. It is defined in RFC 1990. It can be used, for example, to connect a home computer to an Internet Service Provider using two traditional 56k modems, or to connect a company through two leased lines.

On a single PPP line frames cannot arrive out of order, but this is possible when the frames are divided among multiple PPP connections. Therefore Multilink PPP must number the fragments so they can be put in the right order again when they arrive.

Multilink PPP is an example of a link aggregation technology. Cisco IOS Release 11.1 and later supports Multilink PPP.

Multiclass PPP[edit]

With PPP, one cannot establish several simultaneous distinct PPP connections over a single link.

That's not possible with Multilink PPP either. Multilink PPP uses contiguous numbers for all the fragments of a packet, and as a consequence it is not possible to suspend the sending of a sequence of fragments of one packet in order to send another packet. This prevents from running Multilink PPP multiple times on the same links.

Multiclass PPP is a kind of Multilink PPP where each "class" of traffic uses a separate sequence number space and reassembly buffer. Multiclass PPP is defined in RFC 2686.

PPP and tunnels[edit]

Simplified OSI protocol stack for an example SSH+PPP tunnel
Application FTP SMTP HTTP DNS
Transport TCP UDP
Network IP
Data Link PPP
Application SSH
Transport TCP
Network IP
Data Link Ethernet ATM
Physical Cables, Hubs, and so on

Derived protocols[edit]

PPTP is a form of PPP between two hosts via GRE using encryption (MPPE) and compression (MPPC).

PPP as a layer 2 protocol between both ends of a tunnel[edit]

Many protocols can be used to tunnel data over IP networks. Some of them, like SSL, SSH, or L2TP create virtual network interfaces and give the impression of a direct physical connections between the tunnel endpoints. On a Linux host for example, these interfaces would be called tun0.

As there are only two endpoints on a tunnel, the tunnel is a point-to-point connection and PPP is a natural choice as a data link layer protocol between the virtual network interfaces. PPP can assign IP addresses to these virtual interfaces, and these IP addresses can be used, for example, to route between the networks on both sides of the tunnel.

IPsec in tunneling mode does not create virtual physical interfaces at the end of the tunnel, since the tunnel is handled directly by the TCP/IP stack. L2TP can be used to provide these interfaces, this technique is called L2TP/IPsec. In this case too, PPP provides IP addresses to the extremities of the tunnel.

See also[edit]

References[edit]

RFCs[edit]

PPP is defined in RFC 1661 (The Point-to-Point Protocol, July 1994). RFC 1547 (Requirements for an Internet Standard Point-to-Point Protocol, December 1993) provides historical information about the need for PPP and its development. A series of related RFCs have been written to define how a variety of network control protocols-including TCP/IP, DECnet, AppleTalk, IPX, and others-work with PPP.

  • RFC 1661, Standard 51, The Point-to-Point Protocol (PPP)
  • RFC 1662, Standard 51, PPP in HDLC-like Framing
  • RFC 1962, PPP Compression Control Protocol (CCP)
  • RFC 1963, PPP Serial Data transport Protocol
  • RFC 1990, The PPP Multilink Protocol (MP)
  • RFC 1994, PPP Challenge Handshake Authentication Protocol (CHAP)
  • RFC 2153, Informational, PPP Vendor Extensions
  • RFC 2284, PPP Extensible Authentication Protocol (EAP)
  • RFC 2364, PPP over ATM
  • RFC 2516, PPP over Ethernet
  • RFC 2615, PPP over SONET/SDH
  • RFC 2686, The Multi-Class Extension to Multi-Link PPP
  • RFC 2687, Proposed Standard, PPP in a Real-time Oriented HDLC-like Framing
  • RFC 5072, IP Version 6 over PPP
  • RFC 5172, Negotiation for IPv6 Datagram Compression Using IPv6 Control Protocol
  • RFC 6361, PPP Transparent Interconnection of Lots of Links (TRILL) Protocol Control Protocol
Wikipedia content is licensed under the GFDL License
Powered by YouTube
LEGAL
  • Mashpedia © 2014