SlideShare a Scribd company logo
1 of 59
Download to read offline
The Islamia University of Bahawalpur
Network Models
Chapter - 2
2.2
LAYERED TASKS
LAYERED TASKS
We use the concept of layers in our daily life. As an
example, let us consider two friends who communicate
through postal mail. The process of sending a letter to a
friend would be complex if there were no services
available from the post office.
2.3
Scenarios of Protocol Layering
First Scenario
Single Protocol Layer
•
•
Maria and Ann
Professor and Students
2.4
Scenarios of Protocol Layering
Second Scenario
A Three-Layer Protocol
2.5
Principles in Protocol Layering
First Principle
• Bi-directional Communication
Second Principle
• Two objects at each layer at both sites should be identical
2.6
Open System
Interconnection Model -
OSI Model
2.7
THE OSI MODEL
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.
2.8
ISO is the organization.
OSI is the model.
Note
2.9
Figure: Seven layers of the OSI model
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
All People Seems To Need Data Processing
Signal
2.10
Figure: Seven layers of the OSI model
A
B
C
D
X
Y
Z
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
200 Pages
Italian Document
Italian to
English
50 50 50 50
2.11
Figure: Seven layers of the OSI model
Translation/ Compression/ Encryption/NCP/NDR
Authentication/ Session Management/PAP/SCP
Provides Interface to User. HTTP, HTTPs, SMTP,
FTP, TELNET, SSH
Segmentation/flow control/error control . TCP/UDP
Segments
Logical Addressing/Routing/Path Determination
IP/DHCP/ICMP/OSPF/BGP
Packets
Physical Addressing (Mac1/Mac2/Tail)/FDDI/PPP
Frame
Bits
A
B
C
D
X
Y
Z
2.12
Figure: The interaction between layers in the OSI model
LAYERS IN THE OSI MODEL
LAYERS IN THE OSI MODEL
In this section we briefly describe the functions of each
layer in the OSI model.
In this section we briefly describe the functions of each
layer in the OSI model.
In this section we briefly describe the functions of each
layer in the OSI model.
Application Layer
Presentation Layer
Session Layer
Transport Layer
Network Layer
Data Link Layer
Physical Layer
Topics discussed in this section:
Topics discussed in this section:
Application layer
The application layer is responsible for
providing services to the user.
Note
Application Layer
Presentation layer
The presentation layer is responsible for
Translation
Compression
Encryption
Note
Presentation Layer
Session layer
Session layer
The session layer is responsible for
Dialog control
Synchronization
Note
Session Layer
Transport layer
Transport layer
•
•
•
•
•
The transport layer is responsible for the
delivery of a message from one process to another.
Service Point addressing
Segmentation
Error Control
Flow Control
Note
Transport Layer
Reliable process-to-process delivery of a message
Network layer
IPV4 & IPV6 + Mask
Network layer
Logical Addressing
Routing
Path Determination
The network layer is responsible for the
delivery of individual packets from
the source host to the destination host.
Note
Network Layer
Source-to-destination delivery
Data link layer
2.33
Data link layer
2.34
•
•
•
•
•
The data link layer is responsible for moving
frames from one hop (node) to the next.
Framing
Physical addressing
Flow Control
Error Control
Access Control
Note
Data Link Layer
Hop-to-hop delivery
Physical layer
Physical layer
•
•
•
The physical layer is responsible for movements of
individual bits from one hop (node) to the next.
Data Rate
Synchronization of bits
Transmission mode
Note
Physical Layer
Summary of OSI Model layers
TCP/IP PROTOCOL SUITE
TCP/IP PROTOCOL SUITE
The layers in the TCP/IP protocol suite do not exactly
match those in the OSI model. The original TCP/IP
protocol suite was defined as having four layers:
network interface, internet, transport, and application.
However, when TCP/IP is compared to OSI, we can say
that the TCP/IP protocol suite is made of five layers:
physical, data link, network, transport, and application.
Physical Layer
Data Link Layer
Network Layer
Transport Layer
Application Layer
Topics discussed in this section:
Topics discussed in this section:
Figure: TCP-IP Layers
Figure 2.16 Layer Architecture - TCP/IP Protocol Suite
Figure 2.16 TCP/IP and OSI model
OSI Model TCP/IP Layers
Encapsulation and Decapsulation
•
•
One of the important concepts in protocol layering in the
Internet is
Encapsulation
Decapsulation
Figure: Encapsulation/Decapsulation
ADDRESSING
ADDRESSING
Four levels of addresses are used in an internet employing
the TCP/IP protocols: physical, logical, port, and specific.
Physical Addresses
Logical Addresses
Port Addresses
Specific Addresses
Topics discussed in this section:
Topics discussed in this section:
Figure 2.17 Addresses in TCP/IP
Figure 2.18 Relationship of layers and addresses in TCP/IP
In Figure 2.19 a node with physical address 10 sends a
frame to a node with physical address 87. The two nodes
are connected by a link (bus topology LAN). As the
figure shows, the computer with physical address 10 is
the sender, and the computer with physical address 87 is
the receiver.
Example 2.1
Figure 2.19 Physical addresses
Figure 2.20 shows a part of an internet with two routers
connecting three LANs. Each device (computer or router)
has a pair of addresses (logical and physical) for each
connection. In this case, each computer is connected to
only one link and therefore has only one pair of
addresses. Each router, however, is connected to three
networks (only two are shown in the figure). So each
router has three pairs of addresses, one for each
connection.
Example
2.52
Figure 2.20 IP addresses
2.53
Figure 2.21 shows two computers communicating via the
Internet. The sending computer is running three
processes at this time with port addresses a, b, and c.
The receiving computer is running two processes at this
time with port addresses j and k. Process a in the
sending computer needs to communicate with process j
in the receiving computer. Note that although physical
addresses change from hop to hop, logical and port
addresses remain the same from the source to
destination.
Example 2.4
2.54
Figure 2.21 Port addresses
2.55
The physical addresses will change from hop to hop,
but the logical addresses usually remain the same.
Note
Figure: Multiplexing and Demultiplexing
OSI versus TCP/IP
Lack of OSI Model’s Success
Figure: OSI versus TCP/IP
Figure: Lack of OSI Model’s Success
•
•
•
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.
Some layers in the OSI model were never fully
defined.
OSI was implemented by an organization in a
different application, it did not show a high enough
level of performance

More Related Content

Similar to Chapter-2.pdf

Similar to Chapter-2.pdf (20)

Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Chapter 2 - Network Models
Chapter 2 - Network ModelsChapter 2 - Network Models
Chapter 2 - Network Models
 
Ch2
Ch2Ch2
Ch2
 
1b network models
1b network models1b network models
1b network models
 
Chapter 2 network models -computer_network
Chapter 2   network models -computer_networkChapter 2   network models -computer_network
Chapter 2 network models -computer_network
 
Unit 1 network models & typical examples(part a)
Unit 1 network models & typical examples(part a)Unit 1 network models & typical examples(part a)
Unit 1 network models & typical examples(part a)
 
Lecture 05 OSI Model and IP Protocol Suite.ppt
Lecture 05 OSI Model and IP Protocol Suite.pptLecture 05 OSI Model and IP Protocol Suite.ppt
Lecture 05 OSI Model and IP Protocol Suite.ppt
 
Osi model34
Osi model34Osi model34
Osi model34
 
Chapter 2: Network Models
Chapter 2: Network ModelsChapter 2: Network Models
Chapter 2: Network Models
 
Chap 02
Chap 02Chap 02
Chap 02
 
Network_Model. In the field of Computer Networking.ppt
Network_Model. In the field of Computer Networking.pptNetwork_Model. In the field of Computer Networking.ppt
Network_Model. In the field of Computer Networking.ppt
 
CSC1202_3_The_OSI_Reference_Model_-_V2.pptx
CSC1202_3_The_OSI_Reference_Model_-_V2.pptxCSC1202_3_The_OSI_Reference_Model_-_V2.pptx
CSC1202_3_The_OSI_Reference_Model_-_V2.pptx
 
Lecture 1.ppt
Lecture 1.pptLecture 1.ppt
Lecture 1.ppt
 
Lec2_CH02.PPT
Lec2_CH02.PPTLec2_CH02.PPT
Lec2_CH02.PPT
 
CSC1202_3_The_OSI_Reference_Model_-_V2.pdf
CSC1202_3_The_OSI_Reference_Model_-_V2.pdfCSC1202_3_The_OSI_Reference_Model_-_V2.pdf
CSC1202_3_The_OSI_Reference_Model_-_V2.pdf
 
Computer Network - Chapter 2
Computer Network - Chapter 2Computer Network - Chapter 2
Computer Network - Chapter 2
 
TCP/IP Training Basic Concepts.
TCP/IP Training Basic Concepts.TCP/IP Training Basic Concepts.
TCP/IP Training Basic Concepts.
 
ch02.ppt
ch02.pptch02.ppt
ch02.ppt
 
Chap 02
Chap 02Chap 02
Chap 02
 
introduction about TCP/IP
introduction about TCP/IPintroduction about TCP/IP
introduction about TCP/IP
 

Recently uploaded

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
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
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
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
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
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
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 

Recently uploaded (20)

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
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
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
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...
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
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
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 

Chapter-2.pdf

  • 1. The Islamia University of Bahawalpur Network Models Chapter - 2
  • 2. 2.2 LAYERED TASKS LAYERED TASKS We use the concept of layers in our daily life. As an example, let us consider two friends who communicate through postal mail. The process of sending a letter to a friend would be complex if there were no services available from the post office.
  • 3. 2.3 Scenarios of Protocol Layering First Scenario Single Protocol Layer • • Maria and Ann Professor and Students
  • 4. 2.4 Scenarios of Protocol Layering Second Scenario A Three-Layer Protocol
  • 5. 2.5 Principles in Protocol Layering First Principle • Bi-directional Communication Second Principle • Two objects at each layer at both sites should be identical
  • 7. 2.7 THE OSI MODEL 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.
  • 8. 2.8 ISO is the organization. OSI is the model. Note
  • 9. 2.9 Figure: Seven layers of the OSI model _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ All People Seems To Need Data Processing Signal
  • 10. 2.10 Figure: Seven layers of the OSI model A B C D X Y Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 200 Pages Italian Document Italian to English 50 50 50 50
  • 11. 2.11 Figure: Seven layers of the OSI model Translation/ Compression/ Encryption/NCP/NDR Authentication/ Session Management/PAP/SCP Provides Interface to User. HTTP, HTTPs, SMTP, FTP, TELNET, SSH Segmentation/flow control/error control . TCP/UDP Segments Logical Addressing/Routing/Path Determination IP/DHCP/ICMP/OSPF/BGP Packets Physical Addressing (Mac1/Mac2/Tail)/FDDI/PPP Frame Bits A B C D X Y Z
  • 12. 2.12 Figure: The interaction between layers in the OSI model
  • 13. LAYERS IN THE OSI MODEL LAYERS IN THE OSI MODEL In this section we briefly describe the functions of each layer in the OSI model. In this section we briefly describe the functions of each layer in the OSI model. In this section we briefly describe the functions of each layer in the OSI model. Application Layer Presentation Layer Session Layer Transport Layer Network Layer Data Link Layer Physical Layer Topics discussed in this section: Topics discussed in this section:
  • 15.
  • 16. The application layer is responsible for providing services to the user. Note Application Layer
  • 18.
  • 19. The presentation layer is responsible for Translation Compression Encryption Note Presentation Layer
  • 22. The session layer is responsible for Dialog control Synchronization Note Session Layer
  • 25.
  • 26. • • • • • The transport layer is responsible for the delivery of a message from one process to another. Service Point addressing Segmentation Error Control Flow Control Note Transport Layer
  • 29. IPV4 & IPV6 + Mask Network layer Logical Addressing Routing Path Determination
  • 30. The network layer is responsible for the delivery of individual packets from the source host to the destination host. Note Network Layer
  • 34. 2.34 • • • • • The data link layer is responsible for moving frames from one hop (node) to the next. Framing Physical addressing Flow Control Error Control Access Control Note Data Link Layer
  • 38. • • • The physical layer is responsible for movements of individual bits from one hop (node) to the next. Data Rate Synchronization of bits Transmission mode Note Physical Layer
  • 39. Summary of OSI Model layers
  • 40. TCP/IP PROTOCOL SUITE TCP/IP PROTOCOL SUITE The layers in the TCP/IP protocol suite do not exactly match those in the OSI model. The original TCP/IP protocol suite was defined as having four layers: network interface, internet, transport, and application. However, when TCP/IP is compared to OSI, we can say that the TCP/IP protocol suite is made of five layers: physical, data link, network, transport, and application. Physical Layer Data Link Layer Network Layer Transport Layer Application Layer Topics discussed in this section: Topics discussed in this section:
  • 42. Figure 2.16 Layer Architecture - TCP/IP Protocol Suite
  • 43. Figure 2.16 TCP/IP and OSI model OSI Model TCP/IP Layers
  • 44. Encapsulation and Decapsulation • • One of the important concepts in protocol layering in the Internet is Encapsulation Decapsulation
  • 46. ADDRESSING ADDRESSING Four levels of addresses are used in an internet employing the TCP/IP protocols: physical, logical, port, and specific. Physical Addresses Logical Addresses Port Addresses Specific Addresses Topics discussed in this section: Topics discussed in this section:
  • 48. Figure 2.18 Relationship of layers and addresses in TCP/IP
  • 49. In Figure 2.19 a node with physical address 10 sends a frame to a node with physical address 87. The two nodes are connected by a link (bus topology LAN). As the figure shows, the computer with physical address 10 is the sender, and the computer with physical address 87 is the receiver. Example 2.1
  • 50. Figure 2.19 Physical addresses
  • 51. Figure 2.20 shows a part of an internet with two routers connecting three LANs. Each device (computer or router) has a pair of addresses (logical and physical) for each connection. In this case, each computer is connected to only one link and therefore has only one pair of addresses. Each router, however, is connected to three networks (only two are shown in the figure). So each router has three pairs of addresses, one for each connection. Example
  • 52. 2.52 Figure 2.20 IP addresses
  • 53. 2.53 Figure 2.21 shows two computers communicating via the Internet. The sending computer is running three processes at this time with port addresses a, b, and c. The receiving computer is running two processes at this time with port addresses j and k. Process a in the sending computer needs to communicate with process j in the receiving computer. Note that although physical addresses change from hop to hop, logical and port addresses remain the same from the source to destination. Example 2.4
  • 55. 2.55 The physical addresses will change from hop to hop, but the logical addresses usually remain the same. Note
  • 56. Figure: Multiplexing and Demultiplexing
  • 57. OSI versus TCP/IP Lack of OSI Model’s Success
  • 59. Figure: Lack of OSI Model’s Success • • • 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. Some layers in the OSI model were never fully defined. OSI was implemented by an organization in a different application, it did not show a high enough level of performance