Communication Layers in Computer Networks

 
F
i
g
u
r
e
 (
2.
7
)
 H
op
-
to
-
hop
 
d
e
liv
e
r
y
 
 
A
s
 
the
 
f
i
g
u
r
e
 
sho
w
s,
 
c
o
mmuni
ca
tion
 
a
t
 
the
 
d
a
ta
 
link
 
l
a
y
e
r
 
o
cc
u
r
s
 
b
e
t
w
ee
n
 
t
w
o
 
a
dj
ace
nt
 
nod
e
s.
 
T
o
 
s
e
nd
 
d
a
ta 
fr
om
 
A
 
to
 
F
,
 
th
re
e
p
ar
ti
a
l
 
d
e
liv
er
i
e
s
 
ar
e
 
m
a
d
e
.
 
F
i
r
st,
 
the
 
d
a
ta
 
link
 
l
a
y
e
r
 
a
t
 
A
 
s
e
nds
 
a
 
fra
me
 
to
 
the
 
d
a
ta
 
link l
a
y
e
r
 
a
t
 
B
 
(
a
 
r
out
e
r)
.
 
S
ec
ond,
 
the
 
d
a
ta
link
 
l
a
y
e
r
 
a
t
 
B
 
s
e
nds
 
a
 
n
e
w
 
fra
m
e
 
t
o
 
the
 
d
a
ta
 
link
 
l
a
y
e
r
 
a
t
 
E
.
 
F
in
a
l
l
y
, the
 
d
a
ta
 
link
 
l
a
y
e
r
 
a
t
 
E
 
s
e
nds
 
a
 
n
e
w
 
fra
me
 
to
 
the
 
d
a
ta
 
link
l
a
y
e
r
 
a
t
 
F
.
 
N
ote
 
th
a
t
 
the
 
fra
m
e
s
 
th
a
t
 
ar
e
 
e
x
c
h
a
ng
ed 
b
e
t
wee
n
 
the
 
th
r
e
e
 
no
d
e
s
 
h
a
ve
 
di
f
f
ere
nt
 
v
a
l
u
e
s
 
in
 
the
 
h
ea
d
er
s.
 
T
he
 
fra
me
f
r
om
 
A
 
to
 
B
 
h
a
s
 
B
 
a
s
 
the
 
d
e
stin
a
tion 
a
dd
re
ss
 
a
nd
 
A
 
a
s
 
the
 
sou
rc
e
 
a
dd
r
e
ss.
 
T
he
 
fra
m
e
 
fr
om
 
B
 
to
 
E
 
h
a
s
 
E
 
a
s
 
t
h
e
 
d
e
stin
a
tion
a
dd
re
ss
 
a
nd
 
B
 
a
s
 
the sou
rc
e 
 
a
dd
re
ss.
 
T
h
e
 
f
ra
me
 
fr
om
 
E
 
to 
 
F
 
h
a
s 
 
F
 
a
s
 
the
 
d
e
stin
a
tion
 
a
dd
re
ss 
 
a
nd
 
E
 
a
s
 
the 
 
sou
r
c
e
 
a
d
d
re
ss.
T
he v
a
lu
e
s of
 
the
 
t
ra
il
e
r
s 
ca
n
 
a
lso
 
be
 
di
ff
e
re
nt if
 
e
rr
or
 
c
h
ec
ki
n
g
 
in
c
lud
e
s the
 
h
e
a
d
e
r
 
of
 
t
h
e
 f
r
a
m
e.
 
 
Net
w
o
rk
 
 
Lay
er
: 
 
- 
 
T
he 
 
n
e
t
w
o
r
k 
 
l
a
y
e
r 
 
is 
 
re
sp
o
nsible 
 
f
or 
 
the 
 
sou
r
ce-
t
o
-
d
e
stin
a
tion 
 
d
e
liv
e
r
y 
 
of 
 
a 
 
p
ac
k
e
t, possib
l
y
 
acr
oss
multiple 
 
n
e
t
w
o
r
ks 
 
(
links
)
. 
 
W
h
erea
s 
 
the 
 
d
a
ta 
 
link 
 
l
a
y
e
r 
 
o
v
er
s
ee
s 
 
the 
 
d
e
liv
e
r
y
 
of 
 
t
he 
 
p
ac
k
e
t b
e
t
wee
n
 
t
w
o
 
s
y
s
t
e
ms
 
on
 
the
 
s
a
me
n
e
t
w
o
r
k
 
(
links
)
,
 
the
 
n
e
t
w
o
r
k
 
l
a
y
e
r
 
e
ns
u
re
s
 
th
a
t
 
eac
h
 
p
a
c
k
e
t
 
g
e
ts
 
fr
om
 
its point
 
of
 
o
r
i
g
in
 
to
 
its
 
f
in
a
l
 
d
e
stin
a
tion.
 
I
f
 
t
w
o
 
s
y
st
e
ms
ar
e
 
c
onn
ec
t
e
d
 
to
 
the
 
s
a
me
 
link,
 
th
er
e
 
is
 
usu
a
l
l
y
 
no
 
n
ee
d 
f
or
 
a
 
n
e
t
w
o
r
k
 
l
a
y
e
r
.
 
H
o
we
v
er
,
 
i
f
 
the
 
t
w
o
 
s
y
st
e
m
s
 
ar
e
 
a
tt
ac
h
e
d
 
to
di
ff
e
re
n
t
 
n
e
t
w
o
r
ks
 
(
links)
 
w
ith
 
c
onn
ec
ting d
e
vi
ce
s
 
b
e
t
w
ee
n
 
the
 
n
e
t
w
o
r
ks
 
(
links
)
,
 
th
er
e
 
is
 
o
f
t
e
n
 
a
 
n
ee
d
 
f
o
r
 
the
 
n
e
t
w
o
r
k
 
l
a
y
e
r
to
 
a
c
c
omplish
 
sou
rce-
to- d
e
stin
a
tion 
 
d
e
liv
e
r
y
. 
 
F
i
gu
r
e 
 
2.8 
 
sho
w
s 
 
the 
 
re
l
a
t
i
onship 
 
of 
 
the 
 
n
e
t
w
o
r
k 
 
l
a
y
e
r 
 
to 
 
the 
 
d
a
ta 
 
link 
 
a
n
d
t
ra
nspo
r
t l
a
y
e
r
s.
 
F
i
g
u
r
e
 (
2.
8
)
 Ne
t
w
o
r
k l
a
y
er
 
 
N
ot
e
: -
 
The
 
net
w
ork
 
la
y
er is
 
re
s
pon
s
ib
l
e
 
f
or the
 
d
e
l
i
v
e
r
y
 
o
f
 
indi
v
idual pac
k
ets
 
f
rom the
 
s
our
c
e
 
ho
s
t to
 
t
h
e de
s
ti
n
ation
 
ho
s
t.
 
O
th
e
r
 re
sponsibiliti
e
s of
 
the
 
n
e
t
w
o
r
k l
a
y
e
r
 
in
c
lude
 
the
 f
ollo
w
in
g
:-
L
o
g
i
c
a
l 
 
a
dd
r
e
ssin
g
. 
 
T
h
e 
 
p
h
y
s
i
ca
l 
 
a
dd
r
e
ssi
n
g 
 
impl
e
m
e
nt
e
d 
 
b
y 
 
t
h
e 
 
d
a
t
a 
 
link 
 
l
a
y
e
r 
 
h
a
nd
l
e
s 
 
the 
a
dd
re
ssi
n
g
p
r
obl
e
m 
 
lo
ca
l
l
y
. 
 
I
f 
 
a 
 
p
ac
k
e
t 
 
p
a
ss
e
s 
 
t
he 
 
n
e
t
w
o
r
k 
 
boun
d
a
r
y
, 
 
w
e 
 
n
ee
d 
 
a
noth
e
r 
 
a
d
d
re
ss
i
ng
s
y
st
e
m
 
to
 
h
e
lp
 
distin
g
uish
 
the
 
sou
rc
e
 
a
nd
 
d
e
stin
a
t
i
on
 s
y
st
e
ms.
 
T
he
 
n
e
t
w
o
r
k
 
l
a
y
e
r
 
a
dds
 
a
 
h
e
a
d
e
r
 
to
 
t
h
e
p
ac
k
e
t
 
c
omi
n
g
 
fr
om
 
the
 
upp
e
r
 
l
a
y
e
r
 
th
a
t,
 
a
mo
n
g
 
oth
e
r
 
thin
g
s,
 
in
c
lud
e
s
 
the
 
lo
g
i
c
a
l
 
a
dd
re
ss
e
s
 
of
 
t
h
e s
e
nd
e
r
 a
nd
re
c
e
iv
er
. 
W
e
 
d
is
cu
ss lo
g
i
ca
l 
a
d
d
re
ss
e
s
 
l
a
t
e
r
 
in this 
c
h
a
pt
er
.
Routin
g
. 
 
W
h
e
n 
 
ind
e
p
e
n
d
e
nt 
 
n
e
t
w
o
r
ks 
 
o
r 
 
links 
 
ar
e 
 
c
onn
e
c
t
e
d 
 
to 
 
cr
e
a
te 
 
int
e
rn
e
twor
k
s 
 
(
n
e
t
w
o
r
k 
 
of n
e
t
w
o
r
ks)
 
or
 
a
l
a
r
ge
 
n
e
t
w
o
r
k,
 
the
 
c
on
n
ec
ti
n
g
 
de
v
i
ce
s
 
(
c
a
ll
e
d
 
rout
e
rs
 
or
 
s
w
it
c
h
e
s
)
 
r
oute
 
or
 
s
w
it
c
h
 
the p
ac
k
e
ts 
 
to 
 
th
e
ir 
 f
in
a
l
d
e
stin
a
tion. 
 
O
ne 
 
of 
 
the 
 
f
un
c
tions 
 
of 
 
the 
 
n
e
t
w
o
r
k  l
a
y
e
r 
 
is 
 
to 
 
p
r
ovide 
 
th
i
s m
ec
h
a
nism.
F
i
g
u
r
e
 
2.9 illust
ra
t
e
s 
e
n
d
-
to
-e
nd d
e
liv
e
r
y
 
b
y
 
t
h
e
 
n
e
t
w
o
r
k l
a
y
e
r
.
 
F
i
g
u
r
e
 (
2.
9
)
 
Sou
rc
e
-
to
-
d
e
stin
a
tion d
e
liv
e
r
y
 
A
s
 
the
 
f
i
g
u
r
e
 
sho
w
s,
 
n
o
w
 
w
e
 
n
e
e
d
 
a
 
sou
r
ce-
to
-
d
e
stin
a
tion
 
d
e
liv
e
r
y
.
 
T
he
 
n
e
t
w
o
r
k
 
l
a
y
e
r
 
a
t
 
A
 
s
e
nds
 
the
 
p
ac
k
e
t to
 
the
 
n
e
t
w
o
r
k
l
a
y
e
r
 
a
t
 
B.
 
W
h
e
n
 
the
 
p
ac
k
e
t
 
a
r
r
iv
e
s
 
a
t
 
r
out
e
r
 
B
,
 
t
h
e
 
r
out
e
r
 
m
a
k
e
s
 
a
 
d
e
c
ision
 
b
a
s
e
d
 
o
n
 
the
 
f
i
n
a
l d
e
stin
a
tion
 
(
F
)
 
of
 
the
 
p
ac
k
e
t.
Rout
e
r
 
B us
e
s
 
its
 
r
outing t
a
ble
 
to
 
f
ind
 
th
a
t
 
the
 
n
e
x
t
 
hop
 
is 
r
out
e
r
 
E
.
 
T
he
 
n
e
t
w
o
r
k l
a
y
e
r
 
a
t
 
B
,
 
th
e
r
ef
o
r
e
,
 
s
e
n
ds
 
the
 
p
a
c
k
e
t
 
to
 
t
h
e
n
e
t
w
o
r
k
 
l
a
y
e
r
 
a
t
 
E
.
 
T
h
e
 
n
e
t
w
o
r
k
 
l
a
y
e
r
 
a
t
 
E
,
 
in
 
tu
r
n,
 
s
e
nds
 
t
h
e p
ac
k
e
t to the
 
n
e
t
w
o
r
k l
a
y
e
r
 a
t 
F
.
 
 
T
r
anspo
r
t
 
Lay
er
:-
T
he
 
t
ra
nspo
r
t
 
l
a
y
e
r
 
is
 
r
e
spo
n
sible
 
f
or
 
p
r
o
ce
s
s
-
to
-
p
r
o
c
e
ss
 
d
e
liv
e
r
y
 
of
 
the
 
e
nti
r
e
 
m
e
ss
a
g
e
. A 
 
p
r
o
c
e
ss 
 
is 
 
a
n
a
ppli
c
a
tion 
 
p
r
o
g
r
a
m 
 
r
unni
n
g 
 
o
n 
 
a 
 
host. 
 
W
h
er
e
a
s 
 
the 
 
n
e
t
w
o
r
k 
 
l
a
y
e
r 
 
ov
e
r
s
ee
s 
 
sou
rce-
to- d
e
stin
a
tion
 
d
e
liv
e
r
y
 
o
f
 
i
ndividu
a
l
p
ac
k
e
ts,
 
it
 
d
o
e
s
 
not
 
r
e
c
o
g
ni
z
e
 
a
n
y
 
re
l
a
t
ionship
 
b
e
t
wee
n
 
tho
s
e
 
p
ac
k
e
ts. 
 
I
t t
rea
ts
 
e
a
c
h
 
one
 
ind
e
p
e
n
d
e
nt
l
y
,
 
a
s
 
tho
u
g
h
 
e
a
c
h
 
pi
e
c
e
b
e
lo
n
g
e
d
 
to
 
a
 
s
e
p
a
ra
t
e
 
m
e
ss
a
g
e
,
 
w
h
e
t
h
e
r
 
or
 
n
ot
 
it
 
do
e
s
. 
T
he
 
t
ra
nspo
r
t
 
l
a
y
e
r
,
 
on
 
the
 
oth
e
r
 
h
a
nd,
 
e
nsu
re
s
 
th
a
t
 
the
 
w
hole
 
m
e
ss
a
g
e
a
rr
iv
e
s
 
int
ac
t
 
a
nd
 
in
 
o
r
d
er
,
 
ov
er
s
ee
i
n
g both
 
err
or
 
c
ont
r
ol
 
a
nd
 
f
low
 
c
ont
r
ol
 
a
t
 
the
 
sou
rce-
to
-
d
e
stin
a
tion
 
l
e
v
e
l.
 
F
igu
r
e
 
2.10
 
sho
w
s
the
 
re
l
a
tionship
 
of the
 
t
ra
nspo
r
t l
a
y
e
r
 
to the
 
n
e
t
w
o
r
k 
a
nd s
e
ssion l
a
y
e
r
s.
 
F
i
g
u
r
e
 (
2.1
0
)
 T
r
a
nspo
r
t l
a
y
e
r
N
ot
e
: 
-
T
he
 
t
ra
nsp
o
r
t l
a
y
e
r
 
is 
re
sponsible
 f
or
 
the
 
d
e
liv
e
r
y
 
o
f
 
a
 
m
e
ss
a
ge
 fr
om
 
one
 
p
r
o
ce
ss to
 
a
noth
er
. 
O
th
e
r
re
sponsibiliti
e
s of
 
the
 
t
ra
nspo
r
t l
a
y
e
r
 
in
c
lude
 
the
 f
ollo
w
in
g
:
S
er
vi
ce-
point 
 
a
dd
r
e
ssing. 
 
Comput
er
s 
 
o
f
t
e
n 
 
r
un 
 
s
e
v
era
l 
 
p
r
o
g
ra
ms 
 
a
t 
 
the 
 
s
a
me 
 
tim
e
. 
 
F
or 
 
this 
 
rea
son, sou
rce-
to
-
d
e
stin
a
tion
 
d
e
liv
e
r
y 
m
ea
ns
 
d
e
liv
e
r
y
 
not
 
on
l
y
 
fr
om
 
one
 
c
omput
e
r
 
to
 
the
 
n
e
xt
 
but
 
a
lso
 
fr
om
 
a
sp
ec
i
f
ic
 
p
r
o
c
e
ss
 
(r
unning
 
p
r
o
g
r
a
m)
 
on
 
one
 
c
omput
e
r
 
to
 
a
 
sp
ec
i
f
ic
 
p
r
o
ce
ss
 
(r
unning
 
p
r
o
g
ra
m)
 
on
 
the oth
er
. 
 
T
he
t
ra
nsp
o
r
t 
 
l
a
y
e
r 
 
h
ea
d
e
r 
 
m
u
st 
 
th
er
e
f
o
r
e 
 
in
c
lude 
 
a 
 
t
y
pe 
 
of 
 
a
d
d
re
ss 
 
ca
ll
e
d 
 
a 
 
s
e
r
v
i
c
e-
po
i
nt addr
e
ss
 
(
or
 
po
r
t
 
a
d
d
re
ss
)
.
T
he
 
n
e
t
w
o
r
k
 
l
a
y
e
r
 
g
e
ts
 
eac
h
 
p
ac
k
e
t
 
to
 
the
 
c
o
r
re
c
t
 
c
omput
er
;
 
the
 
t
ra
nsp
o
r
t l
a
y
e
r
 
g
e
ts the
 
e
nti
r
e
 
m
e
s
s
a
ge
 
to the
 c
o
r
r
e
c
t
p
r
o
ce
ss
 
on th
a
t 
c
omput
er
.
 
 
S
e
g
m
e
nt
a
tion
 
a
nd
 
r
ea
ss
e
mb
l
y
.
 
A
 
m
e
ss
a
g
e
 
is
 
div
i
d
e
d
 
into
 
t
ra
nsmitt
a
ble
 
s
e
g
m
e
nts,
 
w
ith
 
eac
h
 
s
e
g
m
e
nt 
c
ont
a
ining
 
a
s
e
qu
e
n
c
e
 
n
u
m
ber
.
 
T
h
e
se
 
numb
er
s
 
e
n
a
ble
 
the
 
t
ra
nspo
r
t
 
l
a
y
e
r
 
to
 
rea
ss
e
mble
 
the
 
m
e
ss
a
g
e 
c
o
rr
e
c
t
l
y 
 
upon  
a
rr
iving 
 
a
t  the
d
e
stin
a
tion  
a
nd 
 
to  id
e
nti
f
y 
 
a
nd 
 
re
pl
a
c
e 
 
p
ac
k
e
ts  th
a
t 
 
we
r
e 
 
lost  in t
ra
nsmission.
 
 
Conn
ec
tion 
 
c
ont
r
ol. 
 
T
h
e 
 
t
ra
nsp
o
r
t 
 
l
a
y
e
r 
 
ca
n 
 
be 
 
e
ith
e
r 
 
c
on
n
ec
tionl
e
s
s 
 
or 
 
c
onn
ec
tiono
r
i
e
n
t
e
d
.A 
c
onn
ec
tionl
e
ss
t
ra
ns
p
o
r
t 
 
l
a
y
e
r 
 
t
r
e
a
ts 
 
eac
h 
 
s
e
g
m
e
nt 
 
a
s 
 
a
n 
 
ind
e
p
e
nd
e
ntp
a
c
k
e
t 
 
a
nd 
 
d
e
liv
er
s 
 
it 
 
to 
 
the t
ra
nspo
r
t
 
l
a
y
e
r 
 
a
t
 
the
 
d
e
stin
a
tion
m
ac
hin
e
.
 
A
 
c
o
nn
ec
tiono
r
i
e
nt
e
dt
r
a
nspo
r
t
 
l
a
y
e
r
 
m
a
k
e
s
 
a 
 
c
onn
e
c
tion
 
w
ith
 
the
 
t
ra
nspo
r
t
 
l
a
y
e
r
 
a
t
 
the
 
d
e
stin
a
tionm
ac
hine
 
f
i
r
st
 
b
ef
o
r
e
 
d
e
liv
er
i
n
g the
 
p
ac
k
e
ts.
 
Af
t
e
r
 
a
ll
 
t
h
e
 
d
a
t
a 
ar
e
 
t
r
a
ns
fe
r
re
d,the
c
onn
e
c
tion is t
er
min
a
t
e
d.
 
 
F
low
 c
ont
r
ol.
 
L
ike
 
the
 
d
a
ta
 
link l
a
y
e
r
, the
 
t
ra
nsp
o
r
t l
a
y
e
r
 
is 
re
sponsible
 f
or
 
f
lo
wc
ont
r
ol. 
H
o
we
v
er
, 
f
low
 c
ont
r
ol 
a
t this
l
a
y
e
r
 
is p
erf
o
r
m
e
d
 
e
nd to 
e
nd 
r
a
th
e
r
 
th
a
n
a
cr
oss a
 
si
n
g
le
 
link.
 
 
Err
or
 c
ont
r
ol.
 
L
i
k
e
 
the
 
d
a
ta
 
link l
a
y
e
r
, the
 
t
ra
nsp
o
r
t l
a
y
e
r
 
is 
re
sponsible
 f
o
re
rr
or
 c
ont
r
ol. 
H
o
we
v
e
r
, 
err
or
 
c
ont
r
ol 
a
t this
l
a
y
e
r
 
is p
erf
o
r
m
e
d 
p
r
o
ce
ss
-
t
o
-
p
r
o
ce
ss
r
a
th
e
r
 
th
a
n
 
acr
oss
 
a
 
sin
g
le
 
link. 
T
h
e
s
e
nding t
ra
nspo
r
t l
a
y
e
r
 
m
a
k
e
s s
u
r
e
th
a
t the
e
nti
r
e
 
m
e
s
s
a
g
e
 
arr
iv
e
s 
a
t the
 
r
e
ce
iving t
r
an
spo
r
t l
a
y
e
r
 
w
ithout 
err
o
r
(
d
a
m
a
g
e
, loss, or
 
d
u
pli
ca
tion
)
. 
Err
or
 
c
o
r
r
ec
t
i
on is
usu
a
l
l
y
 
ac
h
i
e
v
e
d th
r
ou
g
h
r
e
t
ra
nsmission.
 
 
 
F
i
g
u
r
e
 
2.11 illust
ra
t
e
s p
r
o
ce
ss
-
to
-
p
r
o
ce
ss d
e
liv
e
r
y
 
b
y
 
the
 
t
r
a
nspo
r
t l
a
y
e
r
.
 
F
i
g
u
r
e
 (
2.1
1
)
 
R
e
li
a
ble
 
p
r
o
ce
ss
-
to
-
p
r
o
ce
ss d
e
liv
e
r
y
 
o
f
a
 
m
e
ss
a
g
e
 
 
S
e
ssion 
 
Lay
er
:
 
-
 
T
he
 
s
e
r
vi
ce
s
 
p
r
ovid
e
d
 
b
y
 
the
 
f
i
r
st
 
th
re
e
 
l
a
y
e
r
s
 
(
p
h
y
s
i
ca
l
,
 
d
a
ta
 
link,
 
a
nd
 
n
e
t
w
o
r
k)
 
ar
e
 
not su
ff
i
c
i
e
nt
 
f
or
some
 
p
r
o
c
e
ss
e
s.
 
T
he
 
s
e
ssion
 
l
a
y
e
r
 
is
 
the
 
n
e
t
w
o
r
k
 
dialog
 
c
ontroll
e
r.
 
I
t
 
e
st
a
blish
e
s,
 
m
a
int
a
ins, 
a
nd 
s
y
n
c
h
r
oni
z
e
s the
 
int
e
rac
tion
a
mo
n
g
 
c
ommuni
c
a
ting
 
s
y
st
e
ms.
N
ot
e
: 
-
T
he
 
s
e
ssion l
a
y
e
r
 
is 
re
sponsible
 f
or
 
di
a
l
o
g 
c
ont
r
ol 
a
nd 
s
y
n
c
h
r
oni
z
a
tion. Sp
ec
i
f
ic
re
sponsibiliti
e
s of
 
the
 
s
e
ssion l
a
y
e
r
 
in
c
l
u
d
e
 
the
 f
ollo
w
in
g
:
 
D
i
a
log 
 
c
ont
r
ol. 
 
T
he 
 
s
e
ssion 
 
l
a
y
e
r 
 
a
llo
w
s 
 
t
w
o 
 
s
y
st
e
ms 
 
to 
 
en
t
e
r 
 
into 
 
a 
 
di
a
lo
g
.  
 
I
t 
 
a
llo
w
s 
 
t
he 
c
ommuni
ca
tion
b
e
t
wee
n
 
t
w
o
 
p
r
o
ce
ss
e
s
 
to
 
t
a
ke
 
pl
a
c
e
 
in
 
e
ith
e
r
 
h
a
lf
 
dupl
e
x
 
(
one
 
w
a
y
 
a
t
 
a
 
tim
e
)
 
o
r
 
f
ull- dupl
e
x
 
(
t
w
o 
w
a
y
s 
a
t
 
a
 
tim
e
)
 
mod
e
.
 
 
S
y
n
c
h
r
oni
z
a
tion.
 
T
he
 
s
e
s
sion
 
l
a
y
e
r
 
a
llo
w
s
 
a
 
p
r
o
c
e
ss
 
to
 
a
dd
 
c
h
e
c
kpoints,
 
or
 
s
y
n
c
h
r
oni
z
a
tion
 
points,
 
to a
 
st
rea
m
 
of
 
d
a
t
a
.
F
or
 
e
x
a
mpl
e
,
 
if
 
a
 
s
y
st
e
m
 
is
 
s
e
nding
 
a
 
f
ile
 
of
 
2000
 
p
a
g
e
s,
 
it
 
is
 
a
dvis
a
ble
 
to
 
ins
e
r
t 
c
h
ec
kpoints
 
af
t
e
r
 
e
v
e
r
y
 
100
 
p
a
g
e
s
to
 
e
nsu
r
e
 
th
a
t
 
eac
h
 
10
0
-
p
a
ge
 
unit
 
is
 
rece
iv
e
d
 
a
nd
 
a
c
kno
w
l
e
d
g
e
d ind
e
p
e
nd
e
nt
l
y
.
 
I
n
 
this
 
c
a
s
e
,
 
if
 
a
 
cra
sh
 
h
a
p
p
e
ns
d
u
r
ing
 
the
 
t
ra
nsmission
 
of
 
p
a
ge
 
523,
 
the
 
on
l
y
 
p
a
g
e
s th
a
t
 
n
ee
d
 
to
 
b
e
 
re
s
e
nt
 
af
t
e
r
 
s
y
st
e
m
 
r
ec
ov
e
r
y
 
a
r
e
 
p
a
g
e
s
 
501
 
to
 
523.
P
a
g
e
s
 
p
re
vious
 
to
 
501
 
n
e
e
d
 
not
 
be 
re
s
e
nt.
 
F
i
g
u
r
e
 
2.12
 
illus
t
ra
t
e
s
 
the
 
re
l
a
tionship
 
of
 
the
 
s
e
ssion
 
l
a
y
e
r
 
to
 
the
 
t
ra
nspo
r
t
a
nd
 
p
re
s
e
n
t
a
tion l
a
y
e
r
s.
 
F
i
g
u
r
e
 (
2.1
2
)
 
S
e
ssion l
a
y
er
 
P
r
e
s
e
n
t
a
t
ion  
 
Lay
e
r
:  
 
-
T
he
 
p
re
s
e
nt
a
tion
 
l
a
y
e
r
 
is
 
c
o
n
cer
n
e
d
 
w
ith
 
the
 
s
y
nt
a
x
 
an
d
th
e
in
f
o
r
m
a
tion
e
x
c
h
a
n
g
e
d  
 
b
e
t
wee
n  
 
t
w
o  
 
s
y
st
e
m
s.  
 
F
i
g
u
r
e  
 
2.13  
 
sho
w
s  
 
the  
 
re
l
a
tionship
p
re
s
e
nt
a
tionl
a
y
e
r
 a
nd the
 
a
ppli
ca
tion 
a
nd s
e
ssion l
a
y
e
r
s.
 
s
e
m
a
nti
c
s
 
of
b
e
t
wee
n  
 
the
 
F
i
g
u
r
e
 (
2.1
3
)
 
P
re
s
e
n
t
a
tion l
a
y
e
r
 
 
N
ot
e
: 
-
T
he
 
p
r
e
s
e
nt
a
tion 
l
a
y
e
r
 
is 
re
sponsible
 
f
or
 
t
r
a
nsl
a
tion, 
c
omp
re
ssion, 
a
n
d 
e
n
c
r
y
ption.
 
 
S
peci
f
ic
 
r
e
s
pon
s
ibi
l
i
t
ies
 
of
 
the
 
p
r
e
s
en
t
at
i
on la
y
er inc
l
ude
 
t
h
e
 
f
ollo
w
in
g
:
 
Tr
a
n
s
l
a
tion.
 
The
 
pr
o
ce
s
s
es
 
(running
 
pro
g
ram
s
)
 
i
n
 
t
w
o
 
s
y
s
tems
 
are
 
u
s
u
ally
 
exchan
g
ing
 
in
f
ormati
o
n
 
in
 
t
he 
f
orm 
 
of 
 
char
a
cter
s
trin
g
s
, 
 
numb
e
r
s
, 
 
and 
 
s
o 
 
on. 
 
T
h
e 
 
in
f
orm
a
tion 
 
mu
s
t 
 
be 
 
c
h
an
g
ed 
 
to 
 
b
it 
 
s
tr
e
ams 
 
b
e
f
ore being
 
tran
s
m
i
t
t
ed.
 
B
e
cau
s
e
 
di
ff
erent
comp
u
ters
 
u
s
e
 
dif
f
erent
 
e
n
coding
 
s
y
s
tem
s
,
 
the
 
pre
s
en
t
ation
 
la
y
er
 
is re
s
pon
s
ible
 
f
or
 
int
e
rope
r
a
bil
i
ty
 
bet
w
een
 
t
h
e
s
e
 
di
ff
erent
e
n
coding
 
me
t
hod
s
.
 
T
he
 
pre
s
e
n
ta
t
ion
 
la
y
er
 
at
 
t
he 
s
ender
 
chan
g
es
 
the
 
in
f
or
m
ation
 
f
rom
 
its
 
s
ender-
d
ep
e
ndent
 
f
ormat
 
in
t
o
 
a
co
mm
on
 
f
ormat.
 
The
 
pre
s
e
n
ta
t
i
o
n la
y
er at the
 
r
e
c
ei
v
ing
 
ma
c
hi
n
e
 
c
h
an
g
es
 
the
 
co
m
mon
 f
ormat into
 
its
 
r
ec
e
i
v
er-d
e
pende
n
t
f
ormat.
 
E
n
c
r
y
ption. 
 
T
o 
 
c
a
r
r
y 
 
s
e
nsitive 
 
in
f
o
r
m
a
tion, 
 
a 
 
s
y
s
t
e
m 
 
must 
 
be 
 
a
b
l
e 
 
to 
 
e
nsu
r
e 
 
p
r
i
v
a
c
y
. 
 
E
n
c
r
y
ption m
ea
ns 
 
th
a
t 
 
the
s
e
nd
e
r 
 
t
r
a
ns
f
o
r
ms 
 
the 
 
o
r
i
g
in
a
l 
 
i
n
f
o
r
m
a
tion 
 
to
a
noth
e
r 
 
f
o
r
m 
 
a
nd 
 
s
e
nds 
 
the 
 
re
sult
i
ng m
e
ss
a
ge 
 
out 
 
ov
e
r 
 
the 
 
n
e
t
w
o
r
k.
D
e
c
r
y
ption 
 
re
v
e
r
s
e
s 
 
the 
 
o
r
i
g
in
a
l 
 
p
r
o
ce
ss 
 
to 
 
t
ra
ns
f
o
r
m 
 
the 
 
m
e
s
s
a
g
e b
ac
k to its o
r
i
g
in
a
l 
f
o
r
m.
 
 
Comp
re
ssion. 
 
Da
ta 
 
c
omp
re
ssion 
 
re
du
c
e
s 
 
the 
 
numb
e
r 
 
of 
 
bits 
 
c
ont
a
in
e
d 
 
in 
 
the 
 
in
f
o
r
m
a
tion. 
 
Da
ta 
c
omp
re
ssion
b
ec
om
e
s 
 
p
ar
ti
c
ul
ar
l
y
 
impo
r
t
a
nt 
 
in 
 
the 
 
t
ra
nsmission 
 
of 
 
mult
i
m
e
dia 
 
su
c
h 
 
a
s 
 
t
e
x
t, 
 
a
ud
i
o, 
a
nd vid
e
o.
 
 
 
A
ppli
c
a
t
ion 
 
Lay
er
: 
 
- 
 
T
he 
 
a
ppli
ca
tion 
 
l
a
y
e
r 
 
e
n
a
bl
e
s 
 
the 
 
us
er
, 
 
w
h
e
th
e
r 
 
hum
a
n 
 
or 
 
so
f
t
ware
, 
 
to 
 
a
c
ce
ss 
 
the n
e
t
w
o
r
k.
 
I
t
p
r
ovid
e
s
 
us
e
r
 
int
erface
s
 
a
nd
 
suppo
r
t
 
f
or
 
s
er
vi
ce
s
 
su
c
h
 
a
s
 
e
l
ec
t
r
o
n
ic
 
m
a
il,
 
re
mote
 
f
ile
 
acce
ss
 
a
nd t
ra
ns
fer
,
 
sh
a
r
e
d
 
d
a
t
a
b
a
se
m
a
n
a
g
e
m
e
nt,
 
a
nd
 
oth
e
r
 
t
y
p
e
s
 
of
 
dist
r
ibut
e
d
 
i
n
f
o
r
m
a
tion
 
s
er
vi
ce
s.
 
F
i
g
u
r
e
 
2
.14
 
sho
w
s the 
 
re
l
a
tionship 
 
of 
 
the 
 
a
ppli
ca
tion 
 
l
a
y
e
r
to 
 
the 
 
us
e
r 
 
a
nd 
 
t
h
e 
 
p
re
s
e
nt
a
tionl
a
y
e
r
. 
 
O
f 
 
the 
 
m
a
n
y 
 
a
ppli
ca
tion s
er
vi
ce
s 
 
a
v
a
il
a
bl
e
, 
 
the 
 
f
i
g
u
r
e 
 
sho
w
s 
 
on
l
y 
 
th
r
e
e
: 
 
XAO
O
(
m
e
ss
a
g
e
-
h
a
n
dling 
 
s
er
vi
ce
s
)
, 
 
X
.500 
 
(
di
rec
to
r
y s
er
vi
ce
s
)
,
 
a
nd
 
f
ile
 
t
r
a
ns
f
er
,
 
ac
c
e
ss,
 
a
nd
 
m
a
n
a
g
e
m
e
nt
 
(
F
TA
M
)
.
 
T
he
 
u
s
e
r
 
i
n
this
 
e
x
a
mple
 
e
mpl
o
y
s
 
XAO
O
 
to s
e
nd 
a
n 
e-
m
a
il m
e
ss
a
g
e.
 
F
i
g
u
r
e
 (
2.1
4
)
A
pp
li
ca
ti
on 
l
a
y
e
r
N
ot
e
: -
 
T
he
 a
ppli
c
a
tion l
a
y
e
r
 
is 
re
sponsible
 
f
or
 
p
r
oviding
 
s
er
vi
c
e
s to the
 
u
s
er
. Sp
ec
i
f
ic
 
s
er
vi
c
e
s
p
r
ovid
e
d 
b
y
 
the
 
a
ppli
ca
tion l
a
y
e
r
 
in
c
lude
 
the
 f
ollo
w
in
g
:
 
Ne
t
w
o
r
k
 
vi
r
tu
a
l
 
t
er
min
a
l
.
 
A
 
n
e
t
w
o
r
k
 
vi
r
tu
a
l
 
t
er
min
a
l
 
is
 
a
 
so
f
t
war
e
 
v
er
sion
 
of
 
a
 
p
h
y
si
ca
l
 
t
er
min
a
l,
 
a
nd it
 
a
llo
w
s
 
a
 
us
e
r
 
to
log
 
on
 
to
 
a
 
re
mote
 
host.
 
T
o
 
do
 
so,
 
the
 
a
ppli
ca
tion
 
crea
t
e
s
 
a
 
so
f
t
war
e
 
e
mul
a
tion
 
of
 
a t
er
min
a
l
 
a
t
 
the
 
re
mote
 
host.
 
T
he
us
er
'
s
 
c
om
p
ut
e
r
 
t
a
lks
 
to
 
the
 
so
f
t
war
e
 
t
er
m
in
a
l
 
w
hi
c
h,
 
in
 
tu
r
n,
 
t
a
lks
 
to the
 
host,
 
a
nd
 
vi
c
e
 
v
e
r
s
a
.
 
T
he
 
re
mote
 
host
 
b
e
li
e
v
e
s
it
 
is
 
c
ommuni
ca
ting
 
w
ith
 
one
 
of
 
its
 
o
w
n
 
t
er
min
a
ls 
a
nd 
a
llo
w
s the
 
us
e
r
 
to l
o
g
 
on.
 
F
ile
 
t
ra
ns
f
er
,
 
a
cce
ss,
 
a
nd
 
m
a
n
a
g
e
m
e
nt.
 
T
his
 
a
ppli
ca
tion
 
a
llo
w
s
 
a
 
us
e
r
 
to
 
a
cce
ss
 
f
il
e
s
 
in
 
a
 
r
e
mote
 
h
ost 
(
to
 
m
a
ke
 
c
h
a
n
ge
s
or
 
r
e
a
d
 
d
a
t
a)
,
 
to
 
re
t
r
i
e
v
e
 
f
il
e
s
 
f
r
om
 
a
 
re
mote
 
c
omput
e
r
 
f
o
r
 
use
 
in
 
the
 
lo
ca
l
 
c
omput
er
, 
a
nd to m
a
n
a
g
e
 
or
 
c
ont
r
ol
 
f
il
e
s in a
re
mote
 c
ompu
t
e
r
 
lo
ca
l
l
y
.
 
 
M
a
il s
er
vi
ce
s. 
T
his 
a
ppl
i
ca
tion p
r
ovid
e
s the
 
b
a
sis
 
f
or
 e-
m
a
il 
f
o
rw
a
r
ding 
a
n
d sto
ra
g
e
.
 
 
D
i
rec
to
r
y 
 
s
er
v
i
ce
s. 
 
T
his 
 
a
ppli
ca
tion 
 
p
r
ovid
e
s 
 
d
i
st
r
ibut
e
d 
 
d
a
t
a
b
a
se 
 
sou
r
c
e
s 
 
a
nd 
 
acce
ss 
 
f
or 
 
g
lo
b
al 
in
f
o
r
m
a
tion 
a
bout
v
ar
io
u
s obj
ec
ts 
a
nd s
er
vi
c
e
s.
 
Su
m
m
a
ry 
o
f
 
L
a
y
ers
 
 
F
i
g
u
r
e
 
2.15 sho
w
s
 
a
 
summ
a
r
y
 
o
f
 
duti
e
s 
f
or
 
eac
h 
l
a
y
e
r
.
 
F
i
g
u
r
e
 (
2.1
5
)
 
Summ
a
r
y
 
o
f
 
l
a
y
e
r
s
 
T
C
P
/IP 
P
R
O
T
O
C
O
L
 
S
U
ITE
 
 
T
he 
 
T
CP
/
I
P 
 
p
r
oto
c
ol 
 
s
u
ite 
 
wa
s 
 
d
e
v
e
lo
p
e
d 
 
p
r
ior 
 
to 
 
the 
 
O
S
I 
 
mod
e
l. 
 
T
h
e
ref
o
r
e
, 
 
the 
 
l
a
y
e
r
s 
 
in 
 
the 
 
T
CP
/
I
P p
r
oto
c
ol
 
suite
 
do
not
 
e
x
ac
t
l
y
 
m
a
t
c
h
 
those
 
in
 
the
 
O
S
I
 
mod
e
l.
 
T
he
 
o
r
i
g
in
a
l
 
T
CP
/
I
P
 
p
r
oto
c
ol
 
suite
 
w
a
s
 
d
ef
i
n
e
d 
a
s 
 
h
a
vi
n
g 
 
f
o
u
r 
 
l
a
y
e
r
s: 
 
host
-
to
-
n
e
t
w
o
r
k, 
 
int
er
n
e
t
, 
 
t
ra
nspo
r
t, 
 
a
nd 
 
a
ppli
ca
tion. 
 
H
o
we
v
er
, 
 
w
h
e
n 
 
T
CP/
I
P 
 
is 
c
omp
are
d
 
to
 
O
S
I
,
 
w
e
 
c
a
n
 
s
a
y
 
t
h
a
t
 
the
 
host
-
to
-
n
e
t
w
o
r
k
 
l
a
y
e
r
 
is
 
e
quiv
a
l
e
nt
 
to
 
the
 
c
ombin
a
tion
 
of
 
the
 
p
h
y
s
i
ca
l 
a
nd
 
d
a
ta
 
link
 
l
a
y
e
r
s.
 
T
h
e
 
int
er
n
e
t
 
l
a
y
e
r
 
is
 
e
quiv
a
l
e
nt
 
to
 
the
n
e
t
w
o
r
k
 
l
a
y
e
r
,
 
a
nd
 
the
 
a
ppli
c
a
tion
 
l
a
y
e
r
 
i
s
 
r
o
u
g
h
l
y doing
 
the
 
job
 
of
 
the
 
s
e
s
s
ion,
 
p
re
s
e
nt
a
tion,
 
a
n
d
 
a
p
pli
ca
tion
 
l
a
y
e
r
s
 
w
ith
 
t
h
e
t
ra
nspo
r
t
 
l
a
y
e
r
 
in
 
T
C
P
I
I
P
 
t
a
ki
n
g 
car
e
 
o
f
 
p
ar
t 
o
f
 
the
 
duti
e
s
 
of
 
t
h
e
 
s
e
ssion l
a
y
er
.
So,
 
w
e
 
a
ssume
 
th
a
t
 
the
 
T
CP
/
I
P
 
p
r
oto
c
ol
 
suite
 
is
 
m
a
de
 
of
 
f
i
v
e
 
l
a
y
er
s:
 
p
h
y
si
ca
l,
 
d
a
ta
 
link,
 
n
e
t
w
o
r
k,
 
t
ra
nspo
r
t, 
a
nd 
 
a
ppli
ca
tion.
T
he 
 
f
i
r
s
t 
 
f
our 
 
l
a
y
e
r
s 
 
p
r
ovide 
 
p
h
y
s
i
ca
l 
 
st
a
nd
a
r
ds, 
 
n
e
t
w
o
r
k 
 
int
erface
s, 
 
int
er
n
e
t
w
o
r
kin
g
, 
 
a
nd
 
t
ra
nspo
r
t
 
f
un
c
tions
 
th
a
t
 
c
o
rre
spond
 
to
 
the
 
f
i
r
st
 
f
o
u
r
 
l
a
y
er
s
 
of
 
the
 
O
S
I
 
mod
e
l.
 
T
he
 
th
r
e
e
 
topmost
 
l
a
y
e
r
s
 
in
 
the
Slide Note
Embed
Share

Communication in computer networks is facilitated through different layers such as the data link, network, and transport layers. Each layer has specific responsibilities in ensuring data delivery from one point to another. The data link layer handles communication between adjacent nodes, the network layer manages source-to-destination packet delivery, and the transport layer ensures end-to-end delivery of messages between processes. This breakdown helps in understanding the flow of data and enables smooth communication in networked environments.

  • Communication Layers
  • Computer Networks
  • Data Link Layer
  • Network Layer
  • Transport Layer

Uploaded on Jul 22, 2024 | 3 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

E N D

Presentation Transcript


  1. Figure (2.7) Hop-to-hop delivery As the figure shows, communication at the data link layer occurs between two adjacent nodes. To send data from A to F, three partial deliveries are made. First, the data link layer at A sends a frame to the data link layer at B (a router). Second, the data link layer at B sends a new frame to the data link layer at E. Finally, the data link layer at E sends a new frame to the data link layer at F. Note that the frames that are exchanged between the three nodes have different values in the headers. The frame from A to B has B as the destination address and A as the source address. The frame from B to E has E as the destination address and B as the source address. The frame from E to F has F as the destination address and E as the source address. The values of the trailers can also be different if error checking includes the header of the frame. Network Layer: - The network layer is responsible for the source-to-destination delivery of a packet, possibly across multiple networks (links). Whereas the data link layer oversees the delivery of the packet between two systems on the same network (links), the network layer ensures that each packet gets from its point of origin to its final destination. If two systems are connected to the same link, there is usually no need for a network layer. However, if the two systems are attached to different networks (links) with connecting devices between the networks (links), there is often a need for the network layer to accomplish source-to- destination delivery. Figure 2.8 shows the relationship of the network layer to the data link and transport layers.

  2. Figure (2.8) Network layer Note: - The network layer is responsible for the delivery of individual packets from the source host to the destination host. Other responsibilities of the network layer include the following:- Logical addressing. The physical addressing implemented by the data link layer handles the addressing problem locally. If a packet passes the network boundary, we need another addressing system to help distinguish the source and destination systems. The network layer adds a header to the packet coming from the upper layer that, among other things, includes the logical addresses of the sender and receiver. We discuss logical addresses later in this chapter. Routing. When independent networks or links are connected to create internetworks (network of networks) or a large network, the connecting devices (called routers or switches) route or switch the packets destination. One of the functions of the network layer is to provide this mechanism. Figure 2.9 illustrates end-to-end delivery by the network layer. to their final Figure (2.9) Source-to-destination delivery

  3. As the figure shows, now we need a source-to-destination delivery. The network layer at A sends the packet to the network layer at B. When the packet arrives at router B, the router makes a decision based on the final destination (F) of the packet. Router B uses its routing table to find that the next hop is router E. The network layer at B, therefore, sends the packet to the network layer at E. The network layer at E, in turn, sends the packet to the network layer at F. Transport Layer:-The transport layer is responsible for process-to-process delivery of the entire message. A process is an application program running on a host. Whereas the network layer oversees source-to- destination delivery of individual packets, it does not recognize any relationship between those packets. It treats each one independently, as though each piece belonged to a separate message, whether or not it does. The transport layer, on the other hand, ensures that the whole message arrives intact and in order, overseeing both error control and flow control at the source-to-destination level. Figure 2.10 shows the relationship of the transport layer to the network and session layers. Figure (2.10) Transport layer Note: -The transport layer is responsible for the delivery of a message from one process to another. Other responsibilities of the transport layer include the following: Service-point addressing. Computers often run several programs at the same time. For this reason, source-to- destination delivery means delivery not only from one computer to the next but also from a specific process (running program) on one computer to a specific process (running program) on the other. transport layer header must therefore include a type of address called a service-point address (or port address). The network layer gets each packet to the correct computer; the transport layer gets the entire message to the correct process on that computer. The Segmentation and reassembly. A message is divided into transmittable segments, with each segment containing a sequence number. These numbers enable the transport layer to reassemble the message correctly upon arriving at the destination and to identify and replace packets that were lost in transmission.

  4. with the transport layer at the destinationmachine first before delivering the packets. After all the data are transferred,the connection is terminated. Flow control. Like the data link layer, the transport layer is responsible for flowcontrol. However, flow control at this layer is performed end to end rather thanacross a single link. Error control. Like the data link layer, the transport layer is responsible forerror control. However, error control at this layer is performed process-to-processrather than across a single link. Thesending transport layer makes surethat the entire message arrives at the receiving transport layer without error(damage, loss, or duplication). Error correction is usually achieved throughretransmission. Figure 2.11 illustrates process-to-process delivery by the transport layer. Figure (2.11) Reliable process-to-process delivery ofa message Session Layer: - The services provided by the first three layers (physical, data link, and network) are not sufficient for some processes. The session layer is the network dialog controller. It establishes, maintains, and synchronizes the interaction among communicating systems. Note: -The session layer is responsible for dialog control and synchronization. Specific responsibilities of the session layer include the following: Dialog control. The session layer allows two systems to enter into a dialog. between two processes to take place in either half duplex (one way at a time) or full- duplex (two ways at a time) mode. It allows the communication Synchronization. The session layer allows a process to add checkpoints, or synchronization points, to a stream of data. For example, if a system is sending a file of 2000 pages, it is advisable to insert checkpoints after every 100 pages to ensure that each 100-page unit is received and acknowledged independently In this case if a crash happens

  5. Figure (2.12) Session layer Presentation Layer: -The presentation layer is concerned with the syntax and theinformationexchanged between two systems. Figure 2.13 shows the relationship presentationlayer and the application and session layers. semantics of between the Figure (2.13) Presentation layer Note: -The presentation layer is responsible for translation, compression, and encryption. Specific responsibilities of the presentation layer include the following: Translation. The processes (running programs) in two systems are usually exchanging information in the form of character strings, numbers, and so on. The information must be changed to bit streams before being transmitted. Because different computers use different encoding systems, the presentation layer is responsible for interoperability between these different encoding methods. The presentation layer at the sender changes the information from its sender-dependent format into a common format. The presentation layer at the receiving machine changes the common format into its receiver-dependent

  6. Encryption. To carry sensitive information, a system must be able to ensure privacy. Encryption means that the sender transforms the original information toanother form and sends the resulting message out over the network. Decryption reverses the original process to transform the message back to its original form. Compression. Data compression reduces the number of bits contained in the information. Data compression becomes particularly important in the transmission of multimedia such as text, audio, and video. Application Layer: - The application layer enables the user, whether human or software, to access the network. It provides user interfaces and support for services such as electronic mail, remote file access and transfer, shared database management, and other types of distributed information services. Figure 2.14 shows the relationship of the application layer to the user and the presentationlayer. Of the many application services available, the figure shows only three: XAOO (message-handling services), X.500 (directory services), and file transfer, access, and management (FTAM). The user in this example employs XAOO to send an e-mail message. Figure (2.14)Application layer Note: - The application layer is responsible for providing services to the user. Specific services provided by the application layer include the following: Network virtual terminal. A network virtual terminal is a software version of a physical terminal, and it allows a user to log on to a remote host. To do so, the application creates a software emulation of a terminal at the remote host. The user's computer talks to the software terminal which, in turn, talks to the host, and vice versa. The remote host believes it is communicating with one of its own terminals and allows the user to log on.

  7. File transfer, access, and management. This application allows a user to access files in a remote host (to make changes or read data), to retrieve files from a remote computer for use in the local computer, and to manage or control files in a remote computer locally. Mail services. This application provides the basis for e-mail forwarding and storage. Directory services. This application provides distributed database sources and access for global information about various objects and services. Summary of Layers Figure 2.15 shows a summary of duties for each layer. Figure (2.15) Summary of layers TCP/IP PROTOCOLSUITE The TCP/IP protocol suite was developed prior to the OSI model. Therefore, the layers in the TCP/IP protocol suite do not exactly match those in the OSI model. The original TCP/IP protocol suite was defined as having four layers: host-to- network, internet, transport, and application. However, when TCP/IP is compared to OSI, we can say that the host-to- network layer is equivalent to the combination of the physical and data link layers. The internet layer is equivalent to the network layer, and the application layer is roughly doing the job of the session, presentation, and application layers with the transport layer in TCPIIP taking care of part of the duties of the session layer. So, we assume that the TCP/IP protocol suite is made of five layers: physical, data link, network, transport, and application. The first four layers provide physical standards, network interfaces, internetworking, and transport functions that correspond to the first four layers of the OSI model. The three topmost layers in the

More Related Content

giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#