Académique Documents
Professionnel Documents
Culture Documents
OSI
TCP/IP
Application(Layer7)
Application
Presentation(Layer6)
Session(Layer5)
Transport(Layer4) Transport
Network(Layer) Internet
!ataLink(Layer")
S#$net
P%ysical(Layer&)
Outline
Outline
"eneral Comparison
"eneral Comparison
Session
Session
Presentation
Presentation
,pplication
,pplication
The Session +ayer
The Session +ayer
The Session layer
The Session layer
permits two parties to
permits two parties to
hold ongoing communications called a
hold ongoing communications called a
session across a networ-
session across a networ-
.
.
In TCP/IP/its
In TCP/IP/its
characteristics
characteristics
are
are
pro)ided by the TCP protocol.
pro)ided by the TCP protocol.
Transport +ayer!
Transport +ayer!
The Presentation +ayer
The Presentation +ayer
The Presentation +ayer handles data format
The Presentation +ayer handles data format
information for networ-ed communications.
information for networ-ed communications.
This is done by con)erting data into a generic
This is done by con)erting data into a generic
format that could be understood by both
format that could be understood by both
sides.
sides.
,lthough the notion of an application process is ,lthough the notion of an application process is
common to both/ their approaches to constructing common to both/ their approaches to constructing
application entities is different. application entities is different.
,pproaches use in constructing
,pproaches use in constructing
application entities
application entities
The diagram below pro)ides an o)erall )iew on the The diagram below pro)ides an o)erall )iew on the
methods use by both the methods use by both the OSI OSI and and TCP/IP TCP/IP model. model.
ISO ,pproach
ISO ,pproach
Sometime called
Sometime called
%ori4ontal ,pproach
%ori4ontal ,pproach
Sometime called
Sometime called
3ertical ,pproach
3ertical ,pproach
connection oriented
connection oriented
connectionless
connectionless
TCP/IP Transport +ayer
TCP/IP Transport +ayer
*se of ,CA
*se of ,CA
TCP/IP Transport +ayer
TCP/IP Transport +ayer
telnet telnet 2C 2C
SMTP SMTP 2D 2D
http http :B :B
Eoth OSI and TCP/IP support a connectionless Eoth OSI and TCP/IP support a connectionless
networ- ser)ice; OSI as an alternati)e to networ- networ- ser)ice; OSI as an alternati)e to networ-
connections and TCP/IP as the only way in use. connections and TCP/IP as the only way in use.
Internetwor-ing Protocols
Internetwor-ing Protocols
OSI?s C+.P ISO/I0C :87C; <99C! is functionally OSI?s C+.P ISO/I0C :87C; <99C! is functionally
identical to the Internet?s IP $PC 79<!. Eoth identical to the Internet?s IP $PC 79<!. Eoth
C+.P and IP are best'effort'deli)ery networ- C+.P and IP are best'effort'deli)ery networ-
protocols. Eit niggling aside/ they are )irtually protocols. Eit niggling aside/ they are )irtually
identical. The ma(or difference between the two is identical. The ma(or difference between the two is
that C+.P accommodates )ariable'length that C+.P accommodates )ariable'length
addresses/ whereas IP supports fi1ed/ C2'bit addresses/ whereas IP supports fi1ed/ C2'bit
address. address.
.etwor- )s. Internet
.etwor- )s. Internet
Internet(IP)A((resses
Internet(IP)A((resses
The lnternet networ- address is more commonly The lnternet networ- address is more commonly
called the 5IP address.6 It consists of C2 bits/ some called the 5IP address.6 It consists of C2 bits/ some
of which are allocated to a high'order networ-' of which are allocated to a high'order networ-'
number number part and the remainder of which are part and the remainder of which are
allocated to a low'order host'number allocated to a low'order host'number part. The part. The
distribution of bits ' how many form the networ- distribution of bits ' how many form the networ-
number/ and how many are therefore left for the number/ and how many are therefore left for the
host number ' can be done in one of three host number ' can be done in one of three
different ways/ gi)ing three different different ways/ gi)ing three different classes classes of IP of IP
address address
.etwor- )s. Internet
.etwor- )s. Internet
OSINetworkLayerA((ressin)
OSINetworkLayerA((ressin)
ISO/I0C and CCITT (ointly administer the global ISO/I0C and CCITT (ointly administer the global
networ- addressing domain. The initial networ- addressing domain. The initial
hierarchical decomposition of the .S,P address is hierarchical decomposition of the .S,P address is
defined by ISO/I0C :C8:!. The standard specifies defined by ISO/I0C :C8:!. The standard specifies
the synta1 and the allowable )alues for the high' the synta1 and the allowable )alues for the high'
order part of the address ' the Initial &omain Part order part of the address ' the Initial &omain Part
I&P!/ which consists of the ,uthority and #ormat I&P!/ which consists of the ,uthority and #ormat
Identifier ,#I! and the Initial &omain Identifier Identifier ,#I! and the Initial &omain Identifier
I&I! ' but specifically eschews constraints on or I&I! ' but specifically eschews constraints on or
recommendations concerning the synta1 or recommendations concerning the synta1 or
semantics of the domain specific part &SP!. semantics of the domain specific part &SP!.
.etwor- )s. Internet
.etwor- )s. Internet
0nd systems 0Ss! and intermediate systems 0nd systems 0Ss! and intermediate systems
ISs! use routing protocols to distribute ISs! use routing protocols to distribute
5ad)ertise6! some or all of the information stored 5ad)ertise6! some or all of the information stored
in their locally maintained routing information in their locally maintained routing information
base. 0Ss and ISs send and recei)e these routing base. 0Ss and ISs send and recei)e these routing
updates and use the information that they contain updates and use the information that they contain
and information that may be a)ailable from the and information that may be a)ailable from the
local en)ironment/ such as information entered local en)ironment/ such as information entered
manually by an operator! to modify their routing manually by an operator! to modify their routing
information base. information base.
.etwor- )s. Internet
.etwor- )s. Internet
The TCP/IP routing architecture loo-s )ery much The TCP/IP routing architecture loo-s )ery much
li-e the OSI routing architecture. %osts use a li-e the OSI routing architecture. %osts use a
disco)ery protocol to obtain the identification of disco)ery protocol to obtain the identification of
gateways and other hosts attached to the same gateways and other hosts attached to the same
networ- subnetwor-!. "ateways within networ- subnetwor-!. "ateways within
autonomous systems routing domains! operate autonomous systems routing domains! operate
an interior gateway protocol intradomain IS'IS an interior gateway protocol intradomain IS'IS
routing protocol!/ and between autonomous routing protocol!/ and between autonomous
systems/ they operate e1terior or border gateway systems/ they operate e1terior or border gateway
protocols interdomain routing protocols!. The protocols interdomain routing protocols!. The
details are different but the principles are the details are different but the principles are the
same. same.
&ata lin- / Physical )s. Subnet
&ata lin- / Physical )s. Subnet
The function of the Data Link Layer is provides for the control of
the physical layer, and detects and possibly corrects errors which
may occur (IOS/IE !"#$%&#$"'( In another words, the )ata
*in+ *ayer transforms a stream of raw bits (,s and &s' from the
physical into a data frame and provides an error-free transfer from
one node to another, allowin. the layers above it to assume
virtually error-free transmission
OSI
TCP/IP
!ataLink(Layer")
S#$net
P%ysical(Layer&)
&ata lin- / Physical )s. Subnet
&ata lin- / Physical )s. Subnet
Comparing to TCP/IP
Comparing to TCP/IP
Comparing to TCP/IP
Comparing to TCP/IP
Implementation of the OSI model places emphasis on Implementation of the OSI model places emphasis on
pro)iding a reliable data transfer ser)ice/ while the TCP/IP pro)iding a reliable data transfer ser)ice/ while the TCP/IP
model treats reliability as an end'to'end problem. model treats reliability as an end'to'end problem.
0ach layer of the OSI model detects and handles errors/ 0ach layer of the OSI model detects and handles errors/
all data transmitted includes chec-sums. The transport all data transmitted includes chec-sums. The transport
layer of the OSI model chec-s source'to'destination layer of the OSI model chec-s source'to'destination
reliability. reliability.
In the TCP/IP model/ reliability control is concentrated at In the TCP/IP model/ reliability control is concentrated at
the transport layer. The transport layer handles all error the transport layer. The transport layer handles all error
detection and reco)ery. The TCP/IP transport layer uses detection and reco)ery. The TCP/IP transport layer uses
chec-sums/ ac-nowledgments/ and timeouts to control chec-sums/ ac-nowledgments/ and timeouts to control
transmissions and pro)ides end'to'end )erification transmissions and pro)ides end'to'end )erification
.
.
$oles of %ost System
$oles of %ost System
OSI
OSI
Standard legislated by official recogni4ed body. ISO! Standard legislated by official recogni4ed body. ISO!
The OSI reference model was de)ised The OSI reference model was de)ised before before the protocols were the protocols were
in)ented. This ordering means that the model was not biased in)ented. This ordering means that the model was not biased
toward one particular set of protocols/ which made it >uite general. toward one particular set of protocols/ which made it >uite general.
The down side of this ordering is that the designers did not ha)e The down side of this ordering is that the designers did not ha)e
much e1perience with the sub(ect and did not ha)e a good idea of much e1perience with the sub(ect and did not ha)e a good idea of
which functionality to put in which layer. which functionality to put in which layer.
Eeing general/the protocols in the OSI model are better hidden Eeing general/the protocols in the OSI model are better hidden
than in the TCP/IP model and can be replaced relati)ely easily as than in the TCP/IP model and can be replaced relati)ely easily as
the technology changes. the technology changes.
.ot so widespread as compared with TCP/IP. comple1 / costly! .ot so widespread as compared with TCP/IP. comple1 / costly!
More commonly used as teaching aids. More commonly used as teaching aids.
&e'(ure )s. &e'facto TCP/IP!
&e'(ure )s. &e'facto TCP/IP!
TCP/IP
TCP/IP
Standards adopted due to widespread use. Internet! Standards adopted due to widespread use. Internet!
The protocols came first/ and the model was really (ust a The protocols came first/ and the model was really (ust a
description of the e1isting protocols. There was no problem description of the e1isting protocols. There was no problem
with the protocols fitting the model/ but it is hardly possible to with the protocols fitting the model/ but it is hardly possible to
be use to describe other models be use to describe other models. .
5 5"et the (ob doneG orientation. "et the (ob doneG orientation.
O)er the years it has handled most challenges by growing to O)er the years it has handled most challenges by growing to
meet the needs. meet the needs.
More popular standard for internetwor-ing for se)eral More popular standard for internetwor-ing for se)eral
reasons ; reasons ;
relati)ely simple and robust compared to alternati)es such as OSI relati)ely simple and robust compared to alternati)es such as OSI
a)ailable on )irtually e)ery hardware and operating system platform a)ailable on )irtually e)ery hardware and operating system platform
often free! often free!
the protocol suite on which the Internet depends. the protocol suite on which the Internet depends.
The 0nd
The 0nd