Professional Documents
Culture Documents
• Historical overview
• Try an provide a big picture (a context)
• Societal/Economical impact of data comm &
networking
16/10/2007 1
16/10/2007 2
1
A View of Chaos
Branch
office
LAN
Router
Main Office PBX
16/10/2007 3
http://www.port.ac.uk/departments/academic/ece/whystudyengineering/
16/10/2007 4
2
Why the OSI and TCP/IP models?
16/10/2007 5
16/10/2007 6
3
What is a Protocol?
16/10/2007 7
16/10/2007 8
4
Protocol Architecture
16/10/2007 9
16/10/2007 10
5
Communication between layers
• A given layer in the OSI model communicates
with 3 other layers. Communication between
Adjacent layers (Top and bottom) and Peer-to-
peer layer (Same Layer in each of the
computers)
16/10/2007 11
16/10/2007 12
6
Communication between adjacent
layers 2/2 – 4 primitives
• Request: An entity (i.e. A Service • Response: The service-user issues
User) issues a primitive to invoke a a primitive to acknowledge or
service from a service-provider complete some procedure
(lower layer) and passes some previously invoked by an indication
parameters required to fully specify
made to the service-user.e.g. PM
the requested service.e.g.: Prime
minister asks secretary to send thanks secretary for his/her
letter to French president initiative
• Indication: A service-provider • Confirm: A service provider issues
issues a primitive to the service- a primitive to acknowledge or
user either to:1. indicate that a complete some procedure
procedure has been invoked by the previously invoked by a request
peer-service user on the connection from the service-user.e.g.
and to provide the associated Confirmation from the secretary
parameters, or 2. notify the service-
that the letter has been passed to
user of a provider initiated-
actione.g. Indicate to the PM that the postman. Hopefully, this should
the letter has been posted first class mean that the letter should get to
since the matter is urgent France.
16/10/2007 13
16/10/2007 14
7
I only talk
with my
peers
Encapsulation: What for? across a
• For example, Layer 3 adds
network!!
header/ trailer for its peer layer.
Header/Trailer and data are passed
to layer 2. At layer 2, all data coming
from layer 3 is treated as data. Thus
the data portion at any particular
layer can contain header and trailers
from upper layers.
• Each layer in the source system (A)
adds control information for its peer
layer in destination system (B). On
reception, B processes the
header/trailer, then it removes
control information and passes data
to the upper layer.
• Header/trailers are for peer-to-
peer comm
16/10/2007 15
8
OSI Layer 1: Physical Layer
16/10/2007 17
16/10/2007 18
9
OSI Layer 3: Network Layer
• Provides Routing and related functions enabling
transport of data across a whole network or
internetworks (Interconnections of networks):
Achieved by logical addressing (as opposed to
physical addressing, e.g. IP addresses)
16/10/2007 19
16/10/2007 20
10
OSI Layer 5: Session Layer
• Allows users on different
machines to establish
sessions between them.
• A session provides transport
services with enhanced
services. For example:
– Dialogue Discipline: e.g. full or half duplex
communication
– Recovery: Session layer can provide a
checkpointing mechanism so that if a failure
occurs between checkpoints, the session
entity can retransmit all data since the last
valid checkpoint
–Grouping: The flow of data can be marked to define groups of data. For example,
if a retail store is transmitting sales data to a head office, the data can be marked to
indicate the end of the day sales for that department. This would signal to the host
that to finalise the running account for that department and start new running
counts for the other departments.
16/10/2007 21
16/10/2007 22
11
OSI Layer 7: Application Layer
• Closest to the end user i.e. user
interacts with a software
application which has a
communication component.
These programmes fall outside
the OSI model, only the
communication part is relevant.
Application layer functions include
– Identification and testing the
availability of communication
partners
– Synchronisation between Tx and
Rx
– Test whether there is enough
network resources to provide
network service to the
application
16/10/2007 23
TCP/IP Model
12
TCP/IP
16/10/2007 25
• 4 Layers
– Application Layer
– Transport Layer
– Internet Layer
– Network Layer
• Easy correspondence with the
OSI layers
16/10/2007 26
13
TCP/IP model's Application Layer
16/10/2007 27
16/10/2007 28
14
TCP/IP's Internet layer
16/10/2007 29
IP Internet Protocol
16/10/2007 30
15
Network Interface/Access Layer
16/10/2007 31
Conclusions
16/10/2007 32
16
Thank you!
Any questions?
Next Week
16/10/2007 34
17