Newtworking
Newtworking
Networks
Lecture# 9
Lecture Slides Prepared by:
Syed Irfan Ullah
Abasyn University Peshawar
1. Introduction
2. DLL Design
a.
b.
Error Control
c.
Flow Control
a.
Stop-and-Wait Protocol
b.
c.
d.
e.
f.
g.
Selective Reject
a. HDLC Operation
b. HDLC Protocol
2
TCP connection
req
Hi
TCP connection
response
Get
http://www.awl.com/kurose-ross
Got the
time?
2:00
time
<file>
application
transport
network
link
physical
DLL functions:
Providing service interface to the network layer.
Data Link Protocols must take circuit errors,
Flow regulating.
4
Some terminology:
Hosts, bridges, switches and
routers are nodes
Communication channels
that connect adjacent nodes
along communication path
are links
wired links
wireless links
LANs
frame, encapsulates
datagram
Data link layer has responsibility of
transferring datagram from one node
to adjacent node over a data link
Network Layer
Sending machine
Packet
Receiving machine
Frame
Packet
application
transport
network
link
physical
destination
application
Ht
transport
Hn Ht
network
Hl Hn Ht
link
physical
message
segment
M
M
datagram
frame
network
link
physical
application
transport
network
link
physical
data
application
transport
network
link
physical
8
1.
2.
Stop-and-wait ARQ
Go-back-N ARQ
Selective-reject ARQ
16