SlideShare a Scribd company logo
TCP/IP Protocol Suite 1
Chapter 2
Upon completion you will be able to:
The OSI Model and
the TCP/IP Protocol Suite
• Understand the architecture of the OSI model
• Understand the layers of the OSI model and their functions
• Understand the architecture of the TCP/IP Protocol Suite
• Differentiate between the OSI model and the TCP/IP Suite
• Differentiate between the three types of Internet addresses
Objectives
TCP/IP Protocol Suite 2
2.1 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.
The topics discussed in this section include:
Layered Architecture
Peer-to-Peer Processes
Encapsulation
TCP/IP Protocol Suite 3
ISO is the organization.
OSI is the model
Note:
TCP/IP Protocol Suite 4
Figure 2.1 The OSI model
TCP/IP Protocol Suite 5
Figure 2.2 OSI layers
TCP/IP Protocol Suite 6
Figure 2.3 An exchange using the OSI model
TCP/IP Protocol Suite 7
2.2 Layers in the OSI Model
The functions of each layer in the OSI model is briefly described.
The topics discussed in this section include:
Physical Layer
Data Link Layer
Network Layer
Transport Layer
Session Layer
Presentation Layer
Application Layer
Summary of Layers
TCP/IP Protocol Suite 8
Figure 2.4 Physical layer
TCP/IP Protocol Suite 9
The physical layer is responsible
for the movement of individual bits
from one hop (node) to the next.
Note:
TCP/IP Protocol Suite 10
Figure 2.5 Data link layer
TCP/IP Protocol Suite 11
The data link layer is responsible for
moving frames from one hop (node) to
the next.
Note:
TCP/IP Protocol Suite 12
Figure 2.6 Hop-to-hop delivery
TCP/IP Protocol Suite 13
Figure 2.7 Network layer
TCP/IP Protocol Suite 14
The network layer is responsible for
the delivery of individual packets from
the source host to the destination host.
Note:
TCP/IP Protocol Suite 15
Figure 2.8 Source-to-destination delivery
TCP/IP Protocol Suite 16
Figure 2.9 Transport layer
TCP/IP Protocol Suite 17
The transport layer is responsible for
the delivery of a message from one
process to another.
Note:
TCP/IP Protocol Suite 18
Figure 2.10 Reliable process-to-process delivery of a message
TCP/IP Protocol Suite 19
Figure 2.11 Session layer
TCP/IP Protocol Suite 20
Figure 2.12 Presentation layer
TCP/IP Protocol Suite 21
Figure 2.13 Application layer
TCP/IP Protocol Suite 22
Figure 2.14 Summary of layers
TCP/IP Protocol Suite 23
2.3 TCP/IP Protocol Suite
The TCP/IP protocol suite is made of five layers: physical, data link,
network, transport, and application. The first four layers provide physical
standards, network interface, internetworking, and transport functions
that correspond to the first four layers of the OSI model. The three
topmost layers in the OSI model, however, are represented in TCP/IP by
a single layer called the application layer.
The topics discussed in this section include:
Physical and Data Link Layers
Network Layer
Transport Layer
Application Layer
TCP/IP Protocol Suite 24
Figure 2.15 TCP/IP and OSI model
TCP/IP Protocol Suite 25
2.4 Addressing
Three different levels of addresses are used in an internet using the
TCP/IP protocols: physical (link) address, logical (IP) address, and
port address.
The topics discussed in this section include:
Physical Address
Logical Address
Port Address
TCP/IP Protocol Suite 26
Figure 2.16 Addresses in TCP/IP
TCP/IP Protocol Suite 27
Figure 2.17 Relationship of layers and addresses in TCP/IP
TCP/IP Protocol Suite 28
In Figure 2.18 a node with physical address 10 sends
a frame to a node with physical address 87. The two
nodes are connected by a link. At the data link level
this frame contains physical (link) addresses in the
header. These are the only addresses needed. The rest
of the header contains other information needed at
this level. The trailer usually contains extra bits
needed for error detection.
Example 1
See Next Slide
TCP/IP Protocol Suite 29
Figure 2.18 Physical addresses
TCP/IP Protocol Suite 30
As we will see in Chapter 3, most local area networks
use a 48-bit (6 bytes) physical address written as 12
hexadecimal digits, with every 2 bytes separated by a
colon as shown below:
Example 2
07:01:02:01:2C:4B
A 6-byte (12 hexadecimal digits) physical address.
TCP/IP Protocol Suite 31
In Figure 2.19 we want to send data from a node with network
address A and physical address 10, located on one LAN, to a
node with a network address P and physical address 95, located
on another LAN. Because the two devices are located on
different networks, we cannot use link addresses only; the link
addresses have only local jurisdiction. What we need here are
universal addresses that can pass through the LAN
boundaries. The network (logical) addresses have this
characteristic.
Example 3
See Next Slide
TCP/IP Protocol Suite 32
The packet at the network layer contains the logical addresses,
which remain the same from the original source to the final
destination (A and P, respectively, in the figure). They will not
change when we go from network to network. However, the
physical addresses will change as the packet moves from one
network to another. The boxes labeled routers are
internetworking devices, which we will discuss in Chapter 3.
Example 3 (Continued)
See Next Slide
TCP/IP Protocol Suite 33
Figure 2.19 IP addresses
TCP/IP Protocol Suite 34
Example 4
As we will see in Chapter 4, an Internet address (in
IPv4) is 32 bits in length, normally written as four
decimal numbers, with each number representing 1
byte. The numbers are separated by a dot. Below is an
example of such an address.
132.24.75.9
An internet address in IPv4 in decimal numbers
TCP/IP Protocol Suite 35
Figure 2.20 shows an example of transport layer
communication. Data coming from the upperlayers
have port addresses j and k ( j is the address of the
sending process, and k is the address of the receiving
process). Since the data size is larger than the network
layer can handle, the data are split into two packets,
each packet retaining the service-point addresses ( j
and k). Then in the network layer, network addresses
(A and P) are added to each packet.
Example 5
See Next Slide
TCP/IP Protocol Suite 36
The packets can travel on different paths and arrive at
the destination either in order or out of order. The two
packets are delivered to the destination transport
layer, which is responsible for removing the network
layer headers and combining the two pieces of data
for delivery to the upper layers.
Example 5 (Continued)
See Next Slide
TCP/IP Protocol Suite 37
Figure 2.20 Port addresses
TCP/IP Protocol Suite 38
As we will see in Chapters 11, 12, and 13, a port
address is a 16-bit address represented by one decimal
number as shown below.
Example 6
753
A 16-bit port address represented as one single number.
TCP/IP Protocol Suite 39
2.5 IP Versions
IP became the official protocol for the Internet in 1983. As the Internet
has evolved, so has IP. There have been six versions since its inception.
We look at the latter three versions here.
The topics discussed in this section include:
Version 4
Version 5
Version 6

More Related Content

PDF
TCP/IP Training Basic Concepts.
PPT
TCP/IP Protocol-Suite/ TCP IP Powerpoint
PPT
Protocol Ppt[1]
PPT
Chap 02
PPT
Chap 02 osi model
PPT
Chap-02 (1).ppt Chap-01.ppt Data Communication 2 Kabul Afghanistan
PPT
TCP/IP Training Basic Concepts.
TCP/IP Protocol-Suite/ TCP IP Powerpoint
Protocol Ppt[1]
Chap 02
Chap 02 osi model
Chap-02 (1).ppt Chap-01.ppt Data Communication 2 Kabul Afghanistan

Similar to Chap-02 data link layer comp net (1).ppt (20)

PDF
chương 2 (Mô hình OSI & Bộ giao thức TCP-IP) (1).pdf
PPT
Ch02.ppt
PDF
OSI open system interconnection LAYERS.pdf
PDF
CPE401_MODULE2B_Data_Communication_and_Networking.pdf
PPT
Data communicationand networking _ network models.ppt
PPT
ch2_v1.ppt55556667777888999.............
PPT
ch2_v1.pptkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPT
Introduction to data communication system.ppt
PPT
Introduction to data communication_v1.ppt
PPT
Open_system_interconnection_document1.ppt
PPT
ch2_v1.ppt networking tertyui fdcfjgfybvuu
PPT
Physical Layer Data communication and Networking Forouzan
PPT
NetworkModelNetworkModelNetworkModel.ppt
PPT
Lecture 1 osi model
PPT
PPT
Data Communication And Networking - Network Models
PPT
2.(3)OSI and TCP layer.ppt
PPT
PPT
Data communication and networking with network module
PPT
Data Communications AND NetworkingData Communications AND Networking
chương 2 (Mô hình OSI & Bộ giao thức TCP-IP) (1).pdf
Ch02.ppt
OSI open system interconnection LAYERS.pdf
CPE401_MODULE2B_Data_Communication_and_Networking.pdf
Data communicationand networking _ network models.ppt
ch2_v1.ppt55556667777888999.............
ch2_v1.pptkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Introduction to data communication system.ppt
Introduction to data communication_v1.ppt
Open_system_interconnection_document1.ppt
ch2_v1.ppt networking tertyui fdcfjgfybvuu
Physical Layer Data communication and Networking Forouzan
NetworkModelNetworkModelNetworkModel.ppt
Lecture 1 osi model
Data Communication And Networking - Network Models
2.(3)OSI and TCP layer.ppt
Data communication and networking with network module
Data Communications AND NetworkingData Communications AND Networking
Ad

Recently uploaded (20)

PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Well-logging-methods_new................
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
DOCX
573137875-Attendance-Management-System-original
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
composite construction of structures.pdf
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
UNIT 4 Total Quality Management .pptx
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
web development for engineering and engineering
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
CH1 Production IntroductoryConcepts.pptx
Operating System & Kernel Study Guide-1 - converted.pdf
Well-logging-methods_new................
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Automation-in-Manufacturing-Chapter-Introduction.pdf
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
573137875-Attendance-Management-System-original
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
composite construction of structures.pdf
Embodied AI: Ushering in the Next Era of Intelligent Systems
UNIT 4 Total Quality Management .pptx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
web development for engineering and engineering
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Ad

Chap-02 data link layer comp net (1).ppt

  • 1. TCP/IP Protocol Suite 1 Chapter 2 Upon completion you will be able to: The OSI Model and the TCP/IP Protocol Suite • Understand the architecture of the OSI model • Understand the layers of the OSI model and their functions • Understand the architecture of the TCP/IP Protocol Suite • Differentiate between the OSI model and the TCP/IP Suite • Differentiate between the three types of Internet addresses Objectives
  • 2. TCP/IP Protocol Suite 2 2.1 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. The topics discussed in this section include: Layered Architecture Peer-to-Peer Processes Encapsulation
  • 3. TCP/IP Protocol Suite 3 ISO is the organization. OSI is the model Note:
  • 4. TCP/IP Protocol Suite 4 Figure 2.1 The OSI model
  • 5. TCP/IP Protocol Suite 5 Figure 2.2 OSI layers
  • 6. TCP/IP Protocol Suite 6 Figure 2.3 An exchange using the OSI model
  • 7. TCP/IP Protocol Suite 7 2.2 Layers in the OSI Model The functions of each layer in the OSI model is briefly described. The topics discussed in this section include: Physical Layer Data Link Layer Network Layer Transport Layer Session Layer Presentation Layer Application Layer Summary of Layers
  • 8. TCP/IP Protocol Suite 8 Figure 2.4 Physical layer
  • 9. TCP/IP Protocol Suite 9 The physical layer is responsible for the movement of individual bits from one hop (node) to the next. Note:
  • 10. TCP/IP Protocol Suite 10 Figure 2.5 Data link layer
  • 11. TCP/IP Protocol Suite 11 The data link layer is responsible for moving frames from one hop (node) to the next. Note:
  • 12. TCP/IP Protocol Suite 12 Figure 2.6 Hop-to-hop delivery
  • 13. TCP/IP Protocol Suite 13 Figure 2.7 Network layer
  • 14. TCP/IP Protocol Suite 14 The network layer is responsible for the delivery of individual packets from the source host to the destination host. Note:
  • 15. TCP/IP Protocol Suite 15 Figure 2.8 Source-to-destination delivery
  • 16. TCP/IP Protocol Suite 16 Figure 2.9 Transport layer
  • 17. TCP/IP Protocol Suite 17 The transport layer is responsible for the delivery of a message from one process to another. Note:
  • 18. TCP/IP Protocol Suite 18 Figure 2.10 Reliable process-to-process delivery of a message
  • 19. TCP/IP Protocol Suite 19 Figure 2.11 Session layer
  • 20. TCP/IP Protocol Suite 20 Figure 2.12 Presentation layer
  • 21. TCP/IP Protocol Suite 21 Figure 2.13 Application layer
  • 22. TCP/IP Protocol Suite 22 Figure 2.14 Summary of layers
  • 23. TCP/IP Protocol Suite 23 2.3 TCP/IP Protocol Suite The TCP/IP protocol suite is made of five layers: physical, data link, network, transport, and application. The first four layers provide physical standards, network interface, internetworking, and transport functions that correspond to the first four layers of the OSI model. The three topmost layers in the OSI model, however, are represented in TCP/IP by a single layer called the application layer. The topics discussed in this section include: Physical and Data Link Layers Network Layer Transport Layer Application Layer
  • 24. TCP/IP Protocol Suite 24 Figure 2.15 TCP/IP and OSI model
  • 25. TCP/IP Protocol Suite 25 2.4 Addressing Three different levels of addresses are used in an internet using the TCP/IP protocols: physical (link) address, logical (IP) address, and port address. The topics discussed in this section include: Physical Address Logical Address Port Address
  • 26. TCP/IP Protocol Suite 26 Figure 2.16 Addresses in TCP/IP
  • 27. TCP/IP Protocol Suite 27 Figure 2.17 Relationship of layers and addresses in TCP/IP
  • 28. TCP/IP Protocol Suite 28 In Figure 2.18 a node with physical address 10 sends a frame to a node with physical address 87. The two nodes are connected by a link. At the data link level this frame contains physical (link) addresses in the header. These are the only addresses needed. The rest of the header contains other information needed at this level. The trailer usually contains extra bits needed for error detection. Example 1 See Next Slide
  • 29. TCP/IP Protocol Suite 29 Figure 2.18 Physical addresses
  • 30. TCP/IP Protocol Suite 30 As we will see in Chapter 3, most local area networks use a 48-bit (6 bytes) physical address written as 12 hexadecimal digits, with every 2 bytes separated by a colon as shown below: Example 2 07:01:02:01:2C:4B A 6-byte (12 hexadecimal digits) physical address.
  • 31. TCP/IP Protocol Suite 31 In Figure 2.19 we want to send data from a node with network address A and physical address 10, located on one LAN, to a node with a network address P and physical address 95, located on another LAN. Because the two devices are located on different networks, we cannot use link addresses only; the link addresses have only local jurisdiction. What we need here are universal addresses that can pass through the LAN boundaries. The network (logical) addresses have this characteristic. Example 3 See Next Slide
  • 32. TCP/IP Protocol Suite 32 The packet at the network layer contains the logical addresses, which remain the same from the original source to the final destination (A and P, respectively, in the figure). They will not change when we go from network to network. However, the physical addresses will change as the packet moves from one network to another. The boxes labeled routers are internetworking devices, which we will discuss in Chapter 3. Example 3 (Continued) See Next Slide
  • 33. TCP/IP Protocol Suite 33 Figure 2.19 IP addresses
  • 34. TCP/IP Protocol Suite 34 Example 4 As we will see in Chapter 4, an Internet address (in IPv4) is 32 bits in length, normally written as four decimal numbers, with each number representing 1 byte. The numbers are separated by a dot. Below is an example of such an address. 132.24.75.9 An internet address in IPv4 in decimal numbers
  • 35. TCP/IP Protocol Suite 35 Figure 2.20 shows an example of transport layer communication. Data coming from the upperlayers have port addresses j and k ( j is the address of the sending process, and k is the address of the receiving process). Since the data size is larger than the network layer can handle, the data are split into two packets, each packet retaining the service-point addresses ( j and k). Then in the network layer, network addresses (A and P) are added to each packet. Example 5 See Next Slide
  • 36. TCP/IP Protocol Suite 36 The packets can travel on different paths and arrive at the destination either in order or out of order. The two packets are delivered to the destination transport layer, which is responsible for removing the network layer headers and combining the two pieces of data for delivery to the upper layers. Example 5 (Continued) See Next Slide
  • 37. TCP/IP Protocol Suite 37 Figure 2.20 Port addresses
  • 38. TCP/IP Protocol Suite 38 As we will see in Chapters 11, 12, and 13, a port address is a 16-bit address represented by one decimal number as shown below. Example 6 753 A 16-bit port address represented as one single number.
  • 39. TCP/IP Protocol Suite 39 2.5 IP Versions IP became the official protocol for the Internet in 1983. As the Internet has evolved, so has IP. There have been six versions since its inception. We look at the latter three versions here. The topics discussed in this section include: Version 4 Version 5 Version 6