2. Network Models
2. Network Models
2. Network Models
Network Models
Two models have been devised to define computer network
operations:
TCP/IP protocol suite
OSI model
Protocol Layering
When communication is simple, we may need only one simple protocol.
Protocol Layering
When communication is complex, we may need to divide the task between different
layers, in which case we need a protocol at each layer, or protocol layering.
Layered Tasks
First Principle
It’s dictates that if we want bidirectional communication, we need to make each
layer so that it is able to perform two opposite task.
Second Principle
We need to follow in protocol layering is that the two objects under each layer at
both sites should be identical
Principles of Protocol Layering
Logical connection will help us better understand the task of layering we encounter
in data communication and networking.
The OSI Model
These devices in a network are connected using wired or wireless
transmission media.
Established in 1947, the International Standards Organization (ISO) is a
multinational body dedicated to worldwide agreement on international
standards.
An ISO standard that covers all aspects of network communications is
the Open Systems Interconnection (OSI) model. It was first introduced in
the late 1970s.
It’s coordinate function required to carry a bit stream over a physical medium.
Its also deal with and mechanical and electrical specification of interface.
Data rate - duration of a bit
Synchronization of bits - sender and receiver clock
Line configuration - P2P, MP2P, shared link
Physical topology and Transmission mode
Data Link Layer
The data link layer transform the physical layer, a raw transmission facility, to a reliable link.
It’s make the physical layer appear error – free to the upper layer ( network layer).
Data Link Layer
Framing: its divides the stream of bits received from the network layer into manageable
data units called frame
Physical Addressing : if the frame is intended for a system outside the sender’s
network, the receiver address is the address of the device that connects the network to
the next one.
Flow Control: if the rate at which the data are absorbed by the receiver is less than the
rate at which data are produced in the sender, this layer imposes a flow control
mechanism to avoid overwhelming the receiver.
Error control : detect and retransmit damaged or lost frames. It also uses a mechanism
to recognize duplicate frame
Access control : when two or more devices are connected to the same link, data link
layer protocols are necessary to determine which device has control over the link at any
given time.
Hop to Hop Delivery:
Data Link Layer
Hop to Hop Delivery
Network Layer
The network layer is responsible for the delivery of individual packets from the source
host to the destination host.
Logical Addressing: if a packet passes the network boundary, we need another
addressing system to help distinguish the source and destination systems.
Routing : find path from source-to-destination message delivery
Network Layer
Transport Layer
It concern with syntax and semantics of the information exchanged between two systems
Translation : Provide interoperability between different encoding methods
Encryption/ Decryption : to carry sensitive information, a system must be able to ensure
privacy.
Compression : Data compression reduces the number of bits contained in the information.
Application Layer
Problems
Service, interface, and protocol not distinguished
Not a general model
Host-to-network “layer” not really a layer
No mention of physical and data link layers
Minor protocols deeply entrenched, hard to replace
Addressing
Four levels of addresses are used in an internet employing the TCP/IP protocols:
Physical Address
Logical Address
Port Address
Specific Address
Addresses in TCP/IP
Addressing
07:01:02:01:2C:4B
753
Protocol Hierarchies
Design Issues for the Layers
Connection-Oriented and Connectionless Services
Service Primitives
The Relationship of Services to Protocols
Network Software
Protocol Hierarchies
Network Software
Design issues for the layers
Addressing
Error Control
Flow Control
Multiplexing
Routing
Network Software
Connection Oriented and Connection less services
Network Software
Service Primitives (connection oriented)
Network Software
The Relationship of Services to Protocols