DCN Unit2 3topics
DCN Unit2 3topics
Timing Diagram
Parameter Meaning It is the ancestor of many WAN protocols (LAPB/LAPD, SDLC, Frame Relay
Window size (W) Max frames outstanding (un-ACKed). core, PPP frame format).
SeqNum field (k bits) Values 0 … 2ᵏ–1 used modulo-2ᵏ arithmetic. Works on synchronous as well as asynchronous serial media.
2. Salient Features
Feature Description
pg. 8
Bit-oriented framing Data treated as a stream of bits; special 8-bit flag 01111110
delimits frames.
Bit stuffing Inserts a 0 after every sequence of five consecutive 1s in the
payload to prevent false flags.
Error detection 16- or 32-bit CRC (Frame Check Sequence).
Flow & error control Stop-and-wait style using sequence numbers,
acknowledgements, and supervisory frames.
Multiprotocol & Supports one-to-one, one-to-many, balanced or unbalanced
multipoint links.
Extensible Several derivatives (PPP, LAPB, LAPD) share the same
flag/FCS structure.
4. Types of Frames
5. Operational Modes
Mode Topology Master/Slave? Typical Use
NRM – Normal Multipoint Primary (master) controls Legacy
Response dialogue; secondary transmits multipoint
only when polled. lines.
ABM – Point-to-point Both stations are equal; Most modern
Asynchronous full-duplex operation with PPP-style links.
Balanced independent sequence numbers.
ARM – Rare Secondary may transmit Some old
Asynchronous without explicit poll but still half-duplex
Response recognises a primary. lines.
pg. 9
PPP (Point-to-Point Protocol) Supports multiple network layer protocols like IP, IPX, and AppleTalk.
Provides error detection using Cyclic Redundancy Check (CRC).
1. Overview Allows for authentication using PAP (Password Authentication Protocol) or
CHAP (Challenge Handshake Authentication Protocol).
Supports data compression and encryption (optional).
Point-to-Point Protocol (PPP) is a data link layer protocol used to establish a direct
connection between two nodes over serial links (like telephone lines, DSL, or fiber).
4. Frame Format
PPP provides framing, error detection, authentication, and multi-protocol support, making
it more advanced than older protocols like SLIP (Serial Line Internet Protocol). Figure 7 shows the format of a PPP frame and its field has been described in the below
table.
PPP is a byte-oriented protocol using byte-stuffing with the escape byte 01111101.
PPP operates in five phases as shown in Figure 6. Each phase has been described in the
below table.
Figure 7 PPP Frame Format
Field Description:
Phase Description
1. Link Establishment (LCP) Negotiates link parameters (frame size,
compression, authentication).
2. Authentication (optional) Verifies identity using PAP or CHAP.
3. Network Layer Protocol Establishes and configures network layer
Configuration (NCP) protocol (e.g., IP).
4. Data Transmission Transfers encapsulated data using PPP frames.
5. Link Termination Closes the session using LCP packets.
Field Size Purpose
Flag 1 Byte Marks the beginning and end of the frame (01111110)
Address 1 Byte Broadcast address (default: 0xFF)
Figure 6. PPP Operation Process Control 1 Byte Always 0x03 (for unnumbered frame)
Protocol 2 Bytes Identifies the upper-layer protocol (e.g., 0x0021 for IP)
Payload Variable Actual data being transmitted
FCS 2 or 4 Error detection using CRC
Bytes
3. Key Features
Application Description
Dial-up Internet Used in early Internet connections via telephone lines.
DSL (Digital Subscriber Line) Used as PPPoE (PPP over Ethernet).
VPN (Virtual Private Network) Some VPNs use PPTP, which is based on PPP.
Serial Line Communication Between routers or modems over serial interfaces.
pg. 11