100% found this document useful (3 votes)
1K views34 pages

OSI Model: 7-Layer Network Guide

The document discusses the OSI 7-layer network reference model developed by ISO to standardize network communication. It describes each layer's functions including physical, data link, network, transport, session, presentation and application layers. Each layer uses the services of the layer below and provides services to the layer above. This model divides networking into smaller, standardized pieces to promote interoperability between heterogeneous systems.

Uploaded by

suresh1776job
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Topics covered

  • Packet Switching,
  • Data Representation,
  • Network Integration,
  • Networking Standards,
  • Data Encryption,
  • Network Design,
  • Network Services,
  • Network Security,
  • Network Devices,
  • Network Congestion
100% found this document useful (3 votes)
1K views34 pages

OSI Model: 7-Layer Network Guide

The document discusses the OSI 7-layer network reference model developed by ISO to standardize network communication. It describes each layer's functions including physical, data link, network, transport, session, presentation and application layers. Each layer uses the services of the layer below and provides services to the layer above. This model divides networking into smaller, standardized pieces to promote interoperability between heterogeneous systems.

Uploaded by

suresh1776job
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Topics covered

  • Packet Switching,
  • Data Representation,
  • Network Integration,
  • Networking Standards,
  • Data Encryption,
  • Network Design,
  • Network Services,
  • Network Security,
  • Network Devices,
  • Network Congestion

ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT.

THE OSI REFERENCE MODEL The International Organization for Standardization (ISO) developed the Open System Interconnection (OSI) Reference Model to promote communication between dissimilar computers as a guide for defining a set of open protocols. This model has served as one of the most basic and essential, elements of computer networking since 1984.
ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT. 2

The OSI model provides a framework (functional guideline) for defining standards to connect heterogeneous computers. The OSI model solves the complicated problem of communication between computer systems by dividing the communication into sub-tasks (layers). Each task executes a specific function by using the services of the task below it and providing services to above task.
ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT. 3

OSI LAYER MODEL

ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT.

Most communication environments separate the communication functions and application processing. This separation of networking functions is called LAYERING. OSI divides the big task of host-to-host networking called INTERNETWORKING into a vertical stack. This OSI stack contains these seven numbered layers, these indicate distinct functions.
ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT. 5

The layered approach to OSI offers several advantages to system implementers. By separating the job of networking into logical smaller pieces, vendors can more easily solve network "problems" through divide-and-conquer. The OSI layers afford extensibility. New protocols and other network services will generally be easier to add to a layered architecture.
ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT. 6

ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT.

Upper layers 7. application 6. presentation 5. session Lower layers 4. transport 3. network 2. data link 1. physical

Higher-level facilities Application Presentation Session Network communication Transport Network Physical medium Data Link Physical
8

ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT.

ADVANTAGES Divide the interrelated aspects of network operation into less complex elements. Define standard interfaces for "Plug and Plug" Compatibility and multi-vendor integration. Divide the complexity of internetworking into Discrete, more easily learned operations.
ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT. 9

ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT.

10

APPLICATION LAYER The application layer provides different services to user applications. It interfaces directly to these services and provide conversion between associated application processes, after that it issues requests to the presentation layer. It contains a variety of protocols that are commonly needed. Another application layer function is file transfer. Different file systems have different file naming conventions. Transferring a file between two different systems requires handling all incompatibilities.
ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT. 11

Application Layer 7 protocols FTP TFTP HTTP POP3 SNMP SMTP Telnet Gnutella DNS BOOTP Rlogin MIME AFP SSH IMAP NTP Gopher NCP Finger NNTP LDAP DHCP IRC Jabber WebDAV DICT BACnet RADIUS DIAMETER SIP File Transfer Protocol Trivial File Transfer Protocol, a simple file transfer protocol HyperText Transport Protocol, used in the World Wide Web Post Office Protocol Version 3 Simple Network Management Protocol Simple Mail Transfer Protocol A remote terminal access protocol A peer-to-peer file-swapping protocol Domain Name Service Bootstrap Protocol A UNIX remote login protocol Multipurpose Internet Mail Extensions Apple Filing Protocol Secure SHell Internet Message Access Protocol Network Time Protocol A precursor of web search engines Netware Core Protocol Gives user profile information News Network Transfer Protocol Lightweight Directory Access Protocol Dynamic Host Configuration Protocol Internet Relay Chat An instant-messaging protocol Web Distributed Authoring and Versioning Dictionary protocol Building Automation and Control Network protocol An authentication, authorization and accounting protocol An authentication, authorization and accounting protocol A signaling protocol

ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT.

12

PRESENTATION LAYER This layer provides data representation and code formatting. It provides a uniform means for a remote host to inform the local client how to present the data to the application or client. It ensures that the data that arrives from the network can be used by the application, and it ensures that information send by the application can be transmitted on the network. In some cases, the presentation layer directly translates data from one format to another. Other functions that may correspond to the presentation layer are data encryption/decryption and compression/decompression.
ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT. 13

The presentation layer is responsible for the delivery and formatting of information to the application layer for further processing or display. It relieves the syntactical differences in data representation within the end-user systems. Note: An example of a presentation service would be the conversion of an EBCDIC-coded text file to an ASCII-coded file. In many widely used applications and protocols, no distinction is made between the presentation and application layers. For example, HTTP is an application layer protocol, also identify character encoding for proper conversion in the presentation layer.
ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT. 14

SESSION LAYER The session layer establishes, manages and terminates session between application. It responds to service requests from the presentation layer and issues service requests to the transport layer. It provides the mechanism for managing enduser, host, application process operations and establishes check pointing, termination, and restart procedures. This layer is responsible for dialog control between nodes. Dialog is a formal conversation in which two nodes agree to exchange data.
ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT. 15

The communications between applications across a network can take place and controlled in one of three dialog modes, are Simplex, Half-duplex, and Full-duplex.Sessions can allow traffic to go in both directions at the same time, or in only one direction at a time. Testing for out-of-sequence packets is handled also. Sessions, enable nodes to communicate in an organized manner. Each session has three phases as Connection establishment, Data transfer, Connection release.
ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT. 16

Session Layer 5 protocols NCP SMB NFS ASP ADSP DLC NP NetBIOS NWLink PAP ZIP Printer Access Protocol Zone Information Protocol Network Control Protocol Server Message Block Network File System AppleTalk Session Protocol AppleTalk Data Stream Protocol Data Link Control Named Pipes

ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT.

17

ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT.

18

TRANSPORT LAYER It translates system names into addresses and divides messages into fragments that fit within the size limitations established by the network. This layer is responsible for addressing, determining routes for sending, managing network traffic problems, packet switching, routing, data congestion, and reassembling data at the receiving end to recover the original message. Ensure that segments delivered will be acknowledge back to sender.
ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT. 19

It provides retransmission of segments those are not acknowledged. Put segments back into their correct sequence at the destination. To enable packets reassembly in their original order, this layer includes a messages sequence number in its header. It allows users to segment/reassemble several upper layer application on to the same transport data stream. It insures host-to-host session connection.
ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT. 20

In some protocol suites this layer also provides multiple conversations (multiplex) between the same two end-points. Delivery may be 'guaranteed' (streams, like TCP) or 'best effort' (datagram, like UDP). The transport layer also is responsible for delivering messages from a specific process on one computer to the corresponding process on the destination computer. In OSI terms the transport layer assigns a service access point (SAP ID) to each packet. In TCP/IP terms that is called a port.
ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT. 21

One more responsibility of the transport layer is detecting errors in transmitting data. Two general categories of error detection can be performed by the transport layer: Reliable delivery: Reliable delivery does not mean that errors cannot occur, only that errors are detected if they do occur. Unreliable delivery: Unreliable delivery does not mean that errors are likely to occur, but rather indicates that the transport layer does not check for errors.
ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT. 22

Transport Layer 4 protocols SPX TCP UDP SCTP RTP Sequenced Packet Exchange Transmission Control Protocol User Datagram Protocol Stream Control Transmission Protocol Real-time Transport Protocol

ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT.

23

NETWORK LAYER The network layer operates independently of the physical medium, which is a concern of the physical layer.Since routers are network layer devices, they can be used to forward packets between physically different networks. When the network layer receives a message from upper layers, the network layer adds a header to the messages that includes the source and destination network address. This combination of data plus the network layer is called a packet.
ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT. 24

It translates logical addresses and names into physical addresses for Packets delivery. The addressing which makes this delivery possible can be thought of as a universal address as compared to the local addressing of the MAC. It determines routes for sending, managing network traffic problems, packet switching, routing, data congestion, and reassembling data.
ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT. 25

This layer may also be concerned with end-toend flow control and the segmentation and reassembly (SAR) functions for the transmission of large packets of data which exceed the maximum transmission unit (MTU) of the data link layer. The Internet Protocol (IP) is the most common example, and Novell's Internetwork Packet eXchange (IPX) is another popular implementation.
ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT. 26

Network Layer 3 protocols IP IPv6 ARP RARP ICMP IGMP MPLS RIP OSPF EGP BGP Internet Protocol version 4 Internet Protocol version 6 Address Resolution Protocol Reverse Address Resolution Protocol Internet Control Message Protocol Internet Group Management Protocol Multi-Protocol Label Switching Routing Information Protocol Open Shortest Path First Exterior Gateway Protocol Border Gateway Protocol

ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT.

27

DATA LINK LAYER The data link layer sends data from network layer to physical layer. Manages physical layer communications between connecting systems. It is responsible for providing node-to-node communication on a single, local network. To provide this service, the data link layer must perform two functions. 1.It must provide an address mechanism that enables messages to be delivered to the correct nodes, Also, it must translate messages from upper layer into bits that the physical layer can transmit. 2.Data units at the Data Link layer are most commonly called frames, although the term packet is used with some protocols.
ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT. 28

The Data Link layer is comprised of a single layer in the OSI model but actually incorporates two sub-layers when viewed from the perspective of the IEEE Logical Link Control (LLC) model. The lower of the two sublayers is called the media access control (MAC) and the upper sub-layer is the LLC layer. The MAC layer provides local addressing, error correction, and in some cases includes a field to distinguish the frame type from other frame types. This component determines who is allowed to access the media at any one time. The LLC provides Service Access points (SAP) for passing off the frame to higher level. This component determines where one frame of data ends and the next one starts. Examples of data link standards include frame relay, ETHERNET, token ring, and FDDI.
ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT. 29

Data link Layer 2 protocols ARP CDP DCAP Ethernet FDDI HDLC L2F L2TP PPP PPTP SLIP Token ring X.25 Frame relay ATM MPLS A simplified version of X.25 Asynchronous Transfer Mode Multi-Protocol label switching Fiber Distributed Data Interface High Level Data Link Control Layer 2 Forwarding Protocol Layer 2 Tunneling Protocol Point-to-Point Protocol Point-to-Point Tunneling Protocol Serial Line Internet Protocol Address Resolution Protocol Cisco Discovery Protocol Data Link Switching Client Access Protocol

ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT.

30

PHYSICAL LAYER This transmits data over a physical medium or on network hardware, like cables, cards, etc. This layer relates the electrical, optical, mechanical and functional interface to the cable. It is responsible for transmitting bits (zero & ones) from one computer to another. This layer is concerned with the signaling of the message and the interface between the sender or receiver and the medium. It is defined by one of the standards bodies and carries a designation that indicates the characteristics of the connection. Among frequently used physical layers standards are EIA-232D, ITU V.35, and some of the X series (X.21/X.21bis).
ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT. 31

Physical Layer 1 protocols ISDN PDH RS-232 Integrated Services Digital Network Plesiochronous Digital Hierarchy, T-carrier (T1, T3 etc) A serial line interface originally developed to connect modems and computer terminals Synchronous Digital Hierarchy Synchronous Optical NETworking

SDH SONET

ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT.

32

ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT.

33

MNEMONICS The following mnemonics may help you remember the layers sequence and names: 1. "People Design Networks To Send Packets Accurately" 2. "Please Do Not Take Sales People's Advice" 3. "Always Put Some Thought Into Designing Programs"
ISO-OSI 7-Layers Network Reference Model by MAZHAR IQBAL BUTT. 34

Common questions

Powered by AI

In the OSI model, each layer serves specific functions and relies on adjacent layers to provide a complete communication service. The Physical layer transmits raw bits over a medium, which the Data Link layer organizes into frames for node-to-node delivery on a local network . The Network layer then routes these frames between networks using logical addressing and translates them into packets . The Transport layer manages end-to-end connections and ensures data integrity through segmentation and reassembly . The Session layer establishes and maintains dialogs for session communication, while the Presentation layer formats data for the Application layer, which provides end-user services . Each layer uses the services provided by the layer below and offers services to the layer above, creating a seamless flow from source to destination .

The Transport layer in the OSI model is responsible for establishing host-to-host connectivity and ensuring the reliable transmission of data segments between computers . Its primary functions include segmenting data, managing error recovery through retransmissions, sequence numbering, and providing flow control to prevent congestion . It ensures that data packets are delivered in sequence and without errors by utilizing mechanisms such as error detection and acknowledgement . Additionally, the layer manages multiple communications across applications through multiplexing and port assignment, creating a robust framework for reliable data exchanges .

The Transport and Network layers collaborate to ensure efficient data delivery by complementing each other's functions. The Transport layer is responsible for maintaining reliable data delivery, handling error correction, segmentation, and flow control . It ensures that data is sent and received in the correct order and is error-free through mechanisms like acknowledgments and retransmissions . Meanwhile, the Network layer is tasked with routing data across diverse networks and choosing the optimal path for packet delivery using logical addressing and routing protocols . Together, they ensure that data travels efficiently across various network segments, maintains integrity, and reaches its destination in a timely manner .

The separation between the Presentation and Application layers in the OSI model is significant because it allows for specialized processing at each layer to ensure effective data exchange. The Presentation layer focuses on data formatting, encryption/decryption, and compression, serving as a translator to present data in an understandable manner for the receiving application . It aids in resolving syntactical differences in data representation across heterogeneous systems . By separating these functions, the model allows the Application layer to focus on providing network services to user applications without dealing with data representation issues, which improves modularity and the ability to update or replace functions independently .

The OSI model facilitates communication between diverse computer systems by dividing the communication process into seven layers, each with specific roles and protocols . This layered approach allows interoperability among different systems as vendors can solve interoperability problems through a standardized framework, making it easier to incorporate new protocols and services . It provides a hierarchical structure that ensures compatibility and integration across different platforms and technologies by defining standard interfaces for multi-vendor system compatibility .

The OSI model's Application layer manages multiple protocols to provide various services directly to the user, including management of file transfers, email, network management, and user authentication . It hosts protocols such as HTTP for web services, FTP for file transfers, SMTP for sending emails, and DNS for domain resolution . By supporting a wide range of application-specific protocols, this layer can offer diverse functionalities customized to the needs of different user applications, ensuring seamless interaction with network resources and services . This versatility allows the layer to cater to varied requirements and supports interoperability among different applications and platforms .

A layered network architecture like the OSI model offers various advantages, including modularity, interoperability, and ease of troubleshooting. Its modular design allows individual layers to be developed and updated independently, facilitating innovation and adaptation to new technologies and protocols . This structure enhances interoperability among diverse systems by providing standardized interfaces for multi-vendor environments . Troubleshooting is streamlined as issues can be isolated within a specific layer, simplifying the problem-solving process . The model also permits scalability and flexibility, as systems can evolve with minimal disruption to existing layers or functions .

Integrating encryption/decryption functions within the Presentation layer has both advantages and limitations. On the positive side, this approach centralizes the handling of data security by ensuring that data is formatted and encrypted consistently before transmission, which can enhance interoperability and maintain data integrity between disparate systems . It can also simplify application layer functions, as security features are abstracted away from the applications themselves . However, this creates security dependencies on the Presentation layer, potentially complicating upgrades or protocol changes without risking data vulnerabilities. It might limit flexibility for applications that need specific security measures at different interaction points . Balancing security with other presentation layer responsibilities requires careful design and management in the OSI architecture .

The Data Link layer ensures error-free communication and correct data sequencing by using mechanisms within its two sub-layers—Logical Link Control (LLC) and Media Access Control (MAC). The LLC manages frame synchronization, error checking, and flow control, ensuring that data frames are transmitted correctly and acknowledged accurately . The MAC layer controls how devices on the same physical network (collision domain) communicate and ensure that frames are sent without collision. Together, these sub-layers ensure that frames are delivered to the correct device and in the correct order, providing a reliable communication base for upper layers .

Multiplexing at the Transport layer allows multiple communication sessions to occur simultaneously over a single physical connection, enhancing the performance of network applications. It assigns unique identifiers (ports in TCP/IP or SAP IDs in OSI terminology) to each communication stream, allowing data from multiple applications to be interleaved on the same network medium . This enables efficient utilization of the network's bandwidth, as resources can be shared among applications without needing separate connections for each. Consequently, multiplexing improves the network's capacity to handle concurrent processes and reduces overhead, thus positively impacting application performance and response time .

You might also like