Chapter 2 - Protocol and Model
Chapter 2 - Protocol and Model
Chapter 2 - Protocol and Model
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.
A Note About the Node Icon
• Documents may use the node icon , typically a circle, to represent
all devices.
• The figure illustrates the use of the node icon for delivery options.
2.2 Protocols
Network Protocol Overview
Network protocols
define a common set of
rules.
Protocol Type Description
• Can be implemented
on devices in: Network enable two or more devices to
• Software Communications communicate over one or more networks
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
Protocol Interaction
Protocol Function
Hypertext Transfer ▪ Governs the way a web server and a web client interact
Protocol (HTTP) ▪ Defines content and format
Transmission Control ▪ Manages the individual conversations
Protocol (TCP) ▪ Provides guaranteed delivery
▪ Manages flow control
Internet Protocol (IP) Delivers messages globally from the sender to the receiver
Ethernet Delivers messages from one NIC to another NIC on the same Ethernet
Local Area Network (LAN)
2.3 Protocol Suites
Network Protocol Suites
• TCP/IP protocols
operate at the
application, transport,
and internet layers.
• The most common
network access layer
LAN protocols are
Ethernet and WLAN
(wireless LAN).
TCP/IP Protocol Suite
• TCP/IP is the protocol suite
used by the internet and
includes many protocols.
• TCP/IP is:
• An open standard protocol
suite that is freely available
to the public and can be
used by any vendor
• A standards-based protocol
suite that is endorsed by the
networking industry and
approved by a standards
organization to ensure
interoperability
TCP/IP Communication Process
• competition
• innovation
TCP/IP Model
Description
Layer
Application Represents data to the user, plus encoding and dialog control.
Supports communication between various devices across diverse
Transport
networks.
Internet Determines the best path through the network.
Network Access Controls the hardware devices and media that make up the network.
OSI and TCP/IP Model Comparison
• Encapsulationis a
top down process.
• The level above does
its process and then
passes it down to
the next level of the
model. This process
is repeated by each
layer until it is sent
out as a bit stream.
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 application
can process.
1. Received as Bits (Bit Stream)
2. Frame
3. Packet
4. Segment
5. Data (Data Stream)
2.7 Data Access
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.
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.
Layer 3 Logical Address
The IP packet contains two
IP addresses:
• Source IP address - The
IP address of the sending
device, original source of
the packet.
• Destination IP address -
The IP address of the
receiving device, final
destination of the packet.
These addresses may be on
the same link or remote.
Layer 3 Logical Address (Cont.)
An IP address contains two parts:
• Network portion (IPv4) or Prefix
(IPv6)
• The left-most part of the address
indicates the network group which the
IP address is a member.
• Each LAN or WAN will have the same
network portion.
• Host portion (IPv4) or Interface ID
(IPv6)
• The remaining part of the address
identifies a specific device within the
group.
• This portion is unique for each device
on the network.
Devices on the Same Network