Network Protocols and Communication Models
Network Protocols and Communication Models
Module Objectives
Module Title: Protocols and Models
Module Objective: Explain how network protocols enable devices to access local and remote
network resources.
Topic Title Topic Objective
The Rules Describe the types of rules that are necessary to successfully communicate.
Module 3: Protocols and Protocols Explain why protocols are necessary in network communication.
Standards Organizations Explain the role of standards organizations in establishing protocols for network
interoperability.
Instructor Materials
Reference Models Explain how the TCP/IP model and the OSI model are used to facilitate
standardization in the communication process.
Introduction to Networks v7.0 Data Encapsulation Explain how data encapsulation allows data to be transported across the
(ITN) network.
Data Access Explain how local hosts access local resources on a network.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 2
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 3 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 4
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 5 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 6
1
18/09/2023
• Protocols are the rules that communications will follow. • The first message is difficult to read because it is not formatted properly. The second shows
the message properly formatted
• These rules will vary depending on the protocol.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 7 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 8
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 9 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 10
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 11 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 12
2
18/09/2023
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 13 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 14
Note: Broadcasts are used in IPv4 networks, but are not an option for IPv6. Later we will also
see “Anycast” as an additional delivery option for IPv6.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 15 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 16
Protocols
Network Protocol Overview
Network protocols define a
Protocol Type Description
common set of rules.
• Can be implemented on
devices in: Network enable two or more devices to communicate over
Communications one or more networks
• Software
3.2 Protocols • Hardware Network Security secure data to provide authentication, data
integrity, and data encryption
• Both
• Protocols have their own: Routing enable routers to exchange route information,
compare path information, and select best path
• Function
• Format Service used for the automatic detection of devices or
• Rules Discovery services
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 17 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 18
3
18/09/2023
Protocols Protocols
Network Protocol Functions Protocol Interaction
• Devices use agreed-upon protocols
• Networks require the use of several
to communicate .
protocols.
• Protocols may have may have one
• Each protocol has its own function and format.
or functions.
Addressing Identifies sender and receiver Hypertext Transfer ▪ Governs the way a web server and a web client interact
Protocol (HTTP) ▪ Defines content and format
Reliability Provides guaranteed delivery
Transmission Control ▪ Manages the individual conversations
Flow Control Ensures data flows at an efficient rate Protocol (TCP) ▪ Provides guaranteed delivery
▪ Manages flow control
Sequencing Uniquely labels each transmitted segment of data
Internet Protocol (IP) Delivers messages globally from the sender to the receiver
Error Detection Determines if data became corrupted during transmission
Ethernet Delivers messages from one NIC to another NIC on the same Ethernet Local
Application Interface Process-to-process communications between network applications Area Network (LAN)
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 19 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 20
Protocol Suites
Network Protocol Suites
Protocols must be able to work with other
protocols.
Protocol suite:
• A group of inter-related protocols
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 23 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 24
4
18/09/2023
• TCP/IP is:
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 25 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 26
Standards Organizations
Open Standards
Open standards encourage:
• interoperability
• competition
• innovation
3.4 Standards Organizations Standards organizations are:
• vendor-neutral
• non-profit organizations
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 27 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 28
5
18/09/2023
Reference Models
The Benefits of Using a Layered Model
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 33 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 34
• Foster competition because products from different vendors can work together 5 - Session Provides services to the presentation layer and to manage data exchange.
Defines services to segment, transfer, and reassemble the data for individual
• Prevent technology or capability changes in one layer from affecting other layers 4 - Transport
communications.
above and below
3 - Network Provides services to exchange the individual pieces of data over the network.
• Provide a common language to describe networking functions and capabilities
2 - Data Link Describes methods for exchanging data frames over a common media.
1 - Physical Describes the means to activate, maintain, and de-activate physical connections.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 35 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 36
6
18/09/2023
Internet Determines the best path through the network. • The TCP/IP protocol suite does not
specify which protocols to use when
Network Access Controls the hardware devices and media that make up the network. transmitting over a physical medium.
• OSI Layers 1 and 2 discuss the
necessary procedures to access the
media and the physical means to
send data over a network.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 37 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 38
Reference Models
Packet Tracer – Investigate the TCP/IP and OSI Models in Action
This simulation activity is intended to provide a foundation for understanding the
TCP/IP protocol suite and the relationship to the OSI model. Simulation mode
allows you to view the data contents being sent across the network at each layer.
In this Packet Tracer, you will:
• Part 1: Examine HTTP Web Traffic 3.6 Data Encapsulation
• Part 2: Display Elements of the TCP/IP Protocol Suite
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 39 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 40
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 41 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 42
7
18/09/2023
Data Encapsulation
De-encapsulation Example
• Data is de-encapsulated as it moves up
the stack.
• When a layer completes its process,
that layer strips off its header and
passes it up to the next level to be
processed. This is repeated at each
layer until it is a data stream that the
3.7 Data Access
application can process.
1. Received as Bits (Bit Stream)
2. Frame
3. Packet
4. Segment
5. Data (Data Stream)
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 45 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 46
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 47 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 48
8
18/09/2023
9
18/09/2023
• Source – AA-AA-AA-AA-AA-AA
(PC1) Sends the frame.
• Destination – 11-11-11-11-11-11 (R1-
Default Gateway MAC) Receives
the frame.
Note: While the L2 local addressing will
change from link to link or hop to hop, the
L3 addressing remains the same.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 55 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 56
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 57 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 58
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 59 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 60
10
18/09/2023
Data Access
Lab – Use Wireshark to View Network Traffic
In this lab, you will do the following:
• Part 1: Capture and Analyze Local ICMP Data in Wireshark
• Part 2: Capture and Analyze Remote ICMP Data in Wireshark
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 61 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 62
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 63 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 64
11