PPP (Point to Point Protocol)

Slides:



Advertisements
Similar presentations
Point-to-Point Protocol (PPP)
Advertisements

Rick Graziani PPP authentication protocols 1. Link establishment - (LCPs) 2. Authentication - Optional (LCPs) 3. Link quality determination.
Point-to-Point Protocol Semester 4, Chapter 4. PPP and Data Links PPP operates at the Data Link layer. Components of PPP include:  A method for encapsulating.
S4C4 PPP. Protocols Point to Point Protocol Link Control Protocol Network Control Program Password Authentication Protocol Challenge Handshake Authentication.
Point-to-Point Protocol
Gursharan Singh Tatla SLIP and PPP 27-Mar
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—5-1 Establishing Serial Point-To-Point Connections Configuring Serial Point-To-Point Encapsulation.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: Point-to- Point Connections Connecting Networks.
Serial Connections Connections over a WAN rather than a LAN This chapter describes the Cisco proprietary HDLC protocol and the PPP protocol.
Semester 4 - Chapter 4 – PPP WAN connections are controlled by protocols In a LAN environment, in order to move data between any two nodes or routers two.
Point to Point Protocol Operation. Point to Point Protocol Protocol Layers of PPP –Physical Layer –Data Link Layer – HDLC derivative –Other protocols.
PPP (Point to Point protocol).  On WAN connection, the protocol depends on the WAN technology and communicating equipment:  Examples:  HDLC –  The.
1 CCNA 4 v3.1 Module 3. 2 CCNA 4 v3.0 Module 3 PPP.
CCNA 5.0 Planning Guide Chapter 3: Point-to-Point Connections.
Chapter 3 -- PPP PPP – A continuation of CCNA – Semester 4.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Point-to-Point Protocol (PPP) Accessing the WAN – Chapter 2.
WAN Networking Protocols 1 WAN Connection Types Share bandwidth Frame Relay and X.25 56Kbps to 2.048Mps Point-to-Point connection No setup before transmission.
Ch. 3 - PPP CCNA 4 version 3.0. PPP PPP layered architecture PPP contains two sub-protocols: –Link Control Protocol – Used for establishing the point-to-point.
 It defines the format of the frame to be exchanged between devices.  It defines how two devices can negotiate the establishment of the link and the.
CCNA Cisco Certified Network Associate. Point-to-point Protocol (PPP)
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Point-to-Point Protocol (PPP) Accessing the WAN – Chapter 2.
Robert E. Meyers CCNA, CCAI Youngstown State University Cisco Regional Academy Instructor Cisco Networking Academy Program Semester 4, v Chapter.
CCNA Guide to Cisco Networking
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Point-to-Point Protocol (PPP) Accessing the WAN – Chapter 2.
Troubleshooting WAN Implementation Issues
© 1999, Cisco Systems, Inc Chapter 12 Establishing Serial Point-to-Point Connections.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Point-to-Point Protocol (PPP) Accessing the WAN – Chapter 2.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0 Module 3 PPP.
CCNA Guide to Cisco Networking Fundamentals Fourth Edition
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Implementing Enterprise WAN Links Introducing Routing and Switching in the Enterprise.
Wide Area Networks(WANs) Lecture Week 2. Point-to-Point Protocol (PPP) Accessing the WAN.
Copyright Kenneth M. Chipps Ph.D. PPP Last Update
Point to Point Protocol
Chapter 7 Low-Level Protocols
Point-to-Point Access: PPP PPP Between Routers  Used for Point-to-Point Connections only  Used as data link control (encapsulates network layer.
1 Point-to-Point Protocol Cisco Networking Academy Semester 4.
Point-to-Point Tunneling Protocol [PPTP] Team: Invincibles Deepak Tripathi Habibeh Deyhim Karthikeyan Gopal Satish Madiraju Tusshar RakeshNLN.
Chap 1 – Point-to-Point Protocol (PPP) Learning Objectives
2 Link Layer. 2  Ethernet and IEEE 802 Encapsulation MUST be able to send and receive Ethernet SHOULD be able to receive IEEE 802 MAY be able to send.
4 Semester 4 CHAPTER 4 REVIEW JEOPARDY S2C04 Jeopardy Review.
PPP (Point to Point Protocol) W.lilakiatsakun. Introduction to PPP (1) PPP encapsulates data frames for transmission over Layer 2 physical links including.
Wide Area Networks (WAN) Terms that are commonly used by service providers: Customer premises equipment (CPE) Equipment that’s owned by the subscriber.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Services in a Converged WAN Accessing the WAN – Chapter 1.
PPP Configuration.
Point to Point connections
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.1 Module 3 PPP.
Point-to-Point Protocol (PPP) 點對點網路協定
Data Link Protocols Relates to Lab 2.
Exploration 4 Chapter 2 ppp. Serial and Parallel communication One way to get bits to move faster through a wire is to compress the data so that less.
Point-Point Protocol (PPP) by William F. Widulski.
Point-to-Point Protocol (PPP)
Instructor Materials Chapter 2: Point-to-Point Connections
PPP Protocol.
PPP Protocol.
PPP Protocol.
Lesson 6 Point to Point Protocol
Instructor Materials Chapter 2: Point-to-Point Connections
PPP – Point to Point Protocol
PPP PROTOCOL The First semester
ZyXEL Communications Corporation
Chapter 2: Point-to-Point Connections
Chapter 2: Point-to-Point Connections
Point-to-Point Protocol (PPP)
CCNA 4 Chapter 2 PPP.
Point-to-Point Protocol (PPP)
Point-to-Point Protocol (PPP)
Point-to-Point Protocol (PPP)
PPP Protocol.
Presentation transcript:

PPP (Point to Point Protocol) W.lilakiatsakun

Introduction to PPP (1) PPP encapsulates data frames for transmission over Layer 2 physical links including following features: The link quality management feature monitors the quality of the link. If too many errors are detected, PPP takes the link down. PPP supports PAP and CHAP authentication.

Introduction to PPP (2)

PPP Component (1) HDLC protocol for encapsulating datagrams over point-to-point links. Extensible Link Control Protocol (LCP) to establish, configure, and test the data link connection.

PPP Component (2) Family of Network Control Protocols (NCPs) for establishing and configuring different Network layer protocols. PPP allows the simultaneous use of multiple Network layer protocols. Some of the more common NCPs are Internet Protocol Control Protocol, Appletalk Control Protocol, Novell IPX Control Protocol, Cisco Systems Control Protocol, SNA Control Protocol, and Compression Control Protocol.

PPP Architecture (1)

PPP Architecture (2) At the Physical layer, you can configure PPP on a range of interfaces, including: Asynchronous serial (RS-232) Synchronous serial (RS422/V.35) HSSI (High Speed Serial Interface) ISDN

PPP Architecture (3) The LCP has a role in establishing, configuring, and testing the data-link connection. The LCP provides automatic configuration of the interfaces at each end, including: Handling varying limits on packet size Detecting common misconfiguration errors Terminating the link Determining when a link is functioning properly or when it is failing

PPP Architecture (4) PPP permits multiple Network layer protocols to operate on the same communications link. For every Network layer protocol used, PPP uses a separate NCP. For example, IP uses the IP Control Protocol (IPCP), and IPX uses the Novell IPX Control Protocol (IPXCP)

PPP Architecture (5)

PPP Architecture (6) NCPs include functional fields containing standardized codes to indicate the Network layer protocol that PPP encapsulates.

PPP Frame Structure (1)

PPP Frame Structure (2)

PPP Frame Structure (3)

PPP Frame Structure (4)

PPP Frame Structure (5)

PPP Frame Structure (6)

Establish PPP Session (1)

Establish PPP Session (2) Phase 1: Link establishment and configuration negotiation Before PPP exchanges any Network layer datagrams (for example, IP), the LCP must first open the connection and negotiate configuration options. This phase is complete when the receiving router sends a configuration-acknowledgment frame back to the router initiating the connection.

Establish PPP Session (3) Phase 2: Link quality determination (optional) The LCP tests the link to determine whether the link quality is sufficient to bring up Network layer protocols. The LCP can delay transmission of Network layer protocol information until this phase is complete

Establish PPP Session (4) Phase 3: Network layer protocol configuration negotiation After the LCP has finished the link quality determination phase, the appropriate NCP can separately configure the Network layer protocols, and bring them up and take them down at any time. If the LCP closes the link, it informs the Network layer protocols so that they can take appropriate action.

LCP Operation (1)

LCP Operation (2)

LCP Operation (3)

PPP Configuration Option (1) PPP can be configured to support various functions including: Authentication using either PAP or CHAP Compression using either Stacker or Predictor Multilink which combines two or more channels to increase the WAN bandwidth

PPP Configuration Option (2)

NCP Process (1)

NCP Process (2) IPCP negotiates two options: Compression Allows devices to negotiate an algorithm to compress TCP and IP headers and save bandwidth. Van Jacobson TCP/IP header compression reduces the size of the TCP/IP headers to as few as 3 bytes. This can be a significant improvement on slow serial lines, particularly for interactive traffic.

NCP Process (3) IP-Address Allows the initiating device to specify an IP address to use for routing IP over the PPP link, or to request an IP address for the responder. Dialup network links commonly use the IP address option.

PPP Authentication Protocol (1) The authentication phase of a PPP session is optional. If it is used, you can authenticate the peer after the LCP establishes the link and choose the authentication protocol. If it is used, authentication takes place before the Network layer protocol configuration phase begins. RFC 1334 defines two protocols for authentication, PAP and CHAP

PPP Authentication Protocol (2)

PAP (Password Authentication Protocol) (1) PAP provides a simple method for a remote node to establish its identity using a two-way handshake. PAP is not a strong authentication protocol. Using PAP, you send passwords across the link in clear text and there is no protection from playback or repeated trial-and-error attacks.

PAP (Password Authentication Protocol) (2)

CHAP (Challenge Handshaking Authentication Protocol) (1) Unlike PAP, which only authenticates once, CHAP conducts periodic challenges to make sure that the remote node still has a valid password value. The remote node responds with a value calculated using a one-way hash function, which is typically Message Digest 5 (MD5) based on the password and challenge message.

Initiating CHAP Responding CHAP Completing CHAP

CHAP (Challenge Handshaking Authentication Protocol) (2) CHAP provides protection against playback attack by using a variable challenge value that is unique and unpredictable. Because the challenge is unique and random, the resulting hash value is also unique and random.

CHAP (Challenge Handshaking Authentication Protocol) (3)

PPP Authentication Process

PPP Configuration Option (1) Authentication Peer routers exchange authentication messages. Two authentication choices are Password Authentication Protocol (PAP) and Challenge Handshake Authentication Protocol (CHAP).

PPP Configuration Option (2) 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. Two compression protocols available in Cisco routers are Stacker and Predictor. http://www.cisco.com/en/US/tech/tk713/tk802/technologies_tech_note09186a00801b3b86.shtml

PPP Configuration Option (3) Error detection 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.

PPP Configuration Option (4) Multilink Multilink PPP (also referred to as MP, MPPP, MLP, or Multilink) provides a method for spreading traffic across multiple physical WAN links while providing packet fragmentation and reassembly, proper sequencing, multivendor interoperability, and load balancing on inbound and outbound traffic.

PPP Configuration Option (5) PPP Callback With this LCP option, a Cisco router can act as a callback client or a callback server. The client makes the initial call, requests that the server call it back, and terminates its initial call. The callback router answers the initial call and makes the return call to the client based on its configuration statements.

PPP Configuration (1) Example 1: Enabling PPP on an Interface To set PPP as the encapsulation method used by a serial or ISDN interface, use the encapsulation ppp interface configuration command. R3#configure terminal R3(config)#interface serial 0/0/0 R3(config-if)#encapsulation ppp

PPP Configuration (2) Example 2: Compression You can configure point-to-point software compression on serial interfaces after you have enabled PPP encapsulation. If the traffic already consists of compressed files (.zip, .tar, or .mpeg, for example), do not use this option R3(config)#interface serial 0/0/0 R3(config-if)#encapsulation ppp R3(config-if)#compress [predictor | stac]

PPP Configuration (3) Example 3: Link Quality Monitoring In this phase, LCP tests the link to determine whether the link quality is sufficient to use Layer 3 protocols. The percentages are calculated for both incoming and outgoing directions. R3(config)#interface serial 0/0/0 R3(config-if)#encapsulation ppp R3(config-if)#ppp quality 80

PPP Configuration (4) Example 4: Load Balancing Across Links (1) Multilink PPP (also referred to as MP, MPPP, MLP, or Multilink) provides a method for spreading traffic across multiple physical WAN links while providing packet fragmentation and reassembly, proper sequencing, multivendor interoperability, and load balancing on inbound and outbound traffic.

PPP Configuration (5) Example 4: Load Balancing Across Links (2) MPPP allows packets to be fragmented and sends these fragments simultaneously over multiple point-to-point links to the same remote address. The multiple physical links come up in response to a user-defined load threshold. Router(config)#interface serial 0/0/0 Router(config-if)#encapsulation ppp Router(config-if)#ppp multilink

Verify PPP configuration (1)

Verify PPP configuration (2)

Troubleshooting PPP (1)

Configuring PPP Authentication (1)

Configuring PPP Authentication (2)

Configuring PPP Authentication (3)