Professional Documents
Culture Documents
Problem: In the past, networks were built with different hardware and
software; as a result, they were incompatible and difficult to communicate with
each other.
7. Application Layer
6. Presentation Layer
5. Session Layer
4. Transport Layer
3. Network Layer
2. Data link Layer
1. Physical Layer
7) Application Layer
Deals with the communication of software on different machines. Such as HTTP,
FTP, TFTP, SMTP, Telnet, SHH, DHCP, POP and DNS servers, all operating
systems, web browsers, Firewalls, communication software (messengers, Skype
etc.)
6) Presentation Layer
Three activities are taking place at this layer:
1) Encryption: The process of converting the plain text in to cipher text for data
confidentiality is called encryption.
2) Translation: Coverts protocol from one form to other. Like IPX to IP.
3) Compression: It simply works with the compression of data like win zip.
Encoding, Decoding, Encryption, Decryption, Compression and Decompression
5) Session Layer
A time period in which two machines communicate is called a session.
This layer deals with:
Session establishment: To establish a session before data communication.
Session management: To manage the session throughout the communication.
Session termination: To manually terminate the session or network down.
4) Transport Layer
It uses protocols to transfer data from one machine to another machine.
Two protocols work on this layer, TCP and UDP and port Numbers.
Sequencing and Reassembling Error Correction Flow Control
Total Ports: 0 – 65535
Server Ports: 1 – 1023
Client Ports: 1024 - 65535
1.TCP is connection-oriented.
2.Reliable communication with Acknowledgment.
3.Slower data transportation.
4.TCP allows for error detection.
5.TCP allows "windowing".
SMTP, FTP, and HTTP use TCP.
1.UDP is connection-less.
2.Unreliable communication without Acknowledgment.
3.Faster data transportation.
4.UDP allows best-effort delivery.
5.UDP delivers segments.
6.UDP allows no error detection.
7.UDP offers neither error detection nor error recovery.
DHCP, SNMP, and TFTP use UDP.
DNS uses both TCP and UDP ports. DNS uses TCP for zone exchanges between
servers and UDP when a client is trying to resolve a hostname to an IP address.
3) Network Layer
It deals with the function of path selection and logical addressing.
Routed protocols and Routing protocols all works on this layer
Routers, multilayer switches (L3) run at Network layer.
1) Physical Layer
It is pure hardware layer of OSI model.
On this layer frame is converted into bits.
Physical layer specifies cables, pins, connectors, voltage, wire-speed and moves
bits between devices. Hubs, modems, repeaters and all cables operate at Physical
layer.