HDLC and PPP. The Data Link Layer in the Internet A home personal computer acting as an internet host. Technology like Ethernet cannot provide “high-level”

Slides:



Advertisements
Similar presentations
CH. 7 Data Link Control. Requirements & Objectives of Data Link Control Frame Synchronization Flow Control Error Control Addressing Control and Data on.
Advertisements

Telecommunication Technologies
Data Link Protocols(HDLC & PPP). Data Link Protocols The set of specifications used to implement the DLL. DLL Protocols Synchronous Protocols Character-oriented.
HIGH-LEVEL DATA LINK CONTROL (HDLC) HDLC was defined by ISO for use on both point-to-point and multipoint data links. It supports full-duplex communication.
William Stallings Data and Computer Communications 7th Edition
C) All rights reserved by Professor Wen-Tsuen Chen1 Chapter 3 The Data link Layer ä For reliable, efficient communication between two adjacent machines.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 7 – Data Link Control Protocols.
CEG3185 TUT6 Prepared by Zhenxia Zhang Revisited by Jiying Zhao.
Chapter 11 Data Link Control (DLC) Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Data and Computer Communications Updated: 2/9/2009.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Data Link Control Slide 1 Data Link Control Chapter 7.
Piggybacking A method to combine a data frame with ACK. Station A and B both have data to send. Instead of sending separately, station A sends a data frame.
5/31/05CS118/Spring051 twisted pair hub 10BaseT, 100BaseT, hub r T= Twisted pair (copper wire) r Nodes connected to a hub, 100m max distance r Hub: physical.
11-6 HDLC High-level Data Link Control (HDLC) is a bit-oriented protocol for communication over point-to-point and multipoint links. It implements the.
Data Link Control Protocols Data link control protocol Provides a layer of control between systems on a transmission medium referred to as data link. DLC.
11-6 HDLC High-level Data Link Control (HDLC) is a bit-oriented protocol for communication over point-to-point and multipoint links. It implements the.
William Stallings Data and Computer Communications 7 th Edition Chapter 7 Data Link Control Protocols.
VLANs Port-based VLAN: switch ports grouped (by switch management software) so that single physical switch …… Switch(es) supporting VLAN capabilities can.
The Data Link Layer. Data Link Layer Design Issues Services Provided to the Network Layer Framing Error Control Flow Control.
1 Interconnection ECS 152A. 2 Interconnecting with hubs r Backbone hub interconnects LAN segments r Extends max distance between nodes r But individual.
1 ELEN 602 Lecture 6 Review of last lecture –Generator polynomials –Stop-and-wait, Go-back-N ARQ Today’s lecture –Selective Repeat ARQ –Analysis of all.
Chapter 10 Data Link Control Protocols. Agenda Definition Functions Attributes Concepts Types Conversion.
Example Data Link Protocols Quick review Reference Models? Layers? Flow Control? Bit stuffing? Connection Oriented? Synchronous transmission?
Data Link Protocols Asynchronous Protocols Synchronous Protocols
Gursharan Singh Tatla DATA LINK PROTOCOLS 24-Mar
Point to Point protocol (PPP) Point to point, wired data link easier to manage than broadcast link: no Media Access Control Several Data Link Protocols:
MODULE I NETWORKING CONCEPTS.
3-1 Last time □ Finished introduction and overview: ♦ Network access and physical media ♦ Internet structure and ISPs ♦ Delay & loss in packet-switched.
Chapter 5 outline 5.1 Introduction and services
Network Technology CSE Network Technology CSE3020 Week 6.
Introduction 1 Lecture 26 Link Layer (PPP, Virtualization) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science &
Data and Computer Communications Eighth & Ninth Edition by William Stallings Chapter 7 – Data Link Control Protocols.
Chapter 5: The Data Link Layer
Data Link Control Protocols Dr. Muazzam A. Khan. Flow Control Ensuring the sending entity does not overwhelm the receiving entity —Preventing buffer overflow.
Aegis School of Telecommunication Chapter 7 Data Link Control Protocols Telecom Systems I by Dr. M. G. Sharma, Phd.
Data and Computer Communications Tenth Edition by William Stallings Data and Computer Communications, Tenth Edition by William Stallings, (c) Pearson Education.
Giuseppe Bianchi Layer 2 Framing HDLC (High-level Data Linl Control)
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Control and Protocols.
1 Kyung Hee University Data Link Protocols. 2 Kyung Hee University 11 장 Data Link Control and Protocols 11.1 Flow and Error Control 11.2 Stop-and-Wait.
Computer Networks Module 3: Data Link Layer (Framing) Dr. Vikram Shete St. Francis Institute of Technology.
Chapter 11 Data Link Protocols A data link protocol is a set of specifications used to implement the data link layer [A protocol is the set of rules or.
Chapter 11 Data Link Control
Data Link Layer: Data Link Control : Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D.
DATA LINK CONTROL PROTOCOLS. 2 Introduction Data link control layer – often abbreviated simply to data link layer – is concerned with the transfer of.
5: DataLink Layer5-1 Chapter 5 Link Layer and LANs Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose, Keith Ross.
UNIT-2 Design Issues in Data link Layer Framing
GBT SCA overview Slide 1-5 Work status Slide 6-10 Shuaib Ahmad Khan.
CIS : Data Link Control. Flow Control Ensuring the sending entity does not overwhelm the receiving entity —Preventing buffer overflow Transmission.
Data Link Protocols ผศ.ดร. อนันต์ ผลเพิ่ม
1 Reliable stream service--TCP 1.TCP accepts byte stream, segments 2.It is over IP, so out-of-sequence is very common --lost or error frame results in.
5: DataLink Layer5-1 Hubs Hubs are essentially physical-layer repeaters: m bits coming from one link go out all other links m at the same rate m no frame.
FIT – Monash University High-Level Data Link Control
Data and Computer Communications Data Link Control Protocols.
+ PPP Protocol. + Outline WAN Data Link Layer protocols Point-to-point serial communications Transmission Synchronization HDLC.
Data Communications Data Link Layer.
CS 457 – Lecture 3 Link Layer Protocols Fall 2011.
Data Link Control Protocols  need layer of logic above Physical  to manage exchange of data over a link frame synchronization frame synchronization flow.
High level Data Link Layer Protocol - HDLC
HDLC and PPP.
Chapter 11 Data Link Control (DLC)
Chapter 11 - Part 2 Data Link Control.
Hubs Hubs are essentially physical-layer repeaters:
ICSA 341 Data Communications & Networking
Point to Point Data Link Control
CIS 321 Data Communications & Networking
Hubs Hubs are essentially physical-layer repeaters:
Instructor Mazhar Hussain
Jiying Zhao SITE, University of Ottawa Canada.
Data Link Control (DLC) Services
William Stallings Data and Computer Communications
Presentation transcript:

HDLC and PPP

The Data Link Layer in the Internet A home personal computer acting as an internet host. Technology like Ethernet cannot provide “high-level” functionality like connection management and parameter negotiation

3 Point to Point Data Link Control One sender, one receiver, one link: easier than broadcast link: No Media Access Control No need for explicit MAC addressing E.g., dialup link, ISDN line Popular point-to-point and high-level DLC protocols: PPP (point-to-point protocol) HDLC: High level data link control (Data link used to be considered “high layer” in protocol stack). HDLC is also used in multi-point links (one station many receivers) These protocols can often be run over other data link technologies providing best of both worlds –E.g., PPPoE, HDLC encapsulation by Ethernet

4 PPP Design Requirements [RFC 1557] Functionality : (similar to link layer services + extra management functions) Packet framing - encapsulation of network-layer datagram in data link frame –Multi-protocol - carry network layer data of any network layer protocol (not just IP) at same time ability to demultiplex upwards Bit transparency - must carry any bit pattern in the data field (even if underlying channel can't) Error detection - not correction

5 PPP Design Requirements (cont.) The extra stuff: Connection liveness: detect, signal link failure to network layer Network layer address negotiation: endpoint can learn/configure each other’s network address and other characteristics. Authentication: who are you (or at least whose account do I bill for your dial-in time?) –This information is used by traffic management software to control bandwidth to individual subscribers Management features: loopback detection

6 PPP non-requirements No error correction/recovery (modems do one layer FEC, one layer packetization + retransmission “under the covers” anyway; other technologies are pretty reliable) No flow control Out of order delivery OK Error recovery, flow control, data re-ordering all relegated to higher layers!

7 PPP Data Frame Flag: delimiter (framing) Address: ignored. (historical) Control: ignored. (historical) Protocol: upper layer protocol to which frame delivered (e.g., PPP-LCP, IP, IPCP, etc)

8 PPP Data Frame info: upper layer data being carried check: cyclic redundancy check for error detection

Byte Stuffing flag byte pattern in data to send flag byte pattern plus stuffed byte in transmitted data

10 PPP Data Control Protocol Before exchanging network- layer data, data link peers must Configure PPP link (max. frame length, authentication) Learn/configure network layer information –for IP: carry IP Control Protocol (IPCP) msgs (protocol field: 8021) to configure/learn IP address

11 Where does PPP get used? Dial-up – PPP over async serial, over modem ADSL – PPP over Ethernet Backbone – Packet over SONET (POS) Why? –Framing (dialup, POS) –Efficiency (POS) –Authentication, address negotiation (PPPoE)

High-Level Data Link Control (HDLC) HDLC was defined by ISO for use on both point- to-point and multipoint data links. It supports full-duplex communication Other similar protocols are –Synchronous Data Link Control (SDLC) by IBM –Advanced Data Communication Control Procedure (ADCCP) by ANSI –Link Access Procedure, Balanced (LAP-B) by CCITT, as part of its X.25 packet-switched network standard

HDLC Overview Broadly HDLC features are as follows: Reliable protocol –selective repeat or go-back-N Full-duplex communication –receive and transmit at the same time Bit-oriented protocol –use bits to stuff flags occurring in data Flow control –adjust window size based on receiver capability Uses physical layer clocking and synchronization to send and receive frames

HDLC Overview Defines three types of stations –Primary –Secondary –Combined Defines three types of data transfer mode –Normal Response mode –Asynchronous Response mode –Asynchronous Balanced mode Three types of frames –Unnumbered –information –Supervisory

HDLC The three stations are : –Primary station Has the responsibility of controlling the operation of data flow the link. Handles error recovery Frames issued by the primary station are called commands. –Secondary station, Operates under the control of the primary station. Frames issued by a secondary station are called responses. The primary station maintains a separate logical link with each secondary station. –Combined station, Acts as both as primary and secondary station. Does not rely on other for sending data

HDLC Primary Secondary Commands Responses Combined commands/Responses Unbalanced Mode Balanced mode

HDLC The three modes of data transfer operations are –Normal Response Mode (NRM) Mainly used in terminal-mainframe networks. In this case, Secondaries (terminals) can only transmit when specifically instructed by the primary station in response to a polling Unbalanced configuration, good for multi-point links –Asynchronous Response Mode (ARM) Same as NRM except that the secondaries can initiate transmissions without direct polling from the primary station Reduces overhead as no frames need to be sent to allow secondary nodes to transmit Transmission proceeds when channel is detected idle, used mostly in point-to-point-links –Asynchronous Balanced Mode (ABM) Mainly used in point-to-point links, for communication between combined stations

Non-operational Modes Normal Disconnected Mode Asynchronous Disconnected Mode Both the above modes mean that the secondary node is logically disconnected from the primary node Initialization Mode –A node negotiates transmission parameters with the other node E.g., flow control information –Parameters negotiated in this mode are used during any of the data transfer modes

Data Link Control HDLC frame structure (a) Frame Format (b) Control field format

Data Link Control HDLC frame structure (c) Extended address field(d) Extended control field

HDLC Flag: start and ending delimiter. Bits are stuffed for flags in data frames FCS: 16-bit CRC using generating polynomial G(x) = x 16 + x 12 + x Address field: –mainly used in multidrop link configuration, and not used in point-to-point –In unbalanced configuration, every secondary is assigned a unique address. Contains address of secondary station in both command and response frames –In balanced mode, command frame has destination address and response frame has sending node’s address –Group addresses are also possible. E.g., One command sent to all the secondaries In I-frames, N(s) is the sequence number of the frame being sent, and R(s) is the sequence number of the frame being expected. The P/F bit, known as the poll/final bit, is used with different meaning in different contexts. –It is used to indicate polling, to indicate the final I-frame, etc

HDLC There are three different classes of frames used in HDLC –Unnumbered frames, used in link setup and disconnection, and hence do not contain ACK. –Information frames, which carry actual information. Such frames can piggyback ACK in case of ABM –Supervisory frames, which are used for error and flow control purposes and hence contain send and receive sequence numbers

HDLC There are four different supervisory frames –SS=00, Receiver Ready (RR), and N(R) ACKs all frames received up to and including the one with sequence number N(R) - 1 –SS=10, Receiver Not Ready (RNR), and N(R) has the same meaning as above –SS=01, Reject; all frames with sequence number N(R) or higher are rejected, which in turns ACKs frames with sequence number N(R) -1 or lower. –SS=11, Selective Reject; the receive rejects the frame with sequence number N(R)

HDLC The unnumbered frames can be grouped into the following categories: –Mode-setting commands and responses –Recovery commends and responses –Miscellaneous commands and responses

Review of Link Layer Services –Framing –Error control –Reliability –Connection management –Medium access control –Switching Protocols, Standards –Ethernet –Token Ring –FDDI –Wireless –PPP –HDLC