Network Models
Network Models
Network Models
COMPUTER NETWORK
Ts. Diyana bt Ab Kadir
diyana@unikl.edu.my
Room 612
Chapter 2: Network Model
2.1 The Rules
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 3
The Rules
Communication Fundamentals
Networks can vary in size and complexity. It is not enough to have a connection, devices must agree on “how” to communicate.
There are three elements to any communication:
◦ There will be a source (sender).
◦ There will be a destination (receiver).
◦ There will be a channel (media) that provides for the path of communications to occur.
The Rules
Communication Protocols
•All communications are governed by protocols.
•Protocols are the rules that communications will follow.
•These rules will vary depending on the protocol.
The Rules
Rule Establishment
• Individuals must use established rules or agreements to govern the conversation.
• The first message is difficult to read because it is not formatted properly. The second shows the message properly
formatted
The Rules
Rule Establishment
Protocols must account for the following requirements:
◦ An identified sender and receiver
◦ Common language and grammar
◦ Speed and timing of delivery
◦ Confirmation or acknowledgment requirements
The Rules
Network Protocols Requirements
Common computer protocols must be in agreement and include the following requirements:
◦ Message encoding
◦ Message formatting and encapsulation
◦ Message size
◦ Message timing
◦ Message delivery options
The Rules
Message Encoding
•Encoding is the process of converting information into another acceptable form for transmission.
•Decoding reverses this process to interpret the information.
The Rules
Message Formatting and Encapsulation
•When a message is sent, it must use a specific format or structure.
•Message formats depend on the type of message and the channel that is used to deliver the message.
The Rules
Message Size
Encoding between hosts must be in an appropriate format for the medium.
◦ Messages sent across the network are converted to bits
◦ The bits are encoded into a pattern of light, sound, or electrical impulses.
◦ The destination host must decode the signals to interpret the message.
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.
◦ There may be various rules governing issues like “collisions”. This is when more than one device sends
traffic at the same time and the messages become corrupt.
◦ Some protocols are proactive and attempt to prevent collisions; other protocols are reactive and establish
a recovery method after the collision occurs.
The Rules
A node about the node icon
• The node icon is typically a circle, to represent all devices.
• The figure illustrates the use of the node icon for delivery options.
2.2 Protocols
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 14
Protocols
Network protocol overview
Network protocols define a common set of rules. Protocol Type Description
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
Protocols
Protocol Interaction
• Networks require the use of several protocols.
• Each protocol has its own function and format.
Protocol Function
Hypertext Transfer Governs the way a web server and a web client interact
Protocol (HTTP) Defines content and format
Transmission Manages the individual conversations
Control Protocol Provides guaranteed delivery
(TCP) Manages flow control
Internet Protocol Delivers messages globally from the sender to the receiver
(IP)
Ethernet Delivers messages from one NIC to another NIC on the same
Ethernet Local Area Network (LAN)
Protocol
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 22
Reference Models
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:
• Open System Interconnection (OSI) Reference Model
• TCP/IP Reference Model
Reference Models
The Benefits of using a layered model
These are the benefits of using a layered model:
• Assist in protocol design because protocols that operate at a specific layer have defined information that they act upon
and a defined interface to the layers above and below
• Foster competition because products from different vendors can work together
• Prevent technology or capability changes in one layer from affecting other layers above and below
• Provide a common language to describe networking functions and capabilities
Reference Models
The OSI Reference Model
OSI Model Layer Description
7 - Application Contains protocols used for process-to-process communications.
6 - Presentation Provides for common representation of the data transferred between application layer
services.
5 - Session Provides services to the presentation layer and to manage data exchange.
4 - Transport Defines services to segment, transfer, and reassemble the data for individual communications.
3 - Network Provides services to exchange the individual pieces of data over the network.
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.
Reference Models
The TCP/IP Reference Model
TCP/IP Model Layer Description
Application Represents data to the user, plus encoding and dialog control.
Network Access Controls the hardware devices and media that make up the network.
Reference Models
OSI and TCP/IP Model Comparison
• The OSI model divides the network access layer and the
application layer of the TCP/IP model into multiple layers.
• The TCP/IP protocol suite does not specify which protocols
to use when 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.
2.4 Data Encapsulation
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 28
Data Encapsulation
Segmenting 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:
• Increases speed - Large amounts of data can be sent
over the network without tying up a communications
link.
• Increases efficiency - Only segments which fail to reach
the destination need to be retransmitted, not the
entire data stream.
Data Encapsulation
Sequencing
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 34
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.
Data Access
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.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 46
Summary
What did I learn in this module?
Summary
Networking terms