Communication Model
Communication Model
• ----------------
Protocols and Standards
• Connectionless
Connection-Oriented (stateful) Protocol
connection-oriented describes a means of transmitting data in
which the devices at the end points use a
preliminary protocol to establish an end-to-end connection
before any data is sent.
Connection-oriented Protocol:
Connection-oriented protocol services are often, but not
always, reliable network services, that provide
acknowledgment after successful delivery, and automatic
repeat request functions in case of missing data or
detected bit-errors.
Characteristics of Connection-Oriented Comm..
• A communication circuit/path is defined before actual data transfer
• All packets go through same route as defined
• Packets are delivered in the same order as it was sent
• It will keep resending the packets until gets acknowledged
• Handshake method is used to establish the connection between sender
and receiver
• TCP, MPLS are connection oriented protocols
Connectionless protocol
• data is sent from one end point to another without prior
arrangement.
• Connectionless protocols are usually described
as stateless because the end points have no protocol-defined
way to remember where they are in a "conversation" of
message exchanges. UDP, IP are example of connectionless
protocol
Comparison
Connection Oriented Connection less
it is the communication service in which virtual connection is in this communication service, packets are sent
created before sending the packet over the internet. without creating any virtual connection over the
internet.
It needs authentication of the destination node before It transfers the data message without authenticating
transferring data. destination.
ensures delivery of the packet to the destination This connection does not ensure reliability on packet
transmission
The handshaking is carried out to ensure both sender and receiver There is no handshaking happens while sending a
agree with this connection packet over the network
It is slower than the connectionless service. Before sending a It is faster than connection-oriented protocol service.
packet, the virtual connection is created in the connection-
oriented protocol which adds extra delay.
More Overheads: Sending packet in connection-oriented service It has less overhead and smaller packet header size
requires more parameters in the header of the packet to ensure
the reliable transmission.
Route is finalized and decided at the time of handshaking The route is not finalized and decided on the
before sending the actual packet. way while transferring data packet based on
the network congestion.
All the packets between sender and destination follows Not necessary all the packets transmitting
the same path. between sender and receiver follows the same
path.
Open System Interconnection (OSI) Reference model
OSI stands for Open Systems Interconnection. It has been developed by
ISO – ‘International Organization of Standardization’, as a model for a
computer protocol architecture and as a framework for developing
protocol standards in the year 1984. It is a 7 layer architecture with each
layer having specific functionality to perform. All these 7 layers work
collaboratively to transmit the data from one person to another across the
globe
OSI model consists of 7 layers
Application
Presentation
Session
Transport
Network
Data link
Physical
7. Application Layer Provides a user interface, distributed information services. http, email, dns
– Because the functions of each layer are well defined, standards can be
developed independently and simultaneously for each layer. This speeds up
the standards-making process.
– Because the boundaries between layers are well defined, changes in standards
in one layer need not affect already existing software in another layer. This
makes it easier to introduce new standards.
TCP/IP
History
• It stands for Transmission Control Protocol/Internet Protocol.
• In 1974, Vint Cerf and Bob Kahn published a paper "A Protocol for Packet
Network Interconnection" which describes the TCP/IP Model.
• It is specifically designed as a model to offer highly reliable and end-to-end
byte stream over an unreliable internetwork.
• By 1978, testing and further development of this language led to a new
suite of protocols called TCP/IP
• On January 1, 1983, ARPAnet switched over to TCP/IP,
TCP/IP vs OSI model
Internet
Network Access
Physical
TCP/IP Model
• TCP/IP is suit of communication protocols used to interconnect the network devices in
the internet. It specifies how data are broken into packets, transmitted and arranged to
while transferring from source to destination
• TCP/IP is the 5 layered architecture used to transfer data from host computer to
destination computer in packet switched network.
• It contains 5 layers, unlike seven layers in the OSI model.
The layers are:
1. Physical Layer
2. Network Access/Link Layer
3. Internet Layer
4. Host-to-Host/Transport Layer
5. Process/Application Layer
Some authors use 4 layer as well- Network access, internet, transport, application
• TCP/IP is a hierarchical protocol made up of interactive modules, and each of them
provides specific functionality.
Here, hierarchical means that each upper-layer protocol is supported by two or more lower-level protocols.
Functions of TCP/IP model and OSI layers
TCP/IP OSI
Application
Application Presentation
Session
Transport
Internet Network
Physical
Physical Layer
• The physical layer covers the physical interface between a data
transmission device (e.g., workstation, computer) and a
transmission medium or network.
• This layer is concerned with specifying the characteristics of
the transmission medium, the nature of the signals, the data
rate, and related matters.
For example:
Guided media- Twisted pair cable, coaxial cable, Fiber
optics
Unguided Media- Wireless
Network Layer
OSI model provides a clear distinction between TCP/IP doesn't have any clear distinguishing points
interfaces, services, and protocols between services, interfaces, and protocols
OSI refers to Open Systems Interconnection. TCP refers to Transmission Control Protocol.
OSI is a generic, protocol independent standard, TCP/IP model is based on standard protocols
acting as a communication gateway between the around which the Internet has developed. It is a
network and end user communication protocol, which allows connection
of hosts over a network
OSI uses the network layer to define routing TCP/IP uses only the Internet layer.
standards and protocols.
the transport layer is only connection-oriented. A layer of the TCP/IP model is both connection-
oriented and connectionless.
OSI model has a separate Presentation layer and TCP/IP does not have a separate presentation layer
Session layer. or Session layer.