OSI Layers 1
OSI Layers 1
103, Krishna Smruti,Parleshwar Raod,Opp. Tosa Restaurant, Vile Parle (E), Mumbai www.horizoncomputer.org
Tel. : 022-67912954 / 26128274
OSI Layers
To address the problem of
networks increasing in
size and in number, the
International Organization
for Standardization (ISO)
researched many network
schemes and recognized
that there was a need to
create a network model
that would help network
builders implement
networks that could
communicate and work
together and therefore,
released the OSI reference
model in 1984.
Application Layer
Application layer
o Layer seven, Top layer
o Interface between the applications
we use to communicate and the
underlying network.
Application layer protocols
o Exchange data between programs
running on the source and
destination hosts.
o (e.g. HTTP, SMTP, POP3, DNS, FTP,
TFTP, TELNET, SSH etc.)
Presentation Layer
Presentation Layer Present the data for receiving computer
The Presentation Layer has three primary functions :
o Coding and conversion
o Compression
o Encryption
• Segmenting data
• Managing each segment
TCP Segment
• Reassembling the
TCP Segment
segments
Primary responsibilities:
Tracking the individual communication between
applications
Who is the client? Which application? Which process?
Identifying the different applications (HTTP, FTP, etc.)
Transport Layer TCP v/s UDP
Why would any application use UDP? What is the
“cost” of all this reliability and flow control of TCP?
TCP provides: UDP provides:
Reliable delivery Unreliable delivery
Error checking No error checking
Flow control No flow control
Congestion control No congestion control
Ordered delivery No ordered delivery
Connection establishment No connection establishment
Applications: Applications:
Streaming media, real-time
HTTP DNS (usually) multiplayer games and voice
FTP DHCP over IP (VoIP) applications that
SMTP RTP (Real-Time Protocol) do not require reliability
mechanisms
Telnet VoIP
Transport Layer TCP and UDP Port Numbers
• Port numbers are used by the sender to tell the
receiver which network application it should use for
the “Data”.
TCP : HTTP 80, HTTPS 443, SSH 22, POP3 110 • Private ports 49152 65535
TCP and UDP common ports : DNS 53, SNMP 161
Transport Layer TCP and UDP Port Numbers
Notice the difference in how source and destination port numbers are used
with clients and servers:
Client (initiating Telnet service):
Destination Port = 23 (telnet)
Source Port = 1028 (dynamically assigned)
• Flow Control
Flow control makes sure these buffers do not receive more data than the connection can
handle.
• Windowing
Network Layer
• The Network layer (Layer 3) provides best path to the destination network
• Routing Protocol
RIP
EIGRP
OSPF
IS-IS
BGP
Responsibility of the Data Link layer to take an IP packet and prepare it for transmission over the
communications medium.
The Data Link layer provides a means for exchanging data over a common local media.
The Data Link layer performs two basic services:
1. Allows the upper layers to access the media using techniques such as framing
2. Controls how data is placed onto the media and is received from the media.
Data Link Layer