Lecture 2
Lecture 2
Lecture 2
Contents
• Introduction: the need for protocol architecture
• Layered protocol architecture
• TCP/IP protocol suite
• OSI reference model
• Internetworking
2.1 The need for a Protocol
Architecture
Definition
• Protocol is a set a rules or conventions for two or more systems to
successfully communicate
• The need for Protocol Architecture
– Procedures to exchange data between devices is complex
– High degree of cooperation required between communicating systems
Protocol Hierarchies: sets of step by step
• The reason of hierarchies
– The communication task is too complex to be handled as one unit.
• The way of hierarchies
– Partition into a vertical set of layers
– Each layer performs a related subset of the functions
– Provides services to the next higher layer and
– Relies on the next lower layer to perform primitive function
– Defined so that changes in one layer do not require changes in other
layer.
Key Features of a Protocol
• Set of rules or conventions to exchange blocks of formatted
data
• Syntax : Data format, coding, and signal level
• Semantics: Control information for coordination and
error handling
• Timing: Speed matching and sequencing
Why layering?
• To prevent well-defied interfaces between
adjacent layers
– A change in one layer does not affect the other
layers
– Interface must remain the same
• Allows a structured development of network
software
2.2 A Simple Protocol Architecture
Con…
• In case of File Transfer application, the
communication task can be organized into
three independent layers:
• For example file transfer could use three
modules
– File transfer application
– Communication service module
– Network access module
Con…
• Network Access Layer:
– Exchange data between a computer and the
network
• Transport Layer:
– A common layer which has the mechanisms to
provide reliable data transfer
• Application Layer
– Contains the logic to support the various user
applications
Con…
2 Provides for the reliable transfer of information across the physical link; sends blocks
Data link of data(frames) with the necessary synchronization, error control, and flow control
3 Provides upper layers with independence from the data transmission and switching
Network technologies used to connect systems; responsible for establishing, maintaining, and
terminating connections
4 Provides reliable, transparent transfer of data between end points, provides the
Transport control structure for communication between applications; establishes, manages, and
terminates connections(sessions) between cooperating applications