The document discusses network layer models. It describes the seven layers of the OSI model and the four layers of the TCP/IP model. It explains how each layer functions, such as the physical layer transmitting signals and the application layer enabling programs like web browsers. It then compares the two models, noting similarities like layered structures but also differences like OSI having more defined layers and TCP/IP being more practical. The purpose of network layer models is to help understand complex network interactions by breaking them into standardized, interconnected layers.
2. LECTURE AGENDA
Define OSI and TCP/IP Model
Discuss and Define the 7 Layers
of OSI and how they work
together.
Discuss and Define the 4 Layers
of TCP/IP and their function
Compare OSI and TCP/IP
3. “
In computer science, the concept of
network layers is a framework that helps to
understand complex network interactions.
There are two models that are widely
referenced today: OSI and TCP/IP. The
concepts are similar, but the layers
themselves differ between the two models.
4. What is OSI Model?
Open Systems Interconnection
5. provides a general framework for standardization
defines a set of layers and services provided by each layer
one or more protocols can be developed for each layer
The OSI model was developed by the International
Organization for Standardization.
6. THE 7 LAYERS OF OSI
APPLICATION
PRESENTATION
SESSION
TRANSPORT
NETWORK
DATA LINK
PHYSICAL
LAYER 7: SNMP, HTTP, FTP
LAYER 6: Encryption, ASCII, PNG, MIDI)
LAYER 5: Syn/Ack
LAYER 4: TCP, UDP, port numbers
LAYER 3: IP, routers
LAYER 2: MAC, switches
LAYER 1: cable, RJ45
7. LAYER 7: APPLICATION
• Human-Computer Interaction
• Web browsers and other internet-
connected applications (like Skype or
Outlook) use Layer 7 application
protocols.
8. LAYER 6: PRESENTATION
• Data Representation and Encryption
• This layer converts data to and from
the Application layer. In other words,
it translates application formatting to
network formatting and vice versa.
9. LAYER 5: SESSION
• Connection Maintenance
• This layer establishes and terminates
connections between devices. It also
determines which packets belong to
which text and image files.
10. LAYER 4: TRANSPORT
• End-to-End Connections
• This layer coordinates data transfer
between system and hosts, including
error-checking and data recovery.
11. LAYER 3: NETWORK
• Logical Addressing for data path using packets
• This layer determines how data is sent to the
receiving device. It’s responsible for packet
forwarding, routing, and addressing.
12. LAYER 2: DATA LINK
• Physical addressing ,formatting data in frames
• Translates binary (or BITs) into signals and
allows upper layers to access media.
13. LAYER 1: PHYSICAL
• Physical transmission of signals,
media or binary raw bits
• Actual hardware sits at this layer. It
transmits signals over media.
15. TCP
breaks messages into packets,
hands them off to the IP
software for delivery, and then
orders and reassembles the
packets at their destination
IP
deals with the routing of
packets through the maze of
Interconnected networks to
their final destination
16. THE 4 LAYERS OF TCP/IP
LAYER 4: PROCESS
LAYER 3. HOST TO HOST
LAYER 2
LAYER 1: LINK
APPLICATION
TRANSPORT
NETWORK ACCESS
INTERNET
17. LAYER 4: APPLICATION
• Also called the Process layer
• This layer combines the OSI model’s
L5, L6, and L7.
18. LAYER 3: TRANSPORT
• Also called the Host-to-Host layer.
• This layer is similar to the OSI
model’s L4.
26. Sender Receiver
Session Layer:
Establishes, maintains and ends communication between devices
When you download these
files, this layer determines
which data packets belong
to which files
(e.g. text/image/audio), as
well as where these packets
go.
NETWORK B
NETWORK A
27. Sender Receiver
NETWORK B
NETWORK A
Laptop may be able to handle 100 mbps
Phone can only process 10 mbps
Transport Layer
segments data from session layer
Dictate that the server slow down the data transmission, so nothing is lost by the time
your friend receives it.
28. Sender Receiver
Network Layer:
transmits data segments between networks in the form of packets
NETWORK B
NETWORK A
this layer assigns source and
destination IP addresses to the
data segments.
192.168.254.254 192.168.1.1
29. Sender Receiver
Data Link Layer:
receives packets from Layer 3
NETWORK B
NETWORK A
performs physical addressing.
It adds sender and receiver
MAC addresses to the data
packet to form a data unit
called a frame.
00:1A:C2:7B:00:47 70:b2:aa:e6:3c:91
enables frames to be
transported via local media (e.g.
copper wire, optical fiber, or
air).
30. Sender Receiver
Physical Layer:
converts binary into signals and transmits them over media (e.g. fiber optic)
NETWORK B
NETWORK A
When Network B
receives the signals,
they’re decapsulated, or
translated back into
binary and then into
application data so the
message can be
seen/human-readable.
32. Network layers help us understand
how data moves
Human-Readable Computer-Readable
Transmitted Signal
33. ADVANTAGES DISADVANTAGES
generic model and acts as a
guidance tool to develop any
network model.
Changes in one layer do not affect
other layers
Flexible - distinctly separates
services, interfaces, and protocols
supports both connection-oriented
services and connectionless services
restricts its practical
implementation.
launching timing of this model was
inappropriate.
Very complex that is slow and costly
duplication of services in various
layers
did not meet the practical needs
OSI MODEL
34. ADVANTAGES DISADVANTAGES
industry–standard model that can be
effectively deployed in practical
networking problems.
allows cross-platform
communications among
heterogeneous networks
open protocol suite
scalable, client-server architecture
assigns an IP address to each
computer on the network
not generic in nature
does not clearly separate the
concepts of services, interfaces, and
protocols
does not distinguish between the
data link and the physical layers
originally designed and implemented
for wide area networks, not
optimized for small networks
(LAN,PAN)
TCP/IP MODEL
35. REFERENCES:
▪ Alienor.(2018). The Network Layers Explained [with examples]. Plixer
from https://www.plixer.com/blog/network-layers-explained/
▪ Janardhan,J.(2018). Advantages and Disadvantages of the OSI Model.
Tutorial Point from https://www.tutorialspoint.com/Advantages-and-
Disadvantages-of-the-OSI-Model
▪ Janardhan,J.(2018). Advantages and Disadvantages of the OSI Model.
Tutorials Point from https://www.tutorialspoint.com/Advantages-and-
Disadvantages-of-the-OSI-Model
▪ Fendadis,J.(2018). Advantages and Disadvantages of the TCP/IP Model.
Tutorials Point from https://www.tutorialspoint.com/Advantages-and-
Disadvantages-of-the-TCP-IP-Model