Behaviour LEC
Behaviour LEC
1
Layered Architecture
2
Sender LAYERED TASK Receiver
4
Benefits of Layered Architecture
• Layer architecture simplifies the network design.
Protocol of a layer can be developed
independently. The process of breaking up the
functions or tasks of networking into layers
reduces complexity.
• It is easy to debug network applications in a
layered architecture network.
• The network management is easier due to the
layered architecture.
• Change of the protocol on one layer is easy
because it will not effect the other layer.
5
Open Systems Interconnection
(OSI) Model
• International standard organization (ISO)
established a committee in 1977 to develop an
architecture for computer communication.
• Open Systems Interconnection (OSI) reference
model is the result of this effort.
• In 1984, the Open Systems Interconnection
(OSI) reference model was approved as an
international standard for communications
architecture.
• Term “open” denotes the ability to connect
any two systems which confirm to the reference
model and associated standards.
6
OSI Reference Model
• The OSI model is now considered the primary
Architectural model for inter-computer
communications.
• The OSI model describes how information or
data makes its way from application programmes
(such as spreadsheets) through a network
medium (such as wire) to another application
programme located on another network.
• The OSI reference model divides the problem of
moving information between computers over a
network medium into SEVEN smaller and more
manageable problems .
• This separation into smaller more manageable
functions is known as layering.
7
OSI Reference Model: 7 Layers
8
Organization Of the Layer
9
Organization Of the Layer
•Layers 5,6,7-session,presentation, and application can be
considered as User support layers.
10
An Exchange Using the OSI Model
11
Physical Layer
• Physical characteristics of the interface and medium :- It
defines the characteristics of the interface between the devices and
the transmission medium.
12
Physical Layer
13
Physical Layer
Sender Receiver
System System
14
Data Link Layer
15
Data Link Layer
• Data link layer attempts to provide reliable
communication over the physical layer interface.
16
Data Link Layer Example
17
Hop-to-hop
delivery
•Communication at the data link layer occurs between two adjacent nodes.
•For A to F, 3 partial deliveries are made. A to B, B to E, and E to F. Different headers.
18
Network Layer
19
Functionalities of Network
2. Routing – Routing means to determine how packets are routed from source to
destination. Routes can be static or dynamic. In case of static routing, the routes
are stored in the routing table of the router/machine. In case of dynamic
routing, the routes are determined dynamically on the basis of some
parameters.
3. Congestion Control – If too many packets are present in the subnet at the
same time, they will get in one another’s way, thus forming bottlenecks. The
control of such congestion also belongs to the network layer.
4. QoS - Quality of Services ( transit time, jitter) is also the network layer issue
20
Source-to-destination delivery
21
Transport Layer
• Port Addressing
• Segmentation and reassembly
• Connection Management – Transport layer can
be either connectionless or connection oriented
• Flow Control
• Error Control
22
Transport Layer
23
Session Layer
• Session layer provides mechanism for controlling
the dialogue between the two end systems. It
defines how to start, control and end conversations
(called sessions) between applications.
24
Session Layer
25
Presentation Layer
26
Presentation Layer
27
Application Layer
• Application layer interacts with application
programs and is the highest level of OSI model.
• Application layer contains management functions
to support distributed applications.
• FTAM- File transfer access and management
• MHS- Message handling system
• CMIP- Common management information
protocol
28
Application Layer
29
OSI in Action
• A message begins at the top
application layer and moves
down the OSI layers to the
bottom physical layer.
• As the message descends, each
successive OSI model layer
adds a header to it.
• A header is layer-specific
information that basically
explains what functions the
layer carried out.
• Conversely, at the receiving
end, headers are striped from
the message as it travels up
the corresponding layers.
30
OSI Advantages
⚫ It is standard legalized by International
Standards Organization (ISO).
⚫ All OSI layers providing error checking and
handling.
⚫ Provides connection-oriented and
connectionless model.
⚫ OSI protocols are well hidden and can be
replaced easily as the technology changes.
⚫ Emphasis on providing reliable data transfer
service.
31
OSI Disadvantages
⚫ OSI is complex and costly
⚫ Not so widespread as TCP/ IP
32
TCP/IP MODEL
33
TCP/IP Model
34
Application Layer
35
36
TCP/IP Advantages
⚫ Widespread use in networking.
⚫ Simpler than and not as costly as OSI.
⚫ Available on virtually every hardware and
operating system platform (often free).
⚫ The protocol suite on which Internet depends.
⚫ Provides error checking and handling.
⚫ Provides both connection-oriented and
connectionless model.
⚫ Enable both reliable and unreliable data transfer
service.
37
TCP/IP Disadvantages
⚫ The protocols are hardly possible to be
used to describe other models.
⚫ Not all TCP/ IP layers provide error
checking; only Transport layer does.
⚫ It hasn’t been standardized by ISO
38
Similarities between OSI and TCP/IP
⚫ Both are used for network data
transmission.
⚫ Both employ all connection and
connectionless models at transport layer.
⚫ The routing principals of both models are
the same
39
Comparison of TCP/IP and OSI
OSI TCP / IP
Application (Layer7)
Presentation (Layer6)
Application
Session (Layer 5)
40
The Session Layer
The Session layer permits two parties to
hold ongoing communications called a
session across a network.
⚫ Not found in TCP/IP model.
⚫ In TCP/IP, its characteristics are
provided by the TCP protocol.
(Transport Layer)
41
The Presentation Layer
The Presentation Layer handles data format
information for networked
communications. This is done by
converting data into a generic format that
could be understood by both sides.
⚫ Not found in TCP/IP model
⚫ In TCP/IP, this function is provided by the
Application Layer.
42
The Application Layer
The Application Layer is the top layer of
the reference model. It provides a set of
interfaces for applications to obtain
access to networked services as well as
access to the kinds of network services
that support applications directly.
43
Other differences
⚫ OSI is standard legislated by official recognized body (ISO), while
TCP/ IP are standard adopted due to widespread use.
⚫ Each layer of the OSI model detects and handles errors, while
TCP/ IP concentrate errors handling and detection on its
Transport Layer.
44
OSI in Action
45
TCP/IP in action
46