1 OSI MODEL - Pps
1 OSI MODEL - Pps
OSI: Open System Interconnection . Developed by the International Organization for Standardization in 1974. There are seven layers in OSI reference Model .
process or role
Layer - 4
Layer - 3 Layer - 2
Transport
Network Data Link
Layer - 1
Physical
Application Layer
Application Layer is responsible for providing Networking Services to the user. It is also known as Desktop Layer. Identification of Services is done using Port Numbers. Ports are Entry and Exit Points to the Layer Total No. Ports 0 65535 Reserved Ports 0 1023 Open Client Ports 1024 65535
80 21 25 23 69
Application
80 21 25 53 67 69
Data
Network
Data Link Physical
7
Presentation Layer
Presentation Layer is responsible for converting data into standard format. Examples : ASCII, EBCDIC, JPEG, MPEG, BMP, MIDI, WAV, MP3 Following tasks are perform at Presentation layer : Encoding Decoding Encryption Decryption Compression Decompression
Data Data
Network
Data Link Physical
9
Session Layer
Application Presentation Session Transport Network Data Link Physical Examples : RPC Remote Procedure Call SQL Structured Query Language NFS Network File System Session Layer is responsible for establishing, maintaining and terminating session. Session ID works at Session Layer.
10
Network
Data Link Physical
11
Transport Layer
Transport Layer is responsible for end-to-end connectivity. It is also known as the heart of OSI Layers. Following tasks are performed at the Transport Layer : -
Identifying Service
Multiplexing & De-multiplexing Segmentation
Identifying Service TCP Transmission Control Protocol UDP User Datagram Protocol
Connection Oriented
Acknowledgement Reliable
Connection Less
No Acknowledgement Unreliable
Slower
Port No. 6 e.g. HTTP, FTP, SMTP
Faster
Port No. 17 e.g. DNS, DHCP, TFTP
13
Transport
TCP - 6 UDP - 17
Network
Data Link Physical
15
Network Layer
Network Layer is responsible for providing best path for data to reach the destination. Logical Addressing works on this layer. Router is a Network Layer device.
16
Network
Data Link Physical
17
Datalink Layer
Datalink Layer is divided into two Sub Layers : LLC Logical Link Control It talks about Wan protocols e.g. PPP, HDLC, Frame-relay MAC Media Access Control It talks about Physical Address. It is a 48 bit address i.e. 12 digit Hexadecimal Number. It is also responsible for Error Detection Devices working on Data Link Layer are Switch, Bridge, NIC.
18
Network
Data Link Physical
19
Physical Layer
Physical Layer is responsible for electrical, mechanical and procedural checks. Data will be converted into Binary (i.e.) 0s & 1s. Data will be in the form of electrical pulses if it is Coaxial or Twisted Pair cable and in the form of Light if it is Fiber Optic Cable. Devices working at Physical Layer are Hubs, Repeaters, Cables, Modems etc.
20
Network
e.g. Hub Data Link Physical
A
Application
Data Data
B
Application
Presentation
Session Transport Network Data Link Physical
Data
Data
Presentation
Session TH Transport Network NH
Data
TH Data Segment
Packet NH Segment Packet DHFrameDT Bits
DH DT Data Link
Physical
22
TCP/IP Layers
Application
Session
Transport Network Transport Internet Network Access
23
Data Link
Physical
24