Serial Connections Connections over a WAN rather than a LAN This chapter describes the Cisco proprietary HDLC protocol and the PPP protocol.

Slides:



Advertisements
Similar presentations
Rick Graziani PPP authentication protocols 1. Link establishment - (LCPs) 2. Authentication - Optional (LCPs) 3. Link quality determination.
Advertisements

S4C4 PPP. Protocols Point to Point Protocol Link Control Protocol Network Control Program Password Authentication Protocol Challenge Handshake Authentication.
Point-to-Point Protocol
© 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.
Wide Area Networking. Overview Defining WAN Terms WAN Connection Types High-Level Data-Link Control Point-to-Point Protocol Frame Relay ISDN.
Cisco Semester 4 Chapter 2 WANS. Technologies Not Covered in Semester 4 DSL Cable Modem ATM SONET SMDS.
CCNA Guide to Cisco Networking Fundamentals Fourth Edition
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.
WANs.
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 11 Wide Area Networking (WAN) Protocols Defining WAN Terms Customer Premises Equipment (CPE) is your stuff Demarcation (demarc) is end of provider’s.
© 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.
PPP (Point to Point Protocol)
CCNA Cisco Certified Network Associate. Point-to-point Protocol (PPP)
CISCO NETWORKING ACADEMY Chabot College ELEC Wide Area Network Introduction.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Point-to-Point Protocol (PPP) Accessing the WAN – Chapter 2.
Chapter Objectives At the end of this chapter you will be able to: Describe standardisation in the data communications area Describe the following technologies:
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 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.
© 2002, Cisco Systems, Inc. All rights reserved..
Chapter Objectives At the end of this chapter you will be able to: Describe the following technologies: ISDN, PPP, Modem, XDSL and ATM.
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
Introduction to WAN Technologies
Robert E. Meyers CCNA, CCAI Youngstown State University Cisco Regional Academy Instructor Cisco Networking Academy Program Semester 4, v Chapter.
Intro to WAN VCC Semester 4, Chapter 2. Service providers Central Office (CO): Each telephone connects to a single point called a CO. Local Loop.
Chapter 7 Wide Area Network (WAN). Introducing Wide-Area Networks (Part I)
1 Point-to-Point Protocol Cisco Networking Academy Semester 4.
Chap 1 – Point-to-Point Protocol (PPP) Learning Objectives
Wide Area Network Chapter 15 powered by DJ 1. Chapter Objectives At the end of this Chapter you will be able to:  Describe different methods for connecting.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—5-1 Establishing Serial Point-To-Point Connections Introducing Wide-Area Networks.
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 Lecture 03 - Roadmap WAN Basics –Three Types of WAN Services Introduction to Point-to-Point protocol (PPP) Basic Components of PPP Frame Formats of PPP.
+ 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.
Point-to-Point Protocol (PPP)
Instructor Materials Chapter 2: Point-to-Point Connections
© 2002, Cisco Systems, Inc. All rights reserved.
PPP Protocol.
PPP Protocol.
Lesson 6 Point to Point Protocol
Instructor Materials Chapter 2: Point-to-Point Connections
PPP PROTOCOL The First semester
Chapter 2: Point-to-Point Connections
Chapter 2: Point-to-Point Connections
Point-to-Point Protocol (PPP)
Point-to-Point Protocol (PPP)
Point-to-Point Protocol (PPP)
Point-to-Point Protocol (PPP)
PPP Protocol.
Presentation transcript:

Serial Connections Connections over a WAN rather than a LAN This chapter describes the Cisco proprietary HDLC protocol and the PPP protocol

Connectivity Options Leased Line – Provides a point-to-point dedicated WAN communications path between a service provider and a remote network. Fast and high bandwidth but costly Circuit-Switched – A dedicated circuit path exists between sender and receiver for the duration of a call (i.e., over telephone or ISDN lines with a modem). Used in environments where WAN use is sparse Packet-Switched – Devices share a single point-to-point link to transport packets across a carrier network. Physical connections are provided by programmed switching devices. Headers identify destination. Cheaper than leased lines but slower

WAN Terminology Customer Premises Equipment (CPE) – Devices located on the customer premises Demarcation (Demarc) – Juncture where CPE ends and service begins Local Loop (“Last Mile”) – Cabling from demarc to WAN central office Central Office – Telco switching facility that provides nearest presence of WAN service Toll Network – The collective telco switches and facilities (called trunks) inside the WAN provider’s cloud

Serial Cables Cisco serial router cable is a DB-60 shielded serial transition cable with appropriate connector: –EIA/TIA-232 –EIA/TIA-449 –V.35 –X.21 –EIA-530

Equipment DTE – Your customer premises equipment DCE – The device used to convert the user data from the DTE into a form acceptable to the WAN service provider (i.e., Channel Service Unit/Data Service Unit (CSU/DSU))

WAN Layer 2 - Encapsulation Serial devices must encapsulate data in a frame format at OSI model layer 2. Different services use different framing formats. Choice of protocol depends on WAN technology –Leased Line – HDLC, PPP, SLIP –Circuit-Switched – PPP, SLIP, HDLC –Packet-Switched – X25, Frame Relay, ATM

Encapsulation Types High-Level Data Link Control (HDLC) Point-to-Point Protocol (PPP) – Provides router-to-router and host-to-network connections over synchronous and asynchronous circuits. Designed to work with several network layer protocols such as IP and XIP. Serial Line Internet Protocol (SLIP) X.25/Link Access Procedure, Balanced (LAPB) Frame Relay Asynchronous Transfer Mode (ATM)

HDLC Encapsulation Often used for leased line links between Cisco routers. By default synchronous serial lines use HDLC serial encapsulation If communicating with a non-Cisco device, PPP is a more viable option It is a bit-oriented synchronous data link layer protocol Limitation – HDLC does not inherently support multiple protocols on a single link there is no standard way to indicate which protocol it is carrying

HDLC Frame Formats Cisco offers a proprietary version of HDLC with a proprietary field that acts like a protocol field Cisco HDLC FlagAddressControlDataFCSFlag AddressControlProprietaryDataFCSFlag HDLC

PPP Encapsulation PPP RFCs are at: ftp://ftpeng.cisco.com/fred/rfc-index/rfc.html PPP is NOT proprietary Used to connect dissimilar vendor devices such as: –Asynchronous serial –HSSI (High-Speed Serial Interface) –ISDN –Synchronous serial

PPP Sublayers IP IPX Layer 3 Protocols IPCP IPXC Many Others Network Control Protocol Authentication, Other Options Link Control Protocol Synchronous or Asynchronous Physical Media PPP Network Layer Data Link Layer Physical Layer

PPP Components Functionally, PPP is a data link layer protocol with network layer services Therefore, PPP can be broken down into two sublayers NCP and LCP which enhance functionality

NCP/LCP NCP is used to encapsulate multiple protocols LCP is used to negotiate and set up control options on the WAN data link

LCP Options FeatureHow it OperatesProtocol AuthenticationRequires a password Performs challenge handshake PAP CHAP CompressionCompresses data at the source; decompresses at destination Stacker or Predictor Error DetectionMonitors data dropped on link. Avoids frame looping Magic Number Quality MultilinkLoads balancing across multiple links Multilink Protocol (MP)

PPP Establishment Link Establishment Phase (Dialup or Circuit-Switched Network) – Each PPP device sends LCP packets to configure and test the data link. LCP packet contain a Configuration Option field that allows devices to negotiate use of options such as max receive unit, compression of certain PPP fields, and link authentication protocol Optional Authentication Phase – PPP supports two authentication protocols: PAP and CHAP (CHAP is the preferred protocol) Network Layer Protocol Phase – PPP devices send NCP packets to choose and configure one or more network layer protocols such as IP

PAP Two-Way Handshake Authentication Remote router sends name (santacruz) and password (boardwalk) to central-site router Central-site router consults local list of remote router names and passwords and returns accept/reject Passwords are sent in clear text There is no protection from playback or repeated trial-and-error attacks Acceptable if token-type passwords are used that change with each authentication

CHAP Three-Way Handshake Local router sends a challenge message to the remote router Remote router responds with a value calculated using a one-way hash function (typically MD5) Local router checks response against its own calculation If values match, the local router responds with an acknowledge (if not router responds with reject)

PPP Authentication Tasks Receiving RouterInitiating Router ppp encapsulation hostname username ppp authentication ppp pap sent-username (PAP only)

Authentication Configuration PAP Router(config)#hostname RouterA RouterA(config)#username RouterB password mustmatch RouterA(config)# interface serial 0 RouterA(config-if)#ip address RouterA(config-if)#encapsulation ppp RouterA(config-if)#ppp authentication pap Router(config)#hostname RouterB RouterB(config)#username RouterA password mustmatch RouterB(config)# interface serial 0 RouterB(config-if)#ip address RouterB(config-if)#encapsulation ppp RouterB(config-if)#ppp authentication pap

Authentication Configuration CHAP Router(config)#hostname RouterA RouterA(config)# interface serial 0 RouterA(config-if)#ip address RouterA(config-if)#encapsulation ppp RouterA(config-if)#ppp authentication chap Router(config)#hostname RouterB RouterB(config)# interface serial 0 RouterB(config-if)#ip address RouterB(config-if)#encapsulation ppp RouterB(config-if)#ppp authentication chap

show interface command After configuring a serial interface at a router type: RouterA#show interface s0 to get configuration information

ppp Debugging RouterA#debug ppp authentication Causes ppp debugging information to be output

Summary of Serial Commands CommandDescription encapsulation hdlcEnables HDLC encapsulation on an interface encapsulation pppEnables PPP on a PPP interface ppp authentication papEnables PAP authentication on a PPP interface ppp authentication chapEnables CHAP authentication on an interface username name password passwordEstablishes a username-based authentication system show interfaceShows the status of an interface, including encapsulation method debug ppp authenticationDebigs the PAP or CHAP authentication process