Osimodel 170406162300 PDF
Osimodel 170406162300 PDF
Osimodel 170406162300 PDF
Udaipur
Mrs. Arpita
Jain Mam
Avish Bikaneria
CONTENT:
OSI
LAYERS OF OSI
TCP/IP
LAYERS OF TCP/IP
NETWORK
PROTOCOL
CONNECTION ORIENTED & CONNECTION LESS SERIVES
WHAT ARE PACKETS , FRAMES , AND DATAGRAM
DIFFERENCE BETWEEN OSI AND TCP\IP
UDP
DIFFERENCE BETWEEN UDP AND TCP\IP
Topic:-
OSI (Open
Systems
Interconnection)
Open Systems Interconnection (OSI) is a set of internationally
recognized, non-proprietary standards for networking and
for operating system involved in networking functions.
• Application Layer (Layer-7): This is where the user application sits that
needs to transfer data between or among hosts. For example: HTTP, file
transfer application (FTP) and electronic mail etc.
• Transport Layer (Layer-4): This layer provides end to end data delivery
among hosts. This layer takes data from the above layer and breaks it
smaller units called Segments and then gives it to the Network layer for
transmission.
Layers of OSI model
Network Layer (Layer-3): This layer helps to uniquely identify host and defines
the path which the packets will follow or be routed to reach the destination.
• Data Link Layer (Layer-2): This layer takes the raw transmission data (signal,
pulses etc.) from the Physical Layer and makes Data Frames, and sends that to
the upper layer and vice versa. This layer also checks any transmission errors
and sorts it out accordingly.
Layers of OSI model
Each layer of the TCP/IP has a particular function to perform and each layer is completely
separate from the layer(s) next to it. The communication process that takes place, at its simplest
between two computers, is that the data moves from layer 4 to 3 to 2 then to 1 and the
information sent arrives at the second system and moves from 1 to 2 to 3 and then finally to
layer 4.
Application Layer
The application layer is concerned with providing network services to applications. There are
many application network processes and protocols that work at this layer, including HyperText
Transfer Protocol (HTTP), Simple Mail Transport Protocol (SMTP) and File Transfer Protocol
(FTP).
At this layer sockets and port numbers are used to differentiate the path and sessions which
applications operate. Most application layer protocols, especially on the server side, have
specially allocated port numbers, e.g. HTTP = 80 and SMTP = 25, and FTP = 20 (Control), 21
(Data).
Transport Layer
This layer is concerned with the transmission of the data. The two main protocols that operate
at this layer are Transmission Control Protocol (TCP) and User Datagram Protocol (UDP). TCP
is regarded as being the reliable transmission protocol and it guarantees that the proper data
transfer will take place. UDP is not as complex as TCP and as such is not designed to be
reliable or guarantee data delivery. UDP is generally thought of as being a best effort data
delivery, i.e. once the data is sent, UDP will not carry out any checks to see that it has safely
arrived.
The Internet Layer
This is the layer that contains the packet construct that will be transmitted. This takes the form
of the Internet Protocol (IP) which describes a packet that contains a source IP Address,
destination IP Address and the actual data to be delivered.
Network Access Layer
This is the lowest level of the TCP/IP protocol stack and functions carried out here include
encapsulation of IP packets into frames for transmission, mapping IP addresses to physical
hardware addresses (MAC Addresses) and the use of protocols for the physical transmission of
data.
Topic:-
Network
NETWORK
PROTOCOL
A uniform set of rules that enable two devices
to connect and transmit data to one another
protocols determine how data are transmitted
between computing devices and over networks
. They defines issues such as error control and
data compression methods.
Topic:-
CONNECTION ORIENTED & CONNECTIONLESS
SERVICES
CONNECTION –ORIENTED
Connection-oriented communication includes the steps of
setting up a call from one computer to another,
transmitting/receiving data, and then releasing the call,
like a voice phone call. However, the network connecting
the computers is a packet switched network, unlike the
phone system's circuit switched network. Connection-
oriented communication is done in one of two ways over
packet switched network: with and without virtual circuits
Connectionless:
Connectionless communication is just packet switching
where no call establishment and release occur. A
is broken into packets, and each packet is transferred
separately. Moreover, the packets can travel different
route to the destination since there is no connection.
Connectionless service is typically provided by the UDP
(User Datagram Protocol), which we will examine
later. The packets transferred using UDP are also
called datagrams.
OSI TCP\IP
1. The OSI model is a reference model 1. The TCP|IP model is an
2. In OSI model , the protocols came implementation of the OSI model.
after the model was described . 2. In TCP|IP model , the protocols came
3. The OSI model has 7 layers. first , and the model was really just a
description of the existing protocols.
4. The OSI model support both
connection and connection – 3. The TCP\IP model has only 4 layer .
oriented communication in the 4. The TCP\IP model supports both
network layer , but only connection connectionless and connection-
– oriented communication in oriented communication in the
transport . transport layer , giving user the
choice.
5. Follows horizontal approach . 5. Follows vertical approach.
6. OSI model has a separate 6. TCP|IP does not have a
presentation layer. separate presentation layer.
7. OSI is a general model. 7. TCP\IP model cannot be used
8. Protocols are hidden in OSI in any other application.
model and are easily replaced as 8. In TCP\IP replacing protocol is
the technology changes. not easy.
9. OSI model defines services , 9. In TCP\IP is not clearly
interface and protocols very separate its services , interface
clearly and make clear and protocols.
distinction between them.
Topic:-
Header
(8 bytes)
Data
TCP\IP UDP
TCP us a connection-oriented protocol UDP is connectionless protocol.
As a message makes its way across the INTERNET from UDP is also a protocol used in message transport
one computer to another. This is connection based. or transfer . This is not connection based which
means that one program can send a load of
TCP rearranges DATA packets in the order specified
packets to another and that would be the end of
TCP is suited for applications that require high reliability, the relationship
and transmission time is relatively less critical
UDP is suitable for application that need fast ,
The speed for TCP is slower than UDP efficient transmission , such as games . UDP’s
There is absolute guarantee that the data transferred stateless nature is also useful for servers that
remains intact and arrives in the same order in which it answer small quires from huge numbers of clients
was sent. UDP has no inherent order as all packets are
TCP header size is 20 bytes independent of each other . If ordering is required ,
it has to be managed by the application layer.