You are on page 1of 5
3URWRFRO #$UFKLWHFWXUH 7KH# &RPPRQ #/DQJXDJH¥ 1HWZRUN#$UFKLWHFWXUH Ñ $# 1HWZRUN #$UFKLWHFWXUH LV # D #
3URWRFRO #$UFKLWHFWXUH
7KH# &RPPRQ #/DQJXDJH¥
1HWZRUN#$UFKLWHFWXUH
Ñ $# 1HWZRUN #$UFKLWHFWXUH LV # D #
VWUXFWXUHG# VHW # RI# SURWRFROV # WKDW #
LPSOHPHQW # WKH # H[FKDQJH # RI#
LQIRUPDWLRQ # EHWZHHQ # FRPSXWHUV
&RS\ULJKW # E\ -RUJ# /LHEHKHUU <;/#<<
Ñ Ñ Ñ Ñ
Ñ
Ñ
Ñ
Ñ

&RS\ULJKW # E\ -RUJ# /LHEHKHUU <;/#<<

#RI# FRQFHUQV
#RI# FRQFHUQV
# E\ -RUJ # /LHEHKHUU <;/#<< #RI# FRQFHUQV 7KH # /HYHOV # RI # $EVWUDFWLRQ 0XOWLSOH

7KH#/HYHOV # RI #$EVWUDFWLRQ

0XOWLSOH# OHYHOV# RI# FRPPXQLFDWLRQ#DEVWUDFWLRQV# KDYH #EHHQ # GHILQHG # E\ # VWDQGDUGL]DWLRQ# ERGLHV

(DFK# OHYHO # LV#HQIRUFHG# E\# D # FRUUHVSRQGLQJ # SURWRFRO

(DFK# OHYHO # XVHV# WKH # DEVWUDFW# VHUYLFHV# RI# WKH # OHYHO#EHORZ

$EVWUDFWLRQ # DFKLHYHV# VHSDUDWLRQ

Ñ $ # SURWRFRO # QHHGQ W# NQRZ # KRZ# WKH# ORZHU 0 OHYHO # DEVWUDFWLRQV # DUH #LPSOHPHQWHG# DQG# ZKDW# WKH # KLJKHU# OHYHO # DEVWUDFWLRQV # DUH 1

1HHG#IRU #3URWRFROV
1HHG#IRU #3URWRFROV

Ñ 3URWRFROV # DUH #D#VHW#RI#UXOHV #DQG # FRQYHQWLRQV1# %\# HQIRUFLQJ # WKDW # FRPPXQLFDWLQJ# SDUWLHV # DGKHUH # WR# D # FRPPRQ # SURWRFRO/# FRPPXQLFDWLRQ #

LV # PDGH # SRVVLEOH 1#

&RS\ULJKW # E\ -RUJ# /LHEHKHUU <;/#<<

Ñ Ñ Ñ Ñ
Ñ
Ñ
Ñ
Ñ

&RS\ULJKW # E\ -RUJ# /LHEHKHUU <;/#<<

WR # VWDQGDUG# ,QWHUQHW#
WR # VWDQGDUG#
,QWHUQHW#
# /LHEHKHUU <;/#<< WR # VWDQGDUG# ,QWHUQHW# 3URJUDPPLQJ # WKH # &RPPXQLFDWLRQ $Q\ # FRPSOH[ #

3URJUDPPLQJ# WKH# &RPPXQLFDWLRQ

$Q\ # FRPSOH[ #SURJUDPPLQJ # WDVN # LV# PDGH # VLPSOHU# E\# XVLQJ# VHYHUDO# OHYHOV# RI# DEVWUDFWLRQ

$EVWUDFWLRQ # KLGHV# WKH# SURJUDPPLQJ # GHWDLOV# RI# ORZHU# OHYHOV

&RPPXQLFDWLRQ# WDVNV# JLYH # ULVH# DEVWUDFWLRQV

&RPPLWWHHV# VXFK # DV# WKH # ,(7) #+

(QJLQHHULQJ #7DVN #)RUFH ,# DUH #LQ# FKDUJH # IRU# VWDQGDUGL]LQJ # WKH# DEVWUDFWLRQV# UHODWHG # WR # LQWHUQHW# FRPPXQLFDWLRQ

/D\HUHG# 1HWZRUN# $UFKLWHFWXUH
/D\HUHG# 1HWZRUN# $UFKLWHFWXUH

Ñ ,Q# D # /D\HUHG# 1HWZRUN# $UFKLWHFWXUH /# WKH # VHUYLFHV# DUH# JURXSHG# LQ#D # KLHUDUFK\ # RI# OD\HUV1#

Ñ $ # SURWRFRO #RI#OD\HU # 1 XVHV #RQO\ #VHUYLFHV # RI# OD\HU #1041

Ñ $ # SURWRFRO #RI#OD\HU # 1 SURYLGHV# VHUYLFHV# RQO\# WR# OD\HU #

1.41

not layered

layered

A B A B layer 3 C C layer 2 E D E D layer
A
B
A
B
layer 3
C
C
layer 2
E
D
E
D
layer 1

&RS\ULJKW # E\ -RUJ# /LHEHKHUU <;/#<<

6HUYLFH#3ULPLWLYHV
6HUYLFH#3ULPLWLYHV

Ñ $VVXPH # WKDW# VRPH# SURWRFRO # LPSOHPHQWV# VHUYLFH# 1

N+1 Layer Entity N Layer Entity
N+1 Layer
Entity
N Layer
Entity
N+1 Layer Entity N Layer Entity
N+1 Layer
Entity
N Layer
Entity

N+1 Layer Protocol

X. Request

X. Confirm

X. Indication

X. Response

&RS\ULJKW # E\ -RUJ# /LHEHKHUU <;/#<<

([DPSOH=#6HQGLQJ#D # /HWWHU Bob Logical flow of information Alice Bob’s Alice’s m ailbox m ailbox
([DPSOH=#6HQGLQJ#D # /HWWHU
Bob
Logical flow of information
Alice
Bob’s
Alice’s
m ailbox
m ailbox

&RS\ULJKW # E\ -RUJ# /LHEHKHUU <;/#<<

Postman

3URWRFRO #$UFKLWHFWXUHV
3URWRFRO #$UFKLWHFWXUHV

Ñ 7KHUH # DUH # RQO\# IHZ# SURWRFRO# DUFKLWHFWXUHV # WKDW # DUH # UHOHYDQW # WRGD\ =

Ñ 26,# 5HIHUHQFH # 0RGHO

Ñ 7&3 2 ,3 # 3URWRFROV# 6XLWH

Ñ $70 # 3URWRFRO # 6WDFN

&RS\ULJKW # E\ -RUJ# /LHEHKHUU <;/#<<

6HUYLFH#3ULPLWLYHV
6HUYLFH#3ULPLWLYHV
5HFDOO = $ # OD\HU#1 .4#SURWRFRO# HQWLW\ # VHHV# WKH # ORZHU# OD\HUV# RQO\ #
5HFDOO = $ # OD\HU#1 .4#SURWRFRO# HQWLW\ # VHHV# WKH #
ORZHU# OD\HUV# RQO\ # DV#DQ# DEVWUDFW#VHUYLFH #
SURYLGHU
N+1 Layer Protocol
N+1 Layer
N+1 Layer
Entity
Entity
X. Request
X. Response
X. Confirm
X. Indication
Service Provider
&RS\ULJKW # E\ -RUJ# /LHEHKHUU <;/#<<
+ 8Q 0, $FNQRZOHGJHG# 6HUYLFH Ñ 8QFRQILUPHG # VHUYLFH =## US Mail L.Request L.Indicate Ñ
+ 8Q 0, $FNQRZOHGJHG# 6HUYLFH
Ñ 8QFRQILUPHG # VHUYLFH =##
US Mail
L.Request
L.Indicate
Ñ $FNQRZOHGJHG# VHUYLFH=#
L.Request
L.Indicate
US Mail
L.Confirm
L.Indicate
&RS\ULJKW # E\ -RUJ# /LHEHKHUU <;/#<<
26, #5HIHUHQFH #0RGHO
26, #5HIHUHQFH #0RGHO

Ñ 7KH #26,#PRGHO#GHILQHV# VHYHQ# OD\HUV = /D\HU#:= $SSOLFDWLRQ#/D\HU /D\HU#9= 3UHVHQWDWLRQ# /D\HU /D\HU#8= 6HVVLRQ#/D\HU /D\HU#7= 7UDQVSRUW#/D\HU /D\HU#6= 1HWZRUN #/D\HU /D\HU#5= 'DWD# /LQN # /D\HU /D\HU#4= 3K\VLFDO#/D\HU ,QWHUFRQQHFWLRQ# 0HGLD

&RS\ULJKW # E\ -RUJ# /LHEHKHUU <;/#<<

26, #/D\HUV HOST HOST Application Application
26, #/D\HUV
HOST
HOST
Application
Application
Application Layer Presentation Layer Session Layer Transport Layer Network Layer Data Link Layer Physical
Application
Layer
Presentation
Layer
Session
Layer
Transport
Layer
Network
Layer
Data Link
Layer
Physical
Layer

&RS\ULJKW # E\ -RUJ# /LHEHKHUU <;/#<<

NODE NODE Network Network Layer Layer Data Link Data Link Layer Layer Physical Physical Layer
NODE
NODE
Network
Network
Layer
Layer
Data Link
Data Link
Layer
Layer
Physical
Physical
Layer
Layer
Application Layer Presentation Layer Session Layer Transport Layer Network Layer Data Link Layer Physical
Application
Layer
Presentation
Layer
Session
Layer
Transport
Layer
Network
Layer
Data Link
Layer
Physical
Layer
26, # 0RGHO # LQ# D # 6ZLWFKHG # &RPPXQLFDWLRQ# 1HWZRUN Node (Router) Network Application
26, # 0RGHO # LQ# D # 6ZLWFKHG #
&RPPXQLFDWLRQ# 1HWZRUN
Node (Router)
Network
Application
Data Link
Presentation
Physical
Network
Session
Application
Network
Data Link
Transport
Presentation
Data Link
Physical
Network
Session
Physical
Data Link
Transport
Physical
Network
Data Link
Network
Physical
Data Link
Physical
Station (Host)

&RS\ULJKW # E\ -RUJ# /LHEHKHUU <;/#<<

$#7RXU#RI # WKH# 26, #/D\HUV
$#7RXU#RI # WKH# 26, #/D\HUV

Ñ 'DWD #/LQN # /D\HU#+ /D\HU#5,=

Ñ 5HOLDEO\ # WUDQVIHUV# IUDPHV# RYHU# D #OLQN

Ñ 3HUIRUPV# V\QFKURQL]DWLRQ/# HUURU# FRQWURO /# IORZ# FRQWURO

Ñ ([DPSOH=#333

&RS\ULJKW # E\ -RUJ# /LHEHKHUU <;/#<<

26, #/D\HUV # DQG #(QFDSVXODWLRQ Application Data Application Data Application Header of Application Application
26, #/D\HUV # DQG #(QFDSVXODWLRQ
Application
Data
Application
Data
Application
Header of
Application
Application
Application
Layer
AH
Data
Layer
Layer
Presentation
Presentation
PH
AH
Data
Layer
Layer
Session
Session
Layer
SH
PH
AH
Data
Layer
Transport
Transport
TH
SH
PH
AH
Data
Layer
Layer
Network
NH
TH
SH
PH
AH
Data
Network
Layer
Layer
Data Link
Data Link
DH
NH
TH
SH
PH
AH
Data
Layer
Layer
Physical
Physical
Layer
Bits
Layer

&RS\ULJKW # E\ -RUJ# /LHEHKHUU <;/#<<

$#7RXU#RI # WKH# 26, #/D\HUV
$#7RXU#RI # WKH# 26, #/D\HUV

Ñ 3K\VLFDO #/D\HU#+ /D\HU#4,=

Ñ &RQYHUWV# ELWV# LQWR#HOHFWULFDO# RU# RSWLFDO# VLJQDOV

Ñ 7UDQVPLWV# WKHVH # VLJQDOV# RYHU# WKH #KDUGZDUH # FRPPXQLFDWLRQ#PHGLXP

Ñ ([DPSOH=# 560565

&RS\ULJKW # E\ -RUJ# /LHEHKHUU <;/#<<

$#7RXU#RI # WKH# 26, #/D\HUV
$#7RXU#RI # WKH# 26, #/D\HUV

Ñ 1HWZRUN # /D\HU#+ /D\HU#6,=

Ñ 0RYHV# SDFNHWV# LQVLGH# WKH # QHWZRUN

Ñ 3HUIRUPV# URXWLQJ/#DGGUHVVLQJ /# VZLWFKLQJ /# FRQJHVWLRQ# FRQWURO

Ñ ([DPSOH=# ,3

&RS\ULJKW # E\ -RUJ# /LHEHKHUU <;/#<<

$#7RXU#RI # WKH# 26, #/D\HUV
$#7RXU#RI # WKH# 26, #/D\HUV

Ñ 7UDQVSRUW #/D\HU #+ /D\HU #7,=

Ñ &RQWUROV# GHOLYHU\ # RI#GDWD #EHWZHHQ # KRVWV

Ñ &RQQHFWLRQ #PDQDJHPHQW/# HUURU# FRQWURO /# IORZ# FRQWURO/#PXOWLSOH[LQJ /# 7&3 /#8'3 1

&RS\ULJKW # E\ -RUJ# /LHEHKHUU <;/#<<

$#7RXU#RI # WKH# 26, #/D\HUV
$#7RXU#RI # WKH# 26, #/D\HUV

Ñ 3UHVHQWDWLRQ # /D\HU#+ /D\HU#9,=

Ñ 'DWD # FRQYHUVLRQ# LQWR# DSSOLFDWLRQ#IRUPDW

Ñ (QFU\SWLRQ2 GHFU\SWLRQ

Ñ 6HFXUH # VRFNHWV

&RS\ULJKW # E\ -RUJ# /LHEHKHUU <;/#<<

7&32 ,3#3URWRFRO #6XLWH
7&32 ,3#3URWRFRO #6XLWH

Ñ 7KH # 7&3 2 ,3 #SURWRFRO# VXLWH # ZDV# ILUVW# GHILQHG # LQ#4<:7

Ñ 7KH # 7&3 2 ,3 #SURWRFRO# VXLWH # LV# WKH # SURWRFRO# DUFKLWHFWXUH # RI# WKH ## ,QWHUQHW

Ñ 7KH # 7&3 2 ,3 # VXLWH # KDV# IRXU# OD\HUV=# $SSOLFDWLRQ/# 7UDQVSRUW/# ,QWHUQHW/# DQG #1HWZRUN# ,QWHUIDFH # /D\HU

&RS\ULJKW # E\ -RUJ# /LHEHKHUU <;/#<<

Application

Layer

Transport

Layer

Internet

Network

Interface

telnet, ftp, email

TCP, UDP

IP, ICMP, IGMP

Device Drivers

$#7RXU#RI # WKH# 26, #/D\HUV
$#7RXU#RI # WKH# 26, #/D\HUV

Ñ 6HVVLRQ # /D\HU#+ /D\HU#8,=

Ñ 6XSSRUW# WKH# GLDORJ #EHWZHHQ # FRRSHUDWLQJ # DSSOLFDWLRQ#SURJUDPV

Ñ 6HVVLRQ #PDQDJHPHQW/# V\QFKURQL]DWLRQ

Ñ ([DPSOH=# 53&

&RS\ULJKW # E\ -RUJ# /LHEHKHUU <;/#<<

$#7RXU#RI # WKH# 26, #/D\HUV
$#7RXU#RI # WKH# 26, #/D\HUV

Ñ $SSOLFDWLRQ # /D\HU#+ /D\HU#:,=

Ñ 3URYLGHV# QHWZRUN # DFFHVV# WR # DSSOLFDWLRQ# SURJUDPV

Ñ DSSOLFDWLRQ# VSHFLILF

(YHU\WKLQJ # LV#

Ñ #7UDQVIHU/# (OHFWURQLF# 0DLO

([DPSOH=#)LOH

&RS\ULJKW # E\ -RUJ# /LHEHKHUU <;/#<<

([DPSOH=#)LOH#7UDQVIHU Host A Router Host B FTP FTP FTP protocol program program TCP TCP protocol
([DPSOH=#)LOH#7UDQVIHU
Host A
Router
Host B
FTP
FTP
FTP protocol
program
program
TCP
TCP protocol
TCP
IP
IP protocol
IP
IP protocol
IP
Ethernet
Ethernet
Ethernet
Ethernet
Ethernet
Ethernet
Driver
protocol
Driver
Driver
protocol
Driver
&RS\ULJKW # E\ -RUJ# /LHEHKHUU <;/#<<
(QFDSVXODWLRQ #LQ #WKH# 7&32 ,3# 6XLWH User data Application Application User data Header TCP TCP
(QFDSVXODWLRQ #LQ #WKH# 7&32 ,3#
6XLWH
User data
Application
Application
User data
Header
TCP
TCP Header
Application data
IP
TCP segment
IP Header
TCP Header
Application data
Ethernet
IP datagram
Driver
Ethernet
Ethernet
IP Header
TCP Header
Application data
Header
Trailer
Ethernet frame

&RS\ULJKW # E\ -RUJ# /LHEHKHUU <;/#<<

&RPSDULVRQ# RI # 26, # 0RGHO # DQG # 7&3 2 ,3 # 6XLWH OSI
&RPSDULVRQ# RI # 26, # 0RGHO # DQG #
7&3 2 ,3 # 6XLWH
OSI
TCP/IP

Application

 

Presentation

Application

Session

Transport

Transport

Internetwork

Network

 

Network

Data Link

Access

Physical

Physical

&RS\ULJKW # E\ -RUJ# /LHEHKHUU <;/#<<

7&32 ,3#3URWRFRO #6XLWH User User User User Application Process Process Process Process Layer Transport
7&32 ,3#3URWRFRO #6XLWH
User
User
User
User
Application
Process
Process
Process
Process
Layer
Transport
TCP
UDP
Layer
Network
ICMP
IP
IGMP
Layer
Hardware
ARP
RARP
Link Layer
Interface

&RS\ULJKW # E\ -RUJ# /LHEHKHUU <;/#<<

Media