3-5 OSI Model and TCPIP Model
3-5 OSI Model and TCPIP Model
Protocol
• Set of rules or standards
• Enables computers to connect with one
another
• Enables exchange of information without
error.
• Example : protocol can define the way in
which two programs transfer a file across the
internet.
• Protocol generally accepted for standardizing
communication is seven layer OSI model
History : OSI Model
HOST A HOST B
7 Application Application
6 Presentation Presentation
5 Session Session
TCP/IP OSI
Implementation of OSI model Reference model
Model around which Internet is
This is a theoretical model
developed
Has only 4 layers Has 7 layers
Considered more reliable Considered a reference tool
Protocols are not strictly defined Stricter boundaries for the protocols
Combines the session and
Has separate session and
presentation layer in the
presentation layer
application layer
Protocols were developed first and Model was developed before the
then the model was developed development of protocols
Framing
Dividing the stream of bits received from the
network layer into manageable data units called
frames
Physical addressing
Adds headers to the frame to define the sender &
receiver address in terms of physical address ie MAC
address.
Data Link Layer
Flow Control
Imposes flow control mechanism to avoid
overwhelming the receiver.
Error Control
Adds mechanisms to recognize duplicate frames , to
detect & retransmit damaged or lost frames
Access Control
Adds protocols to determine which device has control
over the link at any given time
Transport Layer
Presentation Layer
Encryption
Compression
Application Layer
Mail services
File transfer and access
Remote log in
Access the world wide web
Addresses in the TCP/IP Protocol Suite
Logical addresses
• Logical addresses are necessary for universal
communications that are independent of underlying
physical networks.
• Physical addresses are not adequate in an
internetwork environment where different networks
can have different address formats.
• A universal addressing system is needed in which
each host can be identified uniquely, regardless of
the underlying physical network.
• The logical addresses are designed for this
purpose.
• A logical address in the Internet is currently a 32-bit
address that can uniquely define a host connected
to the Internet.
PORT ADDRESSES