0% found this document useful (0 votes)
12 views9 pages

Advantages of Layered Architecture

Notes on chapter 2 of forouzan computer networks book

Uploaded by

rajayaseen2003
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views9 pages

Advantages of Layered Architecture

Notes on chapter 2 of forouzan computer networks book

Uploaded by

rajayaseen2003
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Chapter 2

Layered models

Advantages of layered architecture

– Complex task divided into smaller tasks


– This modular approach makes each module responsible for a specific part of the model
8
– This separates services from implementation allowing for higher scalability since these do not
7
affect eachother. Abstracting the functionalities from how they are implemented in a system
6
5
4
Principals of protocol layering:
3
2
. Bi-directional communication, each layer should be able to perform two opposite tasks I.e
sending and receiving
. Two objects under each layer should be identical, like in a client server architecture there
should be symmetry between the client and server at each layer of the protocol.

OSI Model

– Made in 1947 by the ISO, the open system interconnection model or OSI for short was made
in 1970s.
– OSI is made up of seven layers

Easy way to remeber these layers is the following saying


2
“Please do not tell secret passwords anyone”
1
. P- physical layer
. D- Data link layer
. N- network layer
. t- transport layer
. s- session layer
. p- presentation layer
. A- application layer
Physical layer:

– Carries individual bits in a frame across a link


– Communication at the physical layer is logical with hidden layer called transmission medium
below it
– Transmission medium carries electrical signals
– Physical layer transforms and sends bits recieved from data link layer
– It defines semantic and encoding types ASK waghera
– Handles raw data transmission

Data-link Layer

– The data link layer establishes and terminates connections between physical connected
nodes and moves data grams across a chosen link.
– It turns data grams to frames for transmission
– It governs error free transmission and encoding, decoding along with organising incoming
and outgoing data

Network layer

– Establishes connection between source and destination


– Handles assignment of MAC and LLC handles framing n flow control.
– Host to host connection
– Routes packets through possible routes
– It uses network addresses such as IP.

Transport layer

– Transport layer segments data into smaller units called segments for transmission and

reassembled them at the receiving end
– Also manages flow control to match sending and receiving rates. (Data integrity)

Session layer

– It establishes maintains and terminates communication between two devices, ensures


session remains functional during data transfer and checkpoints incase of interruptions.
Presentation layer

– Prepared data by encrypting, encoding and compressing it to ensure data is correctly


transmitted between devices

Application layer

– End user software operates here, it provides protocols for sending and receiving data and
presents meaningful information to users.
– Protocols used HTTP, FTP, SMTP.
Step by step working of OSI model
TCP/IP model

– Consists of 5 layers

. Physical (bits)
. Datalink (frame)
. Network (datagram)
. Transport (segment)
. Application (combines the missing layers below into it)

Common questions

Powered by AI

Layered architecture in network models offers several advantages. It divides complex tasks into smaller, manageable tasks, allowing individual modules to be responsible for specific parts of a system. This modular approach separates services from their implementation, enhancing scalability by ensuring changes to one service do not impact others. Furthermore, by abstracting functionalities from their implementation, layered models promote better system organization and simplify troubleshooting and maintenance .

The transport layer ensures data integrity by segmenting data into smaller units for transmission, which are later reassembled at the receiving end. It manages flow control to match sending and receiving rates, preventing data overflow or underflow, and ensuring consistent and reliable data transfer between networked systems. These mechanisms are vital for maintaining a smooth communication environment .

The data link layer plays a crucial role in ensuring error-free data transmission by establishing and terminating connections between physically connected nodes while managing data transfer across a chosen link. It converts datagrams into frames for transmission and oversees the encoding and decoding of data. Additionally, this layer is responsible for organizing incoming and outgoing data streams, ensuring a streamlined and reliable communication process .

The physical layer of the OSI model is responsible for carrying individual bits within a frame across a network link. It operates with a logical communication perspective, directly involving the transmission medium beneath it that carries electrical signals. Its main functions include transforming and transmitting bits received from the data link layer and defining semantic and encoding types like ASK waghera. It handles raw data transmission, which is critical for establishing the fundamental communication groundwork .

The application layer facilitates user interaction with network software by operating end-user applications, providing protocols such as HTTP, FTP, and SMTP for sending and receiving data. It presents meaningful information to users, thus serving as the interface between users and the communication network, encapsulating all functions necessary for data processing and communication .

The OSI model consists of seven distinct layers: Physical, Data Link, Network, Transport, Session, Presentation, and Application. In contrast, the TCP/IP model is composed of five layers: Physical, Data Link, Network, Transport, and Application, with the presentation and session layers integrated into the application layer. This simplification in the TCP/IP model reflects its practical design for existing network protocols and applications .

The presentation layer modifies data before transmission by performing encryption, encoding, and compression tasks. These processes are essential for preparing data so that it is correctly transmitted and interpreted between devices, ensuring robustness in data presentation and security during transport .

The session layer plays a key role in maintaining active communication sessions by establishing, maintaining, and terminating connections between two devices. It ensures the session remains functional during data transfer and includes checkpoints to recover from interruptions, enhancing the reliability and stability of the data exchange .

The OSI Model facilitates bi-directional communication by ensuring each layer can perform two opposite tasks, such as sending and receiving data. In client-server architectures, the model maintains symmetry between the client and server by ensuring that identical entities exist at each layer of the protocol, allowing for effective communication and coordinated processing of operations across different layers .

The network layer contributes to efficient data routing by establishing connections between source and destination hosts and selecting the optimal route for data packets. It manages the assignment of MAC addresses and supports LLC framing and flow control. For routing, the network layer utilizes network addresses, such as IP addresses, which are crucial for identifying devices and determining their location on the network .

You might also like