Module 3: Protocols and Models
CCNA Routing and Switching:
Introduction to Networks v7.0 (ITN)
This Slides is prepared by:
Eng. Rawan Aljamal
Cisco Certified CCNA Instructor Trainer
1
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Communications Fundamentals
2
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Communications Fundamentals
Protocols must account for the following requirements:
3
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Network Protocol Requirements
Common computer protocols must be in agreement and include the following requirements:
4
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
The Rules�Message Encoding
5
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
The Rules�Message Encoding
Encoding between hosts must be in an appropriate format for the medium.
6
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
The Rules�Message Formatting and Encapsulation
7
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
The Rules�Message Size
In a network, the size restrictions on frames requires the source host to break a long message into individual pieces that meet both the minimum and maximum size requirements.
8
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
The Rules�Message Timing
Message timing includes the following:
Flow Control – Manages the rate of data transmission and defines how much information can be sent and the speed at which it can be delivered.
Response Timeout – Manages how long a device waits when it does not hear a reply from the destination.
Access method - Determines when someone can send a message.
9
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
The Rules�Message Delivery Options
Message delivery may one of the following methods:
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.
10
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Protocols
11
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
11
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
11
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Network Protocol Overview
Network protocols define a common set of rules.
Protocol Type | Description |
Network Communications | Enable two or more devices to communicate over one or more networks such as Hypertext Transfer Protocol (HTTP). |
Network Security | Secure data to provide authentication, data integrity, and data encryption such as Secure Sockets Layer (SSL), and Transport Layer Security (TLS). |
Routing | Enable routers to exchange route information, compare path information, and select best path. |
Service Discovery | Used for the automatic detection of devices or services such as Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS). |
12
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Network Protocol Functions
Function | Description |
Addressing | Identifies sender and receiver |
Reliability | Provides guaranteed delivery |
Flow Control | Ensures data flows at an efficient rate |
Sequencing | Uniquely labels each transmitted segment of data |
Error Detection | Determines if data became corrupted during transmission |
Application Interface | Process-to-process communications between network applications such as web browser and web server. |
13
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Standards Organizations
14
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
14
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
14
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Open Standards
Open standards are publicly available specifications that allows different products or services work together.
Open standards encourage: interoperability, competition and innovation.
15
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Internet Standards
16
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Internet Standards
17
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Electronic and Communications Standards
18
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Reference Models�(Network Models)
19
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
19
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
19
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
The Benefits of Using a Layered Model
Complex concepts such as how a network operates can be difficult to explain and understand. For this reason, a layered model is used.
Two layered models describe network operations:
20
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
The Benefits of Using a Layered Model
These are the benefits of using a layered model:
21
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
The OSI Reference Model
OSI Model Layer | Description |
7 - Application | Contains protocols used for process-to-process communications. |
6 - Presentation | Provides common representation of the data transferred between application layer services (character encoding, encryption, and compression). |
5 - Session | Establishes, manages, and ends communication sessions between devices. |
4 - Transport | Defines services to segment, transfer, and reassemble the data for individual communications. |
3 - Network | Determines the best path and routes data between different networks. |
2 - Data Link | Uses MAC addresses to deliver data to the correct device within a local network. |
1 - Physical | Transmits raw bits as electrical, light, or radio signals over the physical medium. |
22
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
The TCP/IP Reference Model
TCP/IP Model Layer | Description |
Application | Provides user-facing network services, including data representation, encoding, and session control. |
Transport | Ensures reliable end-to-end data delivery through segmentation, error checking, and flow control. |
Internet | Determines the best path through the network (Routing). |
Network Access | Controls the hardware devices and media that make up the network. |
23
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
OSI and TCP/IP Model Comparison
24
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Protocol Suites
25
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
25
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
25
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Evolution of Protocol Suites
Protocol suite is a group of inter-related protocols necessary to perform a communication function.
There are several protocol suites.
26
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
TCP/IP Protocol Suite
27
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Data Encapsulation
28
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
28
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
28
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Encapsulation Example
29
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Decapsulation Example
30
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Protocol Data Units
31
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Segmenting and multiplexing Messages
Segmenting is the process of breaking up messages into smaller units.
Multiplexing is the processes of taking multiple streams of segmented data and interleaving them together.
Segmenting messages has two primary benefits:
32
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Sequencing
Sequencing messages is the process of numbering the segments so that the message may be reassembled at the destination.
TCP is responsible for sequencing the individual segments.
33
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Addresses
Both the data link and network layers use addressing to deliver data from source to destination.
Network layer source and destination addresses - Responsible for delivering the IP packet from original source to the final destination (from network to network).
Data link layer source and destination addresses – Responsible for delivering the data link frame from one network interface card (NIC) to another NIC on the same network.
34
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Layer 3 Logical Address
An IP address is the network layer, or Layer 3, logical address used to deliver the IP packet from the original source to the final destination.
The IP packet contains two IP addresses:
35
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Layer 3 Logical Address
An IP address contains two parts:
36
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Layer 2 Physical Addresses
37
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Role of Physical Addresses: Same IP Network
When devices are on the same Ethernet network the data link frame will use the actual MAC address of the destination NIC.
MAC addresses are physically embedded into the Ethernet NIC and are local addressing.
38
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Default Gateway
39
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Role of Physical Addresses: Different IP Networks
When the final destination is remote, Layer 3 will provide Layer 2 with the local default gateway IP address, also known as the router address.
40
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Role of Physical Addresses: Different IP Networks
Note: While the L2 local addressing will change from link to link or hop to hop, the L3 addressing remains the same.
41
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Concluding remarks
42
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Suggested Lab Work
Page # | Activity Name |
3.5.5 | Investigate the TCP/IP and OSI Models in Action |
3.7.10 | Use Wireshark to View Network Traffic |
43
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
44
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential