Chapter 2 - Network Models 2
Chapter 2 - Network Models 2
Chapter 2 - Network Models 2
Network Models
Based on
Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
Protocol:
Established in 1947,
1947, the International Standards
ISO) is a multinational body
Organization (ISO)
dedicated to worldwide agreement on international
standards..
standards
An ISO is the Open Systems Interconnection (OSI
OSI))
model is the standard that covers all aspects of
network communications from ISO.
ISO. It was first
introduced in the late 1970s
1970s.
Based on
Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
Based on
Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
Layered Architecture
Layers
Layer 7. Application
Layer 6. Presentation
Layer 5. Session
Layer 4. Transport
Layer 3. Network
Layer 2. Data Link
Layer 1. Physical
Based on
Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
Layered Architecture
A layered model
Each layer performs a subset of the required
communication functions
Each layer relies on the next lower layer to perform
more primitive functions
Each layer provides services to the next higher layer
Changes in one layer should not require changes in
other layers
The processes on each machine at a given layer are
called peer-to-peer process
Based on
Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
Based on
Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
Based on
Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
1. Physical Layer
2. Data Link Layer
3. Network Layer
4. Transport Layer
5. Session Layer
6. Presentation Layer
7. Application Layer
Based on
Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
1. Physical Layer
The physical layer is responsible for movements of
individual bits from one hop (node) to the next.
Function
Based on
Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
Function
Framing
Physical addressing
Flow control
Error control
Access control
Based on
Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
Example 1
In following figure a node with physical address 10 sends a frame to a node
with physical address 87. The two nodes are connected within the same
network. At the data link level this frame contains physical addresses in the
header. These are the only addresses needed. The rest of the header contains
other information needed at this level at the receiver side. The trailer usually
contains extra bits needed for error detection
Based on
Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
3. Network Layer
The network layer is responsible for the
delivery of individual packets from
the source host to the destination host.
Source-to-destination delivery
Responsible from the delivery of packets from the original
source to the final destination
Functions
Logical addressing
routing
Based on
Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
Example 2
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 physical addresses
only; the physical addresses only
have local influence. What we
need here are universal addresses
that can pass through the LAN
boundaries.
The
network
addresses have this characteristic.
Based on
Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
4. Transport Layer
The transport layer is responsible for the delivery
of a message from one process to another.
Functions
Port addressing
Flow control
Error control
Based on
Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
Example 3
Following Figure shows an example of transport layer communication. Data coming
from the upper layers 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 port addresses (j and k). Then in the network layer, network addresses
(A and P) are added to each packet.
Source A
Destination P
Based on
Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
5. Session Layer
The session layer is responsible for dialog
control and synchronization.
It establishes, maintains and synchronize the
interaction between communicating system
Function
Dialog control
Synchronization (checkpoints)
Based on
Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
6. Presentation Layer
The presentation layer is responsible for translation,
compression, and encryption.
Concerned with the syntax and semantics of the
information exchanged between two system
Functions
Translation ( EBCDIC-coded text file ASCII-coded file)
Encryption and Decryption
Compression
Based on
Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
7. Application Layer
The application layer is responsible for
providing services to the user.
Functions
Network virtual terminal (Remote log-in)
File transfer and access
Mail services
Directory services (Distributed Database)
Accessing the World Wide Web
Based on
Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
Layer
Function
7. Application
6. Presentation
5. Session
Inter-host communication
Segment 4. Transport
Packet
3. Network
2. Data Link
Physical addressing
1. Physical
Network
support Frame
layers
Bit
Based on
Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007