SlideShare a Scribd company logo
1 of 36
PART I: OVERVIEW
NETWORK MODELS
Subject: Computer Networks
Tutor: Bilal Munir Mughal
1
Ch-2
Content Outline
 PROTOCOL LAYERING
 Scenarios
 Principles of Protocol Layering
 Logical Connections
 TCP/IP PROTOCOL SUITE
 Layered Architecture
 Layers in the TCP/IP Protocol Suite
 Description of Each Layer
 Encapsulation and Decapsulation
 Addressing
 Multiplexing and Demultiplexing
2
Content Outline
 THE OSI MODEL
 OSI versus TCP/IP
 Lack of OSI Model’s Success
3
PROTOCOL LAYERING - Scenarios
 In data communications and networking, a
protocol defines the rules that both the sender
and receiver and all intermediate devices need
to follow to be able to communicate effectively.
 When communication is simple, we may need
only one simple protocol; when the
communication is complex, we may need to
divide the task between different layers, in which
case we need a protocol at each layer, or
protocol layering.
4
PROTOCOL LAYERING - Scenarios
 First Scenario
5
PROTOCOL LAYERING - Scenarios
 Second Scenario
6
PROTOCOL LAYERING - Principles
Two principles of protocol layering
 First Principle
 If we want bidirectional communication, we need to
make each layer so that it is able to perform two
opposite tasks, one in each direction. e.g. talk and
listen
 Second Principle
 The two objects under each layer at both sites should
be identical.
For example (Fig. 2.2), the object under layer 3 at
both sites should be a plaintext letter. The object
under layer 2 at both sites should be a cipher text
letter. The object under layer 1 at both sites should be
7
PROTOCOL LAYERING - Logical
Connections
8
TCP/IP PROTOCOL SUITE
 TCP/IP is a protocol suite (a set of protocols
organized in different layers) used in the
Internet today.
 It is a hierarchical protocol made up of interactive
modules, each of which provides a specific
functionality. The term hierarchical means that each
upper level protocol is supported by the services
provided by one or more lower level protocols.
 The original TCP/IP protocol suite was defined as
four software layers built upon the hardware.
 Today, however, TCP/IP is thought of as a five-
layer model.
9
TCP/IP PROTOCOL SUITE - Layered
Architecture
10
TCP/IP PROTOCOL SUITE - Layered
Architecture
11
TCP/IP PROTOCOL SUITE - Logical
connections
12
TCP/IP PROTOCOL SUITE - Identical
objects
13
TCP/IP PROTOCOL SUITE - Physical
Layer
 It is responsible for carrying individual bits in a
frame across the link.
 The communication at physical layer is still a
logical communication because there is
another, hidden layer, the transmission media,
under the this layer
 Logical unit between two physical layers in two
devices is a bit, physical media carries signals
e.g. electrical, optical etc.
 There are several protocols that transform a
bit to a signal.
14
TCP/IP PROTOCOL SUITE - Data-link
Layer
 The data-link layer is responsible for moving
the packet through the link. The link can be a
wired/ wireless LAN, or a wired/wireless WAN.
 TCP/IP does not define any specific protocol
for the data-link layer. It supports all the
standard and proprietary protocols.
 Each link-layer protocol may provide a different
service e.g. complete error detection and
correction, or only error correction.
 The data-link layer takes a datagram and
encapsulates it in a packet called a frame.
15
TCP/IP PROTOCOL SUITE – Network
Layer
 The network layer is responsible for host-to-
host communication and routing the packet
through possible routes.
 The network layer in the Internet includes the
main protocol, Internet Protocol (IP), that
defines the format of the packet, called a
datagram at the network layer.
 IP also defines the format and the structure of
addresses used in this layer.
16
TCP/IP PROTOCOL SUITE – Network
Layer
 IP is a connectionless protocol that provides
no flow control, no error control, and no
congestion control services.
 The network layer also includes unicast (one-
to-one) and multicast (one-to-many) routing
protocols.
 A routing protocol does not take part in routing
(it is the responsibility of IP), but it creates
forwarding tables for routers to help them in
the routing process.
17
TCP/IP PROTOCOL SUITE – Network
Layer
 The network layer also has some auxiliary
protocols that help IP in its delivery and routing
tasks.
 Internet Control Message Protocol (ICMP) helps IP
to report some problems when routing a packet
 Internet Group Management Protocol (IGMP) helps
IP in multicasting
 Dynamic Host Configuration Protocol (DHCP) helps
IP to get the network-layer address for a host
 Address Resolution Protocol (ARP) is a protocol
that helps IP to find the link-layer address of a host
or a router when its network-layer address is given
18
TCP/IP PROTOCOL SUITE - Transport
Layer
 The logical connection at the transport layer is
also end-to-end
 It encapsulates data in a transport layer packet
(called a segment or a user datagram in
different protocols)
 The main protocols are, Transmission Control
Protocol (TCP) and User Datagram Protocol
(UDP)
19
TCP/IP PROTOCOL SUITE - Transport
Layer
 TCP provides flow control, error control,
congestion control
 UDP is connectionless (each datagram is
independent and unrelated to the previous or
the next one)
 A new protocol, Stream Control Transmission
Protocol (SCTP) is designed to respond to new
applications that are emerging in the
multimedia.
20
TCP/IP PROTOCOL SUITE - Application
Layer
 The two application layers exchange messages
between each other
 Process-to-process communication is the duty
of the application layer.
 The application layer in the Internet includes
many predefined protocols, but a user can also
create a pair of processes to be run at the two
hosts.
21
TCP/IP PROTOCOL SUITE - Application
Layer
 Some of the well-known protocols are:
 Hypertext Transfer Protocol (HTTP) is used for
accessing the World Wide Web (WWW)
 Simple Mail Transfer Protocol (SMTP) is used in e-mail
 File Transfer Protocol (FTP) is used for transferring files
 Terminal Network (TELNET) and Secure Shell (SSH)
are used for accessing a site remotely
 Simple Network Management Protocol (SNMP) is used
to manage the Internet at global and local levels
 Domain Name System (DNS) is used by other protocols
to find the network-layer address of a computer
22
TCP/IP PROTOCOL SUITE - Encapsulation
and Decapsulation
23
TCP/IP PROTOCOL SUITE - Addressing
24
TCP/IP PROTOCOL SUITE - Multiplexing
and Demultiplexing
25
THE OSI MODEL
 Established in 1947, the International
Standards Organization (ISO) is a
multinational body dedicated to worldwide
agreement on international standards.
 An ISO standard that covers all aspects of
network communications is the Open Systems
Interconnection (OSI) model. It was first
introduced in the late 1970s.
 An open system is a set of protocols that
allows any two different systems to
communicate regardless of their underlying
26
THE OSI MODEL
 The purpose of the OSI model is to show how to
facilitate communication between different
systems without requiring changes to the logic
of the underlying hardware and software.
 The OSI model is not a protocol; it is a model
for understanding and designing a network
architecture that is flexible, robust, and
interoperable.
 The OSI model was intended to be the basis for
the creation of the protocols in the OSI stack.
27
THE OSI MODEL
 The OSI model is a layered framework for the
design of network systems that allows
communication between all types of computer
systems.
28
All
People
Seem
To
Need
Data
Processing
Away
Pizza
Sausage
Throw
Not
Do
Please
THE OSI MODEL - connections
29
THE OSI MODEL - Encapsulation and
Decapsulation
30
THE OSI MODEL versus TCP/IP
31
THE OSI MODEL versus TCP/IP
 When we compare the two models, we find that
two layers, session and presentation, are
missing from the TCP/IP protocol suite.
 These two layers were not added to the TCP/IP
protocol suite after the publication of the OSI
model.
 The application layer in the suite is usually
considered to be the combination of three layers
in the OSI model
32
THE OSI MODEL versus TCP/IP
 Two reasons were mentioned for not
including two layers, session and
presentation.
 First, TCP/IP has more than one transport-layer
protocol. Some functionalities of the session layer
are available in some of the transport-layer
protocols.
 Second, the application layer is not only one piece
of software. Many applications can be developed at
this layer. If some of the functionalities mentioned in
the session and presentation layers are needed for
a particular application, they can be included in the
development of that piece of software
33
Lack of OSI Model’s Success
 Most experts were at first excited and thought
that the TCP/IP protocol would be fully replaced
by the OSI model. Not quite!
 There were several reasons that TCP/IP
protocol suite was not fully replaced with OSI
model. Three of the agreed upon reasons are
mentioned here.
 First, OSI was completed when TCP/IP was fully in
place and a lot of time and money had been spent
on the suite; changing it would cost a lot.
34
Lack of OSI Model’s Success
 Second, some layers in the OSI model were never
fully defined. For example, although the services
provided by the presentation and the session layers
were listed in the document, actual protocols for
these two layers were not fully defined & described,
and the corresponding software was not fully
developed.
 Third, when OSI was implemented by an
organization in a different application, it did not
show a high enough level of performance to entice
the Internet authority to switch from the TCP/IP
protocol suite to the OSI model.
35
36
Questions?

More Related Content

Similar to DCN 5th ed. slides ch02-Network Models.pptx

TCPIP and OSI ModalOSI Reference Model-The seven layers .docx
TCPIP and OSI ModalOSI Reference Model-The seven layers .docxTCPIP and OSI ModalOSI Reference Model-The seven layers .docx
TCPIP and OSI ModalOSI Reference Model-The seven layers .docxmattinsonjanel
 
Unit 3 Assignment 1 Osi Model
Unit 3 Assignment 1 Osi ModelUnit 3 Assignment 1 Osi Model
Unit 3 Assignment 1 Osi ModelJacqueline Thomas
 
TCP/IP Training Basic Concepts.
TCP/IP Training Basic Concepts.TCP/IP Training Basic Concepts.
TCP/IP Training Basic Concepts.Amir Panahi
 
ETE405-lec7.pptx
ETE405-lec7.pptxETE405-lec7.pptx
ETE405-lec7.pptxmashiur
 
The TCP/IP and OSI models
The TCP/IP and OSI modelsThe TCP/IP and OSI models
The TCP/IP and OSI modelsJake Weaver
 
computer network and chapter 7 OSI layers.pptx
computer network and chapter 7 OSI layers.pptxcomputer network and chapter 7 OSI layers.pptx
computer network and chapter 7 OSI layers.pptxgadisaAdamu
 
pppppppppppppppppjjjjjjjjjjjpppppppp.pptx
pppppppppppppppppjjjjjjjjjjjpppppppp.pptxpppppppppppppppppjjjjjjjjjjjpppppppp.pptx
pppppppppppppppppjjjjjjjjjjjpppppppp.pptxzeyadosama505
 
ETE405-lec7.ppt
ETE405-lec7.pptETE405-lec7.ppt
ETE405-lec7.pptmashiur
 
Difference between OSI Layer & TCP/IP Layer
Difference between OSI Layer & TCP/IP LayerDifference between OSI Layer & TCP/IP Layer
Difference between OSI Layer & TCP/IP LayerNetwax Lab
 
Ch4 Protocols.pptx
Ch4 Protocols.pptxCh4 Protocols.pptx
Ch4 Protocols.pptxazmerawAnna1
 
Internet protocol concepts and overview
Internet protocol concepts and overviewInternet protocol concepts and overview
Internet protocol concepts and overviewAGhaKhan01
 
Internet protocol concepts and overview
Internet protocol concepts and overviewInternet protocol concepts and overview
Internet protocol concepts and overviewAGhaKhan01
 
1.- Networking Models, Devices.pdf
1.- Networking Models, Devices.pdf1.- Networking Models, Devices.pdf
1.- Networking Models, Devices.pdfOpositorGonzalez1
 
1- What is the difference between OSI and TCP-IP layered models-Soluti.docx
1- What is the difference between OSI and TCP-IP layered models-Soluti.docx1- What is the difference between OSI and TCP-IP layered models-Soluti.docx
1- What is the difference between OSI and TCP-IP layered models-Soluti.docxtjames442
 
Ch4 Protocols.pptx
Ch4 Protocols.pptxCh4 Protocols.pptx
Ch4 Protocols.pptxkebeAman
 

Similar to DCN 5th ed. slides ch02-Network Models.pptx (20)

TCPIP and OSI ModalOSI Reference Model-The seven layers .docx
TCPIP and OSI ModalOSI Reference Model-The seven layers .docxTCPIP and OSI ModalOSI Reference Model-The seven layers .docx
TCPIP and OSI ModalOSI Reference Model-The seven layers .docx
 
Unit 3 Assignment 1 Osi Model
Unit 3 Assignment 1 Osi ModelUnit 3 Assignment 1 Osi Model
Unit 3 Assignment 1 Osi Model
 
Tcp/Ip Model
Tcp/Ip ModelTcp/Ip Model
Tcp/Ip Model
 
TCP/IP Training Basic Concepts.
TCP/IP Training Basic Concepts.TCP/IP Training Basic Concepts.
TCP/IP Training Basic Concepts.
 
ETE405-lec7.pptx
ETE405-lec7.pptxETE405-lec7.pptx
ETE405-lec7.pptx
 
The TCP/IP and OSI models
The TCP/IP and OSI modelsThe TCP/IP and OSI models
The TCP/IP and OSI models
 
TCP/IP model
TCP/IP modelTCP/IP model
TCP/IP model
 
OSI & TCP/IP Model
OSI & TCP/IP ModelOSI & TCP/IP Model
OSI & TCP/IP Model
 
computer network and chapter 7 OSI layers.pptx
computer network and chapter 7 OSI layers.pptxcomputer network and chapter 7 OSI layers.pptx
computer network and chapter 7 OSI layers.pptx
 
TCP/IP MODEL
TCP/IP MODEL TCP/IP MODEL
TCP/IP MODEL
 
pppppppppppppppppjjjjjjjjjjjpppppppp.pptx
pppppppppppppppppjjjjjjjjjjjpppppppp.pptxpppppppppppppppppjjjjjjjjjjjpppppppp.pptx
pppppppppppppppppjjjjjjjjjjjpppppppp.pptx
 
ETE405-lec7.ppt
ETE405-lec7.pptETE405-lec7.ppt
ETE405-lec7.ppt
 
Difference between OSI Layer & TCP/IP Layer
Difference between OSI Layer & TCP/IP LayerDifference between OSI Layer & TCP/IP Layer
Difference between OSI Layer & TCP/IP Layer
 
Ch4 Protocols.pptx
Ch4 Protocols.pptxCh4 Protocols.pptx
Ch4 Protocols.pptx
 
Internet protocol concepts and overview
Internet protocol concepts and overviewInternet protocol concepts and overview
Internet protocol concepts and overview
 
Internet protocol concepts and overview
Internet protocol concepts and overviewInternet protocol concepts and overview
Internet protocol concepts and overview
 
1.- Networking Models, Devices.pdf
1.- Networking Models, Devices.pdf1.- Networking Models, Devices.pdf
1.- Networking Models, Devices.pdf
 
1- What is the difference between OSI and TCP-IP layered models-Soluti.docx
1- What is the difference between OSI and TCP-IP layered models-Soluti.docx1- What is the difference between OSI and TCP-IP layered models-Soluti.docx
1- What is the difference between OSI and TCP-IP layered models-Soluti.docx
 
Ch4 Protocols.pptx
Ch4 Protocols.pptxCh4 Protocols.pptx
Ch4 Protocols.pptx
 
Osi
OsiOsi
Osi
 

More from Bilal Munir Mughal

DCN Slides ch10 Error Detection and Correction.ppt
DCN Slides ch10 Error Detection and Correction.pptDCN Slides ch10 Error Detection and Correction.ppt
DCN Slides ch10 Error Detection and Correction.pptBilal Munir Mughal
 
DCN 5th ed. slides ch24 Transport-Layer Protocols.pdf
DCN 5th ed. slides ch24 Transport-Layer Protocols.pdfDCN 5th ed. slides ch24 Transport-Layer Protocols.pdf
DCN 5th ed. slides ch24 Transport-Layer Protocols.pdfBilal Munir Mughal
 
DCN 5th ed. slides ch23 Introduction to Transport Layer.pdf
DCN 5th ed. slides ch23 Introduction to Transport Layer.pdfDCN 5th ed. slides ch23 Introduction to Transport Layer.pdf
DCN 5th ed. slides ch23 Introduction to Transport Layer.pdfBilal Munir Mughal
 
DCN 5th ed. slides ch22 Next Generation IP.pdf
DCN 5th ed. slides ch22 Next Generation IP.pdfDCN 5th ed. slides ch22 Next Generation IP.pdf
DCN 5th ed. slides ch22 Next Generation IP.pdfBilal Munir Mughal
 
DCN 5th ed. slides ch07 Transmission Media.pdf
DCN 5th ed. slides ch07 Transmission Media.pdfDCN 5th ed. slides ch07 Transmission Media.pdf
DCN 5th ed. slides ch07 Transmission Media.pdfBilal Munir Mughal
 
DCN 5th ed. slides ch05 Analog Transmission.pdf
DCN 5th ed. slides ch05 Analog Transmission.pdfDCN 5th ed. slides ch05 Analog Transmission.pdf
DCN 5th ed. slides ch05 Analog Transmission.pdfBilal Munir Mughal
 
DCN 5th ed. slides ch04 Digital Transmission.pdf
DCN 5th ed. slides ch04 Digital Transmission.pdfDCN 5th ed. slides ch04 Digital Transmission.pdf
DCN 5th ed. slides ch04 Digital Transmission.pdfBilal Munir Mughal
 
DCN 5th ed. slides ch03 Introduction to Physical Layer.pdf
DCN 5th ed. slides ch03 Introduction to Physical Layer.pdfDCN 5th ed. slides ch03 Introduction to Physical Layer.pdf
DCN 5th ed. slides ch03 Introduction to Physical Layer.pdfBilal Munir Mughal
 
DCN 5th ed. slides ch01-Introduction.pdf
DCN 5th ed. slides ch01-Introduction.pdfDCN 5th ed. slides ch01-Introduction.pdf
DCN 5th ed. slides ch01-Introduction.pdfBilal Munir Mughal
 

More from Bilal Munir Mughal (9)

DCN Slides ch10 Error Detection and Correction.ppt
DCN Slides ch10 Error Detection and Correction.pptDCN Slides ch10 Error Detection and Correction.ppt
DCN Slides ch10 Error Detection and Correction.ppt
 
DCN 5th ed. slides ch24 Transport-Layer Protocols.pdf
DCN 5th ed. slides ch24 Transport-Layer Protocols.pdfDCN 5th ed. slides ch24 Transport-Layer Protocols.pdf
DCN 5th ed. slides ch24 Transport-Layer Protocols.pdf
 
DCN 5th ed. slides ch23 Introduction to Transport Layer.pdf
DCN 5th ed. slides ch23 Introduction to Transport Layer.pdfDCN 5th ed. slides ch23 Introduction to Transport Layer.pdf
DCN 5th ed. slides ch23 Introduction to Transport Layer.pdf
 
DCN 5th ed. slides ch22 Next Generation IP.pdf
DCN 5th ed. slides ch22 Next Generation IP.pdfDCN 5th ed. slides ch22 Next Generation IP.pdf
DCN 5th ed. slides ch22 Next Generation IP.pdf
 
DCN 5th ed. slides ch07 Transmission Media.pdf
DCN 5th ed. slides ch07 Transmission Media.pdfDCN 5th ed. slides ch07 Transmission Media.pdf
DCN 5th ed. slides ch07 Transmission Media.pdf
 
DCN 5th ed. slides ch05 Analog Transmission.pdf
DCN 5th ed. slides ch05 Analog Transmission.pdfDCN 5th ed. slides ch05 Analog Transmission.pdf
DCN 5th ed. slides ch05 Analog Transmission.pdf
 
DCN 5th ed. slides ch04 Digital Transmission.pdf
DCN 5th ed. slides ch04 Digital Transmission.pdfDCN 5th ed. slides ch04 Digital Transmission.pdf
DCN 5th ed. slides ch04 Digital Transmission.pdf
 
DCN 5th ed. slides ch03 Introduction to Physical Layer.pdf
DCN 5th ed. slides ch03 Introduction to Physical Layer.pdfDCN 5th ed. slides ch03 Introduction to Physical Layer.pdf
DCN 5th ed. slides ch03 Introduction to Physical Layer.pdf
 
DCN 5th ed. slides ch01-Introduction.pdf
DCN 5th ed. slides ch01-Introduction.pdfDCN 5th ed. slides ch01-Introduction.pdf
DCN 5th ed. slides ch01-Introduction.pdf
 

Recently uploaded

Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 

DCN 5th ed. slides ch02-Network Models.pptx

  • 1. PART I: OVERVIEW NETWORK MODELS Subject: Computer Networks Tutor: Bilal Munir Mughal 1 Ch-2
  • 2. Content Outline  PROTOCOL LAYERING  Scenarios  Principles of Protocol Layering  Logical Connections  TCP/IP PROTOCOL SUITE  Layered Architecture  Layers in the TCP/IP Protocol Suite  Description of Each Layer  Encapsulation and Decapsulation  Addressing  Multiplexing and Demultiplexing 2
  • 3. Content Outline  THE OSI MODEL  OSI versus TCP/IP  Lack of OSI Model’s Success 3
  • 4. PROTOCOL LAYERING - Scenarios  In data communications and networking, a protocol defines the rules that both the sender and receiver and all intermediate devices need to follow to be able to communicate effectively.  When communication is simple, we may need only one simple protocol; when the communication is complex, we may need to divide the task between different layers, in which case we need a protocol at each layer, or protocol layering. 4
  • 5. PROTOCOL LAYERING - Scenarios  First Scenario 5
  • 6. PROTOCOL LAYERING - Scenarios  Second Scenario 6
  • 7. PROTOCOL LAYERING - Principles Two principles of protocol layering  First Principle  If we want bidirectional communication, we need to make each layer so that it is able to perform two opposite tasks, one in each direction. e.g. talk and listen  Second Principle  The two objects under each layer at both sites should be identical. For example (Fig. 2.2), the object under layer 3 at both sites should be a plaintext letter. The object under layer 2 at both sites should be a cipher text letter. The object under layer 1 at both sites should be 7
  • 8. PROTOCOL LAYERING - Logical Connections 8
  • 9. TCP/IP PROTOCOL SUITE  TCP/IP is a protocol suite (a set of protocols organized in different layers) used in the Internet today.  It is a hierarchical protocol made up of interactive modules, each of which provides a specific functionality. The term hierarchical means that each upper level protocol is supported by the services provided by one or more lower level protocols.  The original TCP/IP protocol suite was defined as four software layers built upon the hardware.  Today, however, TCP/IP is thought of as a five- layer model. 9
  • 10. TCP/IP PROTOCOL SUITE - Layered Architecture 10
  • 11. TCP/IP PROTOCOL SUITE - Layered Architecture 11
  • 12. TCP/IP PROTOCOL SUITE - Logical connections 12
  • 13. TCP/IP PROTOCOL SUITE - Identical objects 13
  • 14. TCP/IP PROTOCOL SUITE - Physical Layer  It is responsible for carrying individual bits in a frame across the link.  The communication at physical layer is still a logical communication because there is another, hidden layer, the transmission media, under the this layer  Logical unit between two physical layers in two devices is a bit, physical media carries signals e.g. electrical, optical etc.  There are several protocols that transform a bit to a signal. 14
  • 15. TCP/IP PROTOCOL SUITE - Data-link Layer  The data-link layer is responsible for moving the packet through the link. The link can be a wired/ wireless LAN, or a wired/wireless WAN.  TCP/IP does not define any specific protocol for the data-link layer. It supports all the standard and proprietary protocols.  Each link-layer protocol may provide a different service e.g. complete error detection and correction, or only error correction.  The data-link layer takes a datagram and encapsulates it in a packet called a frame. 15
  • 16. TCP/IP PROTOCOL SUITE – Network Layer  The network layer is responsible for host-to- host communication and routing the packet through possible routes.  The network layer in the Internet includes the main protocol, Internet Protocol (IP), that defines the format of the packet, called a datagram at the network layer.  IP also defines the format and the structure of addresses used in this layer. 16
  • 17. TCP/IP PROTOCOL SUITE – Network Layer  IP is a connectionless protocol that provides no flow control, no error control, and no congestion control services.  The network layer also includes unicast (one- to-one) and multicast (one-to-many) routing protocols.  A routing protocol does not take part in routing (it is the responsibility of IP), but it creates forwarding tables for routers to help them in the routing process. 17
  • 18. TCP/IP PROTOCOL SUITE – Network Layer  The network layer also has some auxiliary protocols that help IP in its delivery and routing tasks.  Internet Control Message Protocol (ICMP) helps IP to report some problems when routing a packet  Internet Group Management Protocol (IGMP) helps IP in multicasting  Dynamic Host Configuration Protocol (DHCP) helps IP to get the network-layer address for a host  Address Resolution Protocol (ARP) is a protocol that helps IP to find the link-layer address of a host or a router when its network-layer address is given 18
  • 19. TCP/IP PROTOCOL SUITE - Transport Layer  The logical connection at the transport layer is also end-to-end  It encapsulates data in a transport layer packet (called a segment or a user datagram in different protocols)  The main protocols are, Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) 19
  • 20. TCP/IP PROTOCOL SUITE - Transport Layer  TCP provides flow control, error control, congestion control  UDP is connectionless (each datagram is independent and unrelated to the previous or the next one)  A new protocol, Stream Control Transmission Protocol (SCTP) is designed to respond to new applications that are emerging in the multimedia. 20
  • 21. TCP/IP PROTOCOL SUITE - Application Layer  The two application layers exchange messages between each other  Process-to-process communication is the duty of the application layer.  The application layer in the Internet includes many predefined protocols, but a user can also create a pair of processes to be run at the two hosts. 21
  • 22. TCP/IP PROTOCOL SUITE - Application Layer  Some of the well-known protocols are:  Hypertext Transfer Protocol (HTTP) is used for accessing the World Wide Web (WWW)  Simple Mail Transfer Protocol (SMTP) is used in e-mail  File Transfer Protocol (FTP) is used for transferring files  Terminal Network (TELNET) and Secure Shell (SSH) are used for accessing a site remotely  Simple Network Management Protocol (SNMP) is used to manage the Internet at global and local levels  Domain Name System (DNS) is used by other protocols to find the network-layer address of a computer 22
  • 23. TCP/IP PROTOCOL SUITE - Encapsulation and Decapsulation 23
  • 24. TCP/IP PROTOCOL SUITE - Addressing 24
  • 25. TCP/IP PROTOCOL SUITE - Multiplexing and Demultiplexing 25
  • 26. THE OSI MODEL  Established in 1947, the International Standards Organization (ISO) is a multinational body dedicated to worldwide agreement on international standards.  An ISO standard that covers all aspects of network communications is the Open Systems Interconnection (OSI) model. It was first introduced in the late 1970s.  An open system is a set of protocols that allows any two different systems to communicate regardless of their underlying 26
  • 27. THE OSI MODEL  The purpose of the OSI model is to show how to facilitate communication between different systems without requiring changes to the logic of the underlying hardware and software.  The OSI model is not a protocol; it is a model for understanding and designing a network architecture that is flexible, robust, and interoperable.  The OSI model was intended to be the basis for the creation of the protocols in the OSI stack. 27
  • 28. THE OSI MODEL  The OSI model is a layered framework for the design of network systems that allows communication between all types of computer systems. 28 All People Seem To Need Data Processing Away Pizza Sausage Throw Not Do Please
  • 29. THE OSI MODEL - connections 29
  • 30. THE OSI MODEL - Encapsulation and Decapsulation 30
  • 31. THE OSI MODEL versus TCP/IP 31
  • 32. THE OSI MODEL versus TCP/IP  When we compare the two models, we find that two layers, session and presentation, are missing from the TCP/IP protocol suite.  These two layers were not added to the TCP/IP protocol suite after the publication of the OSI model.  The application layer in the suite is usually considered to be the combination of three layers in the OSI model 32
  • 33. THE OSI MODEL versus TCP/IP  Two reasons were mentioned for not including two layers, session and presentation.  First, TCP/IP has more than one transport-layer protocol. Some functionalities of the session layer are available in some of the transport-layer protocols.  Second, the application layer is not only one piece of software. Many applications can be developed at this layer. If some of the functionalities mentioned in the session and presentation layers are needed for a particular application, they can be included in the development of that piece of software 33
  • 34. Lack of OSI Model’s Success  Most experts were at first excited and thought that the TCP/IP protocol would be fully replaced by the OSI model. Not quite!  There were several reasons that TCP/IP protocol suite was not fully replaced with OSI model. Three of the agreed upon reasons are mentioned here.  First, OSI was completed when TCP/IP was fully in place and a lot of time and money had been spent on the suite; changing it would cost a lot. 34
  • 35. Lack of OSI Model’s Success  Second, some layers in the OSI model were never fully defined. For example, although the services provided by the presentation and the session layers were listed in the document, actual protocols for these two layers were not fully defined & described, and the corresponding software was not fully developed.  Third, when OSI was implemented by an organization in a different application, it did not show a high enough level of performance to entice the Internet authority to switch from the TCP/IP protocol suite to the OSI model. 35