Lecture 10 (Data Link Layer) Outline
Lecture 10 (Data Link Layer) Outline
HDLC frame:
Bit stuffing:
z Is the process of adding one extra 0 whenever
there are five consecutive 1s in the data so that
the receiver does not mistake the data for a flag.
Control field:
z N(S) = N(R) = 3 bits – means window size = 8
z Uses piggybacking – means combining data to be
sent with acknowledgement of the frame received.
Poll/final field:
z Has meaning only when it is set (= 1).
z Can mean poll or final depending the frame
sender.
S-frame:
z Used for link access control.
z Also used for ACK/NACK when the receiver does
not have data (I-frame) to send.
PPP frame:
Protocol field:
z Allow to carry data of any network layer protocol
(not just IP) at the same time.
LCP packets for link establishment.
CHAP packets for user authentication.
NCP, IPX, Appletalk packets – other network layer
protocols.
z This allows PPP to support:
User authentication.
Dynamic assignment of IP address.
Uses LCP
Uses PAP
Uses LCP
CSC4430 – Data Communication and Computer Networks 15
10.1.2. Point-to-Point Protocol
LCP packet:
z Fields:
Code: defines the type of LCP packet.
PAP packet:
z There are three types of PAP packets.
z PAP packets are encapsulated in a PPP frame.
Ethernet:
z “Dominant” LAN technology.
Cheap HK$100 for 100 Mbps.
Simpler, cheaper than token passing LANs.
Kept up with speed race: 10, 100, 1000 Mbps
z Link layer services:
Framing: Bit-oriented framing.
Flow control: no flow control.
Error control: CRC for error detection, no error
correction – provide unreliable services.
Link access control: uses CSMA/CD for MAC
protocol.
Ethernet frame:
Physical specifications:
z Two categories:
IEEE 802.11:
z Defines physical layer and MAC functionalities.
z Physical:
Uses unlicensed RF frequency 2.4Ghz and infrared.
Allows bit rate 1–2 Mbps.
z Link layer services:
Framing: Bit-oriented framing.
Flow control: no flow control.
Error control: CRC for error detection, no error
correction – provide unreliable services.
Link access control: uses CSMA/CA for MAC
protocol.
Internetworking Devices
(Forouzan Chapter 21)
41