Top Banner
Introduction to PPP
26

Introduction to PPP. Using dial-up modems for packet-oriented- networking (I.e connecting to the internet) requires a data-link layer protocol widely-spread.

Dec 24, 2015

Download

Documents

Bonnie Rodgers
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Introduction to PPP. Using dial-up modems for packet-oriented- networking (I.e connecting to the internet) requires a data-link layer protocol widely-spread.

Introduction to PPP

Page 2: Introduction to PPP. Using dial-up modems for packet-oriented- networking (I.e connecting to the internet) requires a data-link layer protocol widely-spread.

Using dial-up modems for packet-oriented-networking (I.e connecting to the internet) requires a data-link layer protocol

widely-spread protocols: SLIP PPP

History

Page 3: Introduction to PPP. Using dial-up modems for packet-oriented- networking (I.e connecting to the internet) requires a data-link layer protocol widely-spread.

SLIP - Serial Line Internet Protocol Defined in the early 80`s Purpose

extending TCP/IP networking with dial-up serial connection

Usersunix users at the beginning and PC users later

Advantages Very simple protocol Easy implementation

Page 4: Introduction to PPP. Using dial-up modems for packet-oriented- networking (I.e connecting to the internet) requires a data-link layer protocol widely-spread.

SLIP - Serial Line Internet Protocol

Disadvantages Does not support error detction and correction

Supports only IP (and not IPX/SPX etc`)

Requires advance knowledge of the peer`s IP

address

Is not approved internet standard

Does not provide any form of authentication

Page 5: Introduction to PPP. Using dial-up modems for packet-oriented- networking (I.e connecting to the internet) requires a data-link layer protocol widely-spread.

PPP – design principles

Support multiple network protocols Link configuration Error detection Establishing network addresses Authentication Extensibility

Page 6: Introduction to PPP. Using dial-up modems for packet-oriented- networking (I.e connecting to the internet) requires a data-link layer protocol widely-spread.

PPP – a layered protocol

PPP relies on another DLP – HDLC – to perform some basic operations

After the initial handshake, PPP executes its own handshake

PPP itself consists of two protocols: LCP – Link Control Protocol NCP – Network Control Protocol

Page 7: Introduction to PPP. Using dial-up modems for packet-oriented- networking (I.e connecting to the internet) requires a data-link layer protocol widely-spread.

HDLC

Definition

High-level Data Link Control, Bit-oriented link protocol

published by ISO

foundation for other protocols (examples )

Operations

1st stage – frame formation

2nd stage – medium-dependant frame transmission

Page 8: Introduction to PPP. Using dial-up modems for packet-oriented- networking (I.e connecting to the internet) requires a data-link layer protocol widely-spread.

3 variable-length fields Address – intended for multidrop links Control – specifies the type of message transmitted Information – content transferred by the top level

application 1 fixed-length field

Check

HDLC – frame format

address control information check

HDLC frame

Page 9: Introduction to PPP. Using dial-up modems for packet-oriented- networking (I.e connecting to the internet) requires a data-link layer protocol widely-spread.

Establishing PPP communication requires

transitioning a connection through several

states

Some of these operations are done by

LCP and some by NCP

PPP state machine

Page 10: Introduction to PPP. Using dial-up modems for packet-oriented- networking (I.e connecting to the internet) requires a data-link layer protocol widely-spread.

10

Point-to-Point Protocol

Point-to-Point Protocol (PPP) is a byte-oriented protocol developed in 1990s as a replacement

for SLIP .The packet begins and ends with a flag “01111110”.

Therefore, it suffers the transparency problem.CRC-16 for error control

Supports network layer protocols other than just Internet protocol.

Message length is up to 1500 bytes.

Page 11: Introduction to PPP. Using dial-up modems for packet-oriented- networking (I.e connecting to the internet) requires a data-link layer protocol widely-spread.

Dead Establish

Network

terminate Authenticate

PPP state machine

opened

Success / None

down

closing

fail

fail

up

Page 12: Introduction to PPP. Using dial-up modems for packet-oriented- networking (I.e connecting to the internet) requires a data-link layer protocol widely-spread.

PPP – frame format

Protocoltype of information in data/padding field (I.e: IP, IPCP, LCP, CHAP etc`)

Data/Padding data for the upper layer protocols or PPP control packets

dataprotocolflag addr control padding check

PPP frame

Page 13: Introduction to PPP. Using dial-up modems for packet-oriented- networking (I.e connecting to the internet) requires a data-link layer protocol widely-spread.

LCP

Purposes Link establishment Link maintenance Link termination

Optional operations Link quality determination Authentication

Page 14: Introduction to PPP. Using dial-up modems for packet-oriented- networking (I.e connecting to the internet) requires a data-link layer protocol widely-spread.

LCP - packets

There are 3 classes of LCP packets: Link configuration

configure-request, configure-ack, configure-nak & configure-reject

Link terminationterminate-request & terminate-ack

Link monitoringcode-reject, protocol-reject, echo-request, echo-reply & discard-request

Page 15: Introduction to PPP. Using dial-up modems for packet-oriented- networking (I.e connecting to the internet) requires a data-link layer protocol widely-spread.

NCP

PurposeConfiguring the network layer protocol.

There exists a separate NCP for each

network layer protocol Negotiation process

Same message formats, code numbers

and state machines as LCP

Page 16: Introduction to PPP. Using dial-up modems for packet-oriented- networking (I.e connecting to the internet) requires a data-link layer protocol widely-spread.

IPCP – IP Control Protocol Purpose

TCP/IP matching NCP Establishes, configures and terminates the

TCP/IP network layer protocol Options

IP-Compression protocol – I.e Van-Jacobson (VJ) compressed TCP/IP

IP address – allows dynamic IP configuration DNS & NBNS address

Page 17: Introduction to PPP. Using dial-up modems for packet-oriented- networking (I.e connecting to the internet) requires a data-link layer protocol widely-spread.

PPP – unsupported options Flow control

Any PPP frame sent that overflows thereceiver's buffer are lost

Error correctionPPP includes only Frame Check Sequence (CRC)

Re-sequencingPPP assumes all frames, sent and received, retain their original intended order

Page 18: Introduction to PPP. Using dial-up modems for packet-oriented- networking (I.e connecting to the internet) requires a data-link layer protocol widely-spread.

Tunneling - definitionThe process of running one network protocol

on top of another.

Common use: VPN (Virtual Private Network) Tunneling method

Extending the link between the HDLC driverand the rest of PPP over a separate network

PPP tunneling protocolsL2TP, L2F, PPTP & ethernet (PPPoE)

Tunneling & PPP

Page 19: Introduction to PPP. Using dial-up modems for packet-oriented- networking (I.e connecting to the internet) requires a data-link layer protocol widely-spread.

Tunneling & PPP

Page 20: Introduction to PPP. Using dial-up modems for packet-oriented- networking (I.e connecting to the internet) requires a data-link layer protocol widely-spread.

THE MIDDLE

Next: PPP security

Page 21: Introduction to PPP. Using dial-up modems for packet-oriented- networking (I.e connecting to the internet) requires a data-link layer protocol widely-spread.

Internet layered architechture

Application

Transport

Network

Data Link

Physical Media, clocking and synchronization

Data link operations (???)

Forwarding and route discovery

Port and traffic management

End-user application

Page 22: Introduction to PPP. Using dial-up modems for packet-oriented- networking (I.e connecting to the internet) requires a data-link layer protocol widely-spread.

Data link protocol

Defintionmanages node-to-node transfer of data between

two directly connected machines.

Operations Error detection and correction (depends on the protocol) Addressing (in LANs) Frame-level synchronization between sender and

receiver Flow control Maintaining awareness of link conditions

Page 23: Introduction to PPP. Using dial-up modems for packet-oriented- networking (I.e connecting to the internet) requires a data-link layer protocol widely-spread.

HDLC`s family

HDLC

LAPB)x. 25(

LAPM)v. 42(

LAPD)ISDN(

LLC)LANs(

SDLC)SNA(

LAPX)teletex(

ESF)T1(

MTP-2)SS7(

LAPDm)GSM(

LAPF)frame-relay(

PPP)many(

Page 24: Introduction to PPP. Using dial-up modems for packet-oriented- networking (I.e connecting to the internet) requires a data-link layer protocol widely-spread.

PPP – a layered protocol

Application

Transport

Network

NCP

LCP

HDLC

Physical

Data LinkPPP

Page 25: Introduction to PPP. Using dial-up modems for packet-oriented- networking (I.e connecting to the internet) requires a data-link layer protocol widely-spread.

PPP – design principles Support multiple network protocols

Link configuration Error detection Establishing network addresses Authentication Extansibility

Not limited to the internet and other TCP/IP networks, I.e: IPX/SPX and IPv6

Includes nagotiation mechanisms for establishing communication parameters betweens two PPP peersDetects datagrams corruption upon reception and discards such corrupted dataSets network addresses necessary for the datagrams routing

Supports authentication between peers before useful communication begins

Yet, maintains backward compatibility

Page 26: Introduction to PPP. Using dial-up modems for packet-oriented- networking (I.e connecting to the internet) requires a data-link layer protocol widely-spread.

HDLC(High-level Data Link Protocal)

1.It is a bit-oriented synchronous protocol.

2.HDlC is Data Link Layer Protocl and it is a Communication Protocol .

3.HDLC is Cisco prperitry prtocal and Devloped by ISO and it is delovped out of IBM'S SDLC(Synchronous Data Link Protocol)

4.HDLC is superset of SDLC.

5.It supports only Synchronous comunication.

6.It has 3 transfer modes of Normal Response mode (NRM),Asynchronous Response Mode(ARM),Asynchronous Balanced Mode(ABM).

PPP(Point To Point Protocol)

1.It is a byte-oriented synchronous protocol.

2.It is used for direct Comunication between 2 nodes,it has no transfer mode like HDLC.

3.PPP is type of HLDC .

4.It supports encryption,authentication and Comparision.

5.Authenticaion Support by PAP (password authenticaion protocol) and also by CHAP(Challange Handshake Protocal).

6.It is not a Cisco Proprietary.