
Application Layer: Developer creates application that can plug into network socket – means they can use the services of networking components defined by the Application layer. Main job defined in Application layer is identifying partners, look for resources & synchronization. For eg. Email client. There are various type of Applications that may require different kind of networking services. For. eg. File & Print, Database, Email, Name resolution, Internet access, Terminal emulation, and Management services (like SNMP)
Presentation Layer: Data Encoding/Decoding & Conversion is it’s primary job. For e.g ASCII to EBCDIC, IBM world to LAN PC vise versa. It’s also responsible for Encryption / Decryption for eg. SSL/TLS (Secure Socket Layer/Transport Layer Services used by web based application for security), Certificates, Compression & Decompression.
Session Layer: It establishes a session between client and server or two hosts, so that they can communicate over the protocol stack. It’s primary job is to Setup Dialog (establish connection), Dialog control (manages connection), Termination of connection.
Note:- Setting up Dialog means identifying a type of connection, like – Full Duplex, Half Duplex, Simplex. A Dialog is written within the application itself.
Transport Layer: It’s primary job is Data transport Reliability; Establishing, Managing & Terminating Virtual Circuit; Fault Detection & Recovery; Flow Control
Now it’s the time to talk about the protocol TCP (Transmission Control Protocol), which has its major impact in the world of networking.
There are two reliable protocols that comes under Transport Layer, they are:-
TCP (Transmission Control Protocol) – It’s a connection oriented protocol, that means it establishes virtual circuit to make sure data is verified and acknowledged, so that data is guaranteed reliable. As every segment is acknowledged, Overhead is more in TCP. Therefore, to minimize this overhead, TCP has come out with couple Flow Control mechanism. One is Buffering (with Source Quench message) and other is Sliding Window. FTP, HTTP, SMTP, DNS uses the services of TCP.
Buffering: A buffer is predefined in both source and destination host. Once the buffer is full, it starts discarding packets and send source quench message to source host to slow down. Transmission is stopped until the discarded packets are transmitted again and receiving host is unable to process even the available packets. Therefore, this mechanism doesn’t seems to be efficient and thus we basically use Sliding Window concept.
Sliding Window: In this type of mechanism, every host has a predefined send & receive Window. It’s usually 8 segments of size but may vary from hosts to hosts, and that’s why 3-Way Handshake is necessary.
Sliding Window idea is to keep data streaming with less overhead
UDP (User Datagram Protocol): It is a connection less protocol, that means it doesn’t look out for acknowledgement after sending the segments, thus no Overhead. It follows a best effort delivery for reliable data transfer. DNS and TFTP uses the services of UDP.
Ports are also implemented at Transport Layer to identify application. Every application has a port defined. IANA (Internet Assigned Numbers Authority) has assigned port numbers in three categories.
Public Application (Well Known) – 1 -255
HTTP : 80
FTP : 21
FTP DATA : 20
TELNET : 23
SMTP : 25
DNS (Zone
Transfer/TCP) : 53
DNS (Name
Lookup/UDP) : 53
TFTP : 69
SNMP : 161
SNMP Trap : 162
Private Application - 256-1023
Eg. Microsoft Applications
Dynamic Client (Higher Order) – 1024-65535
For e.g Target port of FTP client back from server
Routed protocols: (IP, IPX, AppleTalk) – Determines the best path based on routing table. It performs routing function and carries data through network.
Routing protocols: (RIP, IGRP, EIGRP, OSPF, IS-IS, BGP4) – Determines distance, cost and populates routing table. It does the route selection. These protocols run exclusively on routers.
ICMP: The Internet Control Message Protocol is one of the core protocols of the Internet Protocol Suite. It is chiefly used by networked computers' operating systems to send error messages—indicating, for instance, that a requested service is not available or that a host or router could not be reached. For e.g. Ping. It send source quench message for buffering, thus do the flow control.
ARP: Address Resolution Protocol is the method for finding a host's link layer (hardware) address when only its Internet Layer (IP) or some other Network Layer address is known.
Other standards and protocols of Data-link Layer are as below:
HDLC: High-Level Data Link Control is a bit oriented synchronous protocol developed by ISO. It provided both connection-less and connection-oriented services. It is used for point to multipoint connection. A WAN technology. A serial interface on every CISCO router.
SDLC: Synchronous Data Link Control is created by IBM to facilitate interconnectivity between IBM mainframes hosts. It’s exclusively used in SNA networks.
X.25 / LAPB: It’s a standard for packet switched networks. Good in encapsulation. Provides built-in error correction. Understand circuit and packet switching technology as it is developed by telephone company. It’s a WAN technology and is predecessor to Frame Relay. It defines the DTE (Data Terminal Equipment) /DCE device (Data Communication Equipment). X.25 uses LAPB (Link Access Procedure Balanced) protocol, which provides maintenance component for X.25 like sequencing and retransmit.
Frame Relay: It’s successor of X.25 and is much faster (upto 45 Mbps). It’s used for high quality digital technology and has acknowledgment function, hence guaranteed reliable.
SLIP: Serial Line Internet Protocol is an original standard for TCP/IP transmission over low speed serial links upto 64 Kbps. It was used by Unix systems for Shell connectivity over dial-up.
PPP: Point to Point Protocol is a new standard and is a successor of SLIP. It is used by Dialup as well as T1 connections. It supports both synchronous and asynchronous transmission. It adds multiple protocol support, encryption & error correction.
ISDN: Integrated Services Digital Network connected telephone systems to transfer digital voice & data over these modified analog lines. It’s defined by 802.9
Bus: It’s a LAN topology, also called Ethernet with CSMA/CD. It’s both half and full duplex capable. The popular standards for Ethernet are:-
Ring: One directional data transmission, hence no collision. It’s once again a LAN topology. It uses UTP, STP or Fiber cables. Examples are:- IBM Token Ring and FDDI.
IBM Token ring: Available in two speeds, 4Mbps & 16Mbps. Token is passed around a logical ring of network devices. System must acquire token to transmit data. Data travel in single direction, hence no collision takes place. Each host is connected with a relay connector called MAU (Multistation Access Unit), which then knows both it’s upstream and downstream. If a problem appears, the upstream sends a beacon towards opposite direction that determines the failure and that failed host is eliminated from the ring. MAU then updates itself with new upstream and downstream again.
Source Wikipedia under creative commons license
FDDI: Fiber Distributed Data Interface uses optical fiber as primary transmission medium. The FDDI LAN can range upto 200Km and offers 100Mbps speed. It contains two token rings, one for possible backup in case the primary ring fails. It also falls under Fast Ethernet category.

Star: It’s primarily a LAN topology but is also a WAN topology.
E.g. ARCnet –LAN
Frame Relay – Logical WAN (Main office & Branch Office)
Point-to-Point: It’s a WAN topology, used by switched network such as X.25 & Frame Relay or Leases line connection such as T1
Full mesh / Partial Mesh: It’s a WAN topology used by Packet Switched networks.
Standards of Physical Layer:
EIA/TIA-232 (= RS-232) – Supports connection speed upto 64 Kbps.
EIA/TIA-449 (= RS-449) – Supports connection speed upto 2Mbps
V.24/V.35 – ITU-T (International Telecommunication Unit) standard, very similar to RS-232





