0% found this document useful (0 votes)
3 views

OSI_1

The document provides an overview of network models, specifically the OSI and TCP/IP reference models. It details the seven layers of the OSI model, including their functions such as data transmission, addressing, and error control. Additionally, it contrasts the OSI model with the TCP/IP protocol suite, highlighting the differences in their layer structures.

Uploaded by

Mrunal Gaikwad
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

OSI_1

The document provides an overview of network models, specifically the OSI and TCP/IP reference models. It details the seven layers of the OSI model, including their functions such as data transmission, addressing, and error control. Additionally, it contrasts the OSI model with the TCP/IP protocol suite, highlighting the differences in their layer structures.

Uploaded by

Mrunal Gaikwad
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 39

Network Models

Computer Networks Unit I


REFERENCE MODELS

2 Types

1. OSI Reference Model


2. TCP/IP Reference Model

Computer Networks Unit I 2


THE OSI MODEL

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.
ISO is the organization.
OSI is the model

Layered Architecture
Peer-to-Peer Processes
Computer Networks Unit I 3
Why Layering
Large number of functions

Manage Easily

Peer to Peer Process

A layer appears to be communicating directly with the same


layer at the other end of the link (i.e. its peer). What is actually
happening is that the data is being passed down to lower layers
for transmission and is passed up again at the other end.

Computer Networks Unit I 4


Seven layers of the OSI model

Computer Networks Unit I 5


The interaction between layers in the OSI model

Computer Networks Unit I 6


An exchange using the OSI model

Computer Networks Unit I 7


LAYERS IN THE OSI MODEL

In this section we briefly describe the functions of each


layer in the OSI model.

Topics discussed in this section:


Physical Layer
Data Link Layer
Network Layer
Transport Layer
Session Layer
Presentation Layer
Application Layer

Computer Networks Unit I 8


Physical layer
The physical layer is responsible for movements of
individual bits from one hop (node) to the next.

Computer Networks Unit I 9


Physical layer Cont…

•Transmission medium is defined


•Representation of bits
•Type of encoding to convert bits to signals
•Data rate
•Line Configuration
•Point to Point
•Multi point
•Physical Topology
•Mesh, Star, Bus, Ring
•Transmission mode
•Simplex, Half Duplex, Full Duplex

Computer Networks Unit I 10


Data link layer

The data link layer is responsible for moving


frames from one hop (node) to the next.

Computer Networks Unit I 11


Data link layer Cont…

Data framing
The stream of bits from network layer is divided into
manageable data units called frames
Physical addressing
Media Access Control (MAC) addressing is used to uniquely
identify hosts at the Data Link layer.
Flow control
refers to a set of procedures used to restrict the amount of data
that the sender can send before waiting for acknowledgment.
Error control
is based on automatic repeat request, which is the retransmission
of data.
Access Control
Which device has control over the line at any given time
Computer Networks Unit I 12
Data link layer Cont…

Computer Networks Unit I 13


Network layer

The network layer is responsible for the delivery of individual packets


from the source to the destination.

Computer Networks Unit I 14


Network layer Cont…

Logical Addressing
Packet passes the network boundary MAC alone cannot be used
IP address is used to uniquely identify hosts at the Network
Layer
Routing
Routes the packet to the correct destination

Computer Networks Unit I 15


Network layer Cont…

Computer Networks Unit I 16


Transport layer

The transport layer is responsible for the delivery


of a message from one process to another.

Computer Networks Unit I 17


Transport layer Cont…

Service Point Addressing


Port address is necessary for delivering the packet to the correct
destination
Segmentation and Reassembly
A message is divided into transmittable segments
The receiver reassemble the segments in order to get the entire
message
Connection Control
Connection oriented and Connection less service
Flow control and Error Control
Similar to data link layer but at end to end

Computer Networks Unit I 18


Transport layer Cont…

Computer Networks Unit I 19


Session layer

Computer Networks Unit I 20


Session layer Cont…

Dialog control
Simplex, Half Duplex, Full Duplex
Synchronization

Computer Networks Unit I 21


Presentation layer

The presentation layer is responsible for translation,


compression, and encryption

Computer Networks Unit I 22


Presentation layer Cont…

Translation
Encoding Decoding (Bit streams for transmission)
Encryption Decryption
Compression

Computer Networks Unit I 23


Application layer
The application layer is responsible for
providing services to the user

Computer Networks Unit I 24


Application layer Cont…

X.400 – message handling service – e-mail


X.500 – directory services
FTAM –File Transfer, Access and Management

Computer Networks Unit I 25


Summary of layers

Computer Networks Unit I 26


Hop-to-hop delivery

Layer 2 device

Header of data link layer of A


will have source address as A
and destination address as B

Header of B node DLL is


B and E so on

Computer Networks Unit I


Source-to-destination delivery

Layer 3 device

Routing for next hop is done by


checking the routing table of
each node

Computer Networks Unit I


Reliable process-to-process delivery of a message

Computer Networks Unit I


TCP/IP PROTOCOL SUITE

The layers in the TCP/IP protocol suite do not exactly


match those in the OSI model. The original TCP/IP
protocol suite was defined as having four layers: host-
to-network, internet, transport, and application.
However, when TCP/IP is compared to OSI, we can say
that the TCP/IP protocol suite is made of five layers:
physical, data link, network, transport, and application.

Computer Networks Unit I 30


TCP/IP model

Computer Networks Unit I 31


TCP/IP model

Computer Networks Unit I 32


Example

In Figure a node with physical address 10 sends a


frame to a node with physical address 87. The two
nodes are connected by a link (bus topology LAN).
As the figure shows, the computer with physical
address 10 is the sender, and the computer with
physical address 87 is the receiver.

Computer Networks Unit I 33


Physical addresses

Computer Networks Unit I


Example

Most local-area networks use a 48-bit (6-byte)


physical address written as 12 hexadecimal digits;
every byte (2 hexadecimal digits) is separated by a
colon, as shown below:

07:01:02:01:2C:4B

A 6-byte (12 hexadecimal digits) physical address.

Computer Networks Unit I 35


Example
Figure shows a part of an internet with two routers
connecting three LANs. Each device (computer or
router) has a pair of addresses (logical and physical)
for each connection. In this case, each computer is
connected to only one link and therefore has only
one pair of addresses. Each router, however, is
connected to three networks (only two are shown in
the figure). So each router has three pairs of
addresses, one for each connection.

Computer Networks Unit I 36


IP addresses

Computer Networks 2.37 Unit I


Example

Figure shows two computers communicating via the


Internet. The sending computer is running three
processes at this time with port addresses a, b, and
c. The receiving computer is running two processes
at this time with port addresses j and k. Process a in
the sending computer needs to communicate with
process j in the receiving computer. Note that
although physical addresses change from hop to
hop, logical and port addresses remain the same
from the source to destination.

Computer Networks Unit I 38


Port addresses

The physical addresses


will change from hop to
hop,but the logical and
port addresses usually
remain the same.
Computer Networks Unit I

You might also like