PPP PROTOCOL The First semester 1439 - 2017.

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.
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.
Example Data Link Protocols Quick review Reference Models? Layers? Flow Control? Bit stuffing? Connection Oriented? Synchronous transmission?
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Point-to-Point Protocol (PPP) Accessing the WAN – Chapter 2.
 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.
PPP (Point to Point Protocol)
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.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Point-to-Point Protocol (PPP) Accessing the WAN – Chapter 2.
© 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 Implementing Enterprise WAN Links Introducing Routing and Switching in the Enterprise – Chapter.
© 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
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.
4 Semester 4 CHAPTER 4 REVIEW JEOPARDY S2C04 Jeopardy Review.
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.
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.
+ PPP Protocol. + Outline WAN Data Link Layer protocols Point-to-point serial communications Transmission Synchronization HDLC.
© 2007 – 2010, Cisco Systems, Inc. All rights reserved. Cisco Public ITE PC v4.1 Chapter 4 1 Chapter 3: Point-to- Point Connections Connecting Networks.
Point-Point Protocol (PPP) by William F. Widulski.
© 2002, Cisco Systems, Inc. All rights reserved.
Chapter 11 Data Link Control
Point-to-Point Protocol (PPP)
Lecture6 PPP Protocol.
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
Chapter 11 - Part 2 Data Link Control.
PPP – Point to Point Protocol
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.
Unit 10 WANs Chapters NT2640.U10.PS1
Point-to-Point Protocol (PPP)
Point-to-Point Access:
Point-to-Point Access:
Point-to-Point Protocol (PPP)
© 2002, Cisco Systems, Inc. All rights reserved.
Point-to-Point Protocol (PPP)
PPP Protocol.
Point-to-Point Access:
Data Link Control (DLC) Services
Presentation transcript:

PPP PROTOCOL The First semester 1439 - 2017

Introduction to WANs 2 WAN Connection Options

Serial and Parallel Ports Point-to-point connections are used to connect LANs to service provider WANs. Also referred to as a serial connection or leased-line connection. Communications across a serial connection is a method of data transmissions in which the bits are transmitted sequentially over a single channel. In parallel communications, bits can be transmitted simultaneously over multiple wires.

Encapsulated frame is sent on a physical medium to the WAN. Serial Communications Serial Communication On the WAN link, data is encapsulated by the protocol used by the sending router. Encapsulated frame is sent on a physical medium to the WAN. Receiving router uses the same communications protocol to de-encapsulate the frame when it arrives.  Three serial communication standards for LAN-to-WAN connections: RS-232, V.35, HSSI

WAN Data Link Protocols WAN Connection Types WAN Data Link Protocols

Serial Communications Point-to-Point Communication Links Point-to-point links can connect two geographically distant sites. Carrier dedicates specific resources for a line leased by the customer (leased-line). Point-to-point links are usually more expensive than shared services.  

HDLC Encapsulation HDLC Encapsulation Bit-oriented, data link layer protocol developed by the International Organization for Standardization (ISO) . (standard HDLC) Uses synchronous serial transmission to provide error-free communication between two points. Defines a Layer 2 framing structure Cisco has developed an extension to the HLDC protocol to solve the inability to provide multiprotocol support (Cisco HLDC also referred to as cHDLC).

HDLC Encapsulation HDLC defines a Layer 2 framing structure

HDLC Encapsulation Standard HDLC Cisco HDLC does not support multiple protocols on a single link, as it does not have a way to indicate which protocol is being carried. Cisco HDLC The frame uses a ‘protocol' field that enables multiple network layer protocols to share the same serial link.

HDLC Encapsulation HDLC Encapsulation Default encapsulation method used by Cisco devices on synchronous serial lines Point-to-point protocol on leased lines between two Cisco devices Connecting to a non-Cisco device, use synchronous PPP

HDLC Encapsulation Configuring HDLC Encapsulation

Point-to-Point Protocol (PPP) Point-to-Point Protocol (PPP) is also data link protocol used on serial links just like HDLC. However PPP is has more advanced features when compared with HDLC which is quite primitive. Can be used over asynchronous serial or synchronous serial media.

Benefits of PPP Advantages of PPP PPP not proprietary PPP includes many features not available in HDLC Link quality management feature monitors the quality of the link. If too many errors are detected, PPP takes down the link Supports PAP and CHAP authentication    

Benefits of PPP Introducing PPP PPP contains three main components: HDLC protocol for encapsulating datagrams over point- to-point links Extensible Link Control Protocol (LCP) to establish, configure, and test the data link connection Family of Network Control Protocols (NCPs) to establish and configure different network layer protocols (IPv4, IPv6, AppleTalk, Novell IPX, and SNA Control Protocol)  

LCP and NCP PPP Layered Architecture LCP sets up the PPP connection and its parameters NCPs handle higher layer protocol configurations LCP terminates the PPP connection

LCP and NCP PPP Control Protocol (LCP) PPP uses the LCP to negotiate and setup control options on the WAN link. Authentication, Compression, Error Detection, Multilink for load balancing, and link monitoring functions.

LCP and NCP PPP Network Control Protocol (NCP) PPP permits multiple network layer protocols to operate on the same communications link. For every network layer protocol used, PPP uses a separate NCP.

LCP and NCP PPP Frame Structure

PPP Sessions Establishing a PPP Session Phase 1 – LCP must first open the connection and negotiate configuration options;

PPP Sessions PPP Configuration Options Optional functions include: Authentication using either PAP or CHAP Compression using either Stacker or Predictor Multilink that combines two or more channels to increase the WAN bandwidth

Configure PPP PPP Configuration Options Authentication – Two authentication choices are Password Authentication Protocol (PAP) and Challenge Handshake Authentication Protocol (CHAP). 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. Multilink – This alternative provides load balancing over the router interfaces that PPP uses. Multilink PPP 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 Sessions Establishing a PPP Session (cont.) Phase 2 –Authentication Phase After the link has been established and the authentication protocol decided on, the peer may be authenticated. Authentication, if used, takes place before the network layer protocol phase is entered. PPP uses PAP and CHAP as authentication protocols As part of this phase, LCP also allows for an optional link-quality determination test. The link is tested to determine whether the link quality is good enough to bring up network layer protocols.

PPP Sessions Establishing a PPP Session (cont.) Phase 3 – Network Layer Protocol Phase. In this phase the PPP devices send NCP packets to choose and configure one or more network layer protocols, such as IP. Once each of the chosen network layer protocols has been configured, packets from each network layer protocol can be sent over the link.

PPP Sessions LCP Operation LCP operation includes provisions for link establishment, link maintenance, and link termination. LCP operation uses three classes of LCP frames to accomplish the work of each of the LCP phases: Link-establishment frames establish and configure a link. Configure-Request, Configure-Ack, Configure-Nak, and Configure-Reject Link-maintenance frames manage and debug a link. Code-Reject, Protocol-Reject, Echo-Request, Echo-Reply, and Discard-Request Link-termination frames terminate a link. Terminate-Request and Terminate-Ack

PPP Sessions LCP Operation (cont.)

PPP Sessions NCP Explained

Configure PPP PPP Basic Configuration Command

Configure PPP Verifying PPP Configuration

PPP Authentication PPP Authentication Protocols

PPP Authentication Password Authentication Protocol (PAP) Initiating PAP Completing PAP

Password Authentication Protocol (PAP) PAP provides a simple method for a remote node to establish its identity, using a two-way handshake.   The authentication process is one way authentication method and one or both devices can authenticate each other separately. PAP is not a strong authentication protocol. Passwords are sent across the link in clear text and there is no protection from playback or repeated trial-and-error attacks.

PPP Authentication Challenge Handshake Authentication Protocol Initiating CHAP Responding CHAP

PPP Authentication CHAP (cont.) Completing CHAP

CHAP CHAP  uses a three-way handshake to verify the identity of the remote node. After the PPP link establishment phase is complete, the local router sends a "challenge" message to the remote node. The remote node responds with a value calculated using a one-way hash function, which is typically Message Digest 5 (MD5). This response is based on the password and challenge message. The local router checks the response against its own calculation of the expected hash value. If the values match, the authentication is acknowledged, otherwise the connection is immediately terminated.

CHAP CHAP provides protection against playback attack through the use of a variable challenge value that is unique and unpredictable. Since the challenge is unique and random, the resulting hash value will also be unique and random.

PPP Authentication Configuring PPP Authentication (cont.)

PPP Authentication Configuring PPP Authentication (cont.)