{"id":9,"date":"2026-11-09T21:45:55","date_gmt":"2026-11-09T21:45:55","guid":{"rendered":"https:\/\/ec2-184-195-241-184.compute-1.amazonaws.com\/?page_id=9"},"modified":"2026-11-09T21:45:55","modified_gmt":"2026-11-09T21:45:55","slug":"the-osi-layers","status":"publish","type":"page","link":"https:\/\/introtonetworking.ddns.net\/?page_id=9","title":{"rendered":"The OSI Layers"},"content":{"rendered":"\n<!-- OSI 7-LAYER MODEL REFERENCE PAGE FOR WORDPRESS (CREAM & BROWN THEME) -->\n<div class=\"osi-layers-container\" style=\"max-width: 900px; margin: 0 auto; padding: 20px 0; font-family: inherit; line-height: 1.6; color: #292524;\">\n\n  <!-- HERO SECTION WITH INLINE STACKED GRAPHIC -->\n  <div class=\"hero-section\" style=\"display: flex; flex-wrap: wrap; align-items: center; gap: 30px; margin-bottom: 40px;\">\n    \n    <div style=\"flex: 1; min-width: 280px;\">\n      <svg viewBox=\"0 0 400 320\" width=\"100%\" height=\"auto\" style=\"border-radius: 12px; box-shadow: 0 10px 25px -5px rgba(69, 26, 3, 0.08); display: block;\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n        <defs>\n          <linearGradient id=\"stackGrad\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"100%\">\n            <stop offset=\"0%\" style=\"stop-color:#292524;stop-opacity:1\" \/>\n            <stop offset=\"100%\" style=\"stop-color:#451a03;stop-opacity:1\" \/>\n          <\/linearGradient>\n        <\/defs>\n        <rect width=\"400\" height=\"320\" fill=\"url(#stackGrad)\" rx=\"12\"\/>\n        \n        <!-- Stack Blocks (Layer 7 down to Layer 1) -->\n        <rect x=\"40\" y=\"25\" width=\"320\" height=\"32\" rx=\"6\" fill=\"#fef3c7\" \/>\n        <text x=\"200\" y=\"46\" dominant-baseline=\"middle\" text-anchor=\"middle\" fill=\"#451a03\" font-size=\"12\" font-weight=\"700\" font-family=\"sans-serif\">L7: Application Layer<\/text>\n\n        <rect x=\"40\" y=\"65\" width=\"320\" height=\"32\" rx=\"6\" fill=\"#fde68a\" \/>\n        <text x=\"200\" y=\"86\" dominant-baseline=\"middle\" text-anchor=\"middle\" fill=\"#451a03\" font-size=\"12\" font-weight=\"700\" font-family=\"sans-serif\">L6: Presentation Layer<\/text>\n\n        <rect x=\"40\" y=\"105\" width=\"320\" height=\"32\" rx=\"6\" fill=\"#f59e0b\" \/>\n        <text x=\"200\" y=\"126\" dominant-baseline=\"middle\" text-anchor=\"middle\" fill=\"#ffffff\" font-size=\"12\" font-weight=\"700\" font-family=\"sans-serif\">L5: Session Layer<\/text>\n\n        <rect x=\"40\" y=\"145\" width=\"320\" height=\"32\" rx=\"6\" fill=\"#d97706\" \/>\n        <text x=\"200\" y=\"166\" dominant-baseline=\"middle\" text-anchor=\"middle\" fill=\"#ffffff\" font-size=\"12\" font-weight=\"700\" font-family=\"sans-serif\">L4: Transport Layer<\/text>\n\n        <rect x=\"40\" y=\"185\" width=\"320\" height=\"32\" rx=\"6\" fill=\"#b45309\" \/>\n        <text x=\"200\" y=\"206\" dominant-baseline=\"middle\" text-anchor=\"middle\" fill=\"#ffffff\" font-size=\"12\" font-weight=\"700\" font-family=\"sans-serif\">L3: Network Layer<\/text>\n\n        <rect x=\"40\" y=\"225\" width=\"320\" height=\"32\" rx=\"6\" fill=\"#78350f\" \/>\n        <text x=\"200\" y=\"246\" dominant-baseline=\"middle\" text-anchor=\"middle\" fill=\"#ffffff\" font-size=\"12\" font-weight=\"700\" font-family=\"sans-serif\">L2: Data Link Layer<\/text>\n\n        <rect x=\"40\" y=\"265\" width=\"320\" height=\"32\" rx=\"6\" fill=\"#57534e\" \/>\n        <text x=\"200\" y=\"286\" dominant-baseline=\"middle\" text-anchor=\"middle\" fill=\"#ffffff\" font-size=\"12\" font-weight=\"700\" font-family=\"sans-serif\">L1: Physical Layer<\/text>\n      <\/svg>\n    <\/div>\n\n    <div style=\"flex: 2; min-width: 300px;\">\n      <span style=\"font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; color: #854d0e;\">Network Architecture<\/span>\n      <h1 style=\"margin: 8px 0 16px 0; font-size: 2.3rem; line-height: 1.2; font-weight: 800; color: #451a03;\">The 7 Layers of the OSI Model<\/h1>\n      <p style=\"font-size: 1.1rem; color: #57534e; margin-bottom: 16px; font-weight: 500;\">\n        The Open Systems Interconnection (OSI) model is a conceptual framework that standardizes how data travels across network systems.\n      <\/p>\n      <p style=\"margin-bottom: 0; color: #78716c;\">\n        Dividing network operations into seven distinct layers allows systems, protocols, and hardware from different vendors to communicate seamlessly from hardware signals up to software applications.\n      <\/p>\n    <\/div>\n\n  <\/div>\n\n  <hr style=\"border: 0; border-top: 1px solid #e7e5e4; margin: 40px 0;\" \/>\n\n  <!-- OVERVIEW \/ ARCHITECTURE EXPLANATION -->\n  <div style=\"margin-bottom: 40px;\">\n    <h2 style=\"font-size: 1.75rem; color: #451a03; margin-bottom: 16px; font-weight: 700;\">Host Layers vs. Media Layers<\/h2>\n    <p style=\"color: #57534e; margin-bottom: 16px;\">\n      The 7 layers are typically grouped into two functional categories: **Host Layers** (Layers 7\u20134), which handle software processing and data assembly, and **Media Layers** (Layers 3\u20131), which manage hardware routing, switching, and physical signal transmission across the network path.\n    <\/p>\n  <\/div>\n\n  <!-- THE 7 LAYERS BREAKDOWN -->\n  <div class=\"layers-list\" style=\"display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px;\">\n    \n    <!-- LAYER 7 -->\n    <div style=\"background: #fafaf9; border-left: 5px solid #854d0e; border-radius: 8px; padding: 20px; border-top: 1px solid #e7e5e4; border-right: 1px solid #e7e5e4; border-bottom: 1px solid #e7e5e4;\">\n      <div style=\"display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 8px;\">\n        <h3 style=\"margin: 0; font-size: 1.25rem; color: #451a03; font-weight: 700;\">Layer 7: Application Layer<\/h3>\n        <span style=\"background: #fef3c7; color: #78350f; font-size: 0.8rem; font-weight: 700; padding: 4px 10px; border-radius: 20px;\">Host Layer<\/span>\n      <\/div>\n      <p style=\"margin: 0 0 10px 0; color: #57534e; font-size: 0.98rem;\">\n        Directly interacts with software applications to provide network services. It acts as the window for applications to access network resources.\n      <\/p>\n      <div style=\"font-size: 0.88rem; color: #78716c;\">\n        <strong>Key Protocols \/ Data Units:<\/strong> HTTP, HTTPS, FTP, SMTP, DNS, SSH | <em>Data Unit: Data<\/em>\n      <\/div>\n    <\/div>\n\n    <!-- LAYER 6 -->\n    <div style=\"background: #fafaf9; border-left: 5px solid #a16207; border-radius: 8px; padding: 20px; border-top: 1px solid #e7e5e4; border-right: 1px solid #e7e5e4; border-bottom: 1px solid #e7e5e4;\">\n      <div style=\"display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 8px;\">\n        <h3 style=\"margin: 0; font-size: 1.25rem; color: #451a03; font-weight: 700;\">Layer 6: Presentation Layer<\/h3>\n        <span style=\"background: #fef3c7; color: #78350f; font-size: 0.8rem; font-weight: 700; padding: 4px 10px; border-radius: 20px;\">Host Layer<\/span>\n      <\/div>\n      <p style=\"margin: 0 0 10px 0; color: #57534e; font-size: 0.98rem;\">\n        Translates, encrypts, and compresses data so the application layer can read it. It ensures data from the sending system is formatted correctly for the receiving system.\n      <\/p>\n      <div style=\"font-size: 0.88rem; color: #78716c;\">\n        <strong>Key Functions \/ Data Units:<\/strong> SSL\/TLS, JPEG, ASCII, GIF, Data Encryption &#038; Formatting | <em>Data Unit: Data<\/em>\n      <\/div>\n    <\/div>\n\n    <!-- LAYER 5 -->\n    <div style=\"background: #fafaf9; border-left: 5px solid #ca8a04; border-radius: 8px; padding: 20px; border-top: 1px solid #e7e5e4; border-right: 1px solid #e7e5e4; border-bottom: 1px solid #e7e5e4;\">\n      <div style=\"display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 8px;\">\n        <h3 style=\"margin: 0; font-size: 1.25rem; color: #451a03; font-weight: 700;\">Layer 5: Session Layer<\/h3>\n        <span style=\"background: #fef3c7; color: #78350f; font-size: 0.8rem; font-weight: 700; padding: 4px 10px; border-radius: 20px;\">Host Layer<\/span>\n      <\/div>\n      <p style=\"margin: 0 0 10px 0; color: #57534e; font-size: 0.98rem;\">\n        Establishes, manages, and terminates connections (sessions) between local and remote applications. It handles session checkpoints and recovery.\n      <\/p>\n      <div style=\"font-size: 0.88rem; color: #78716c;\">\n        <strong>Key Protocols \/ Data Units:<\/strong> NetBIOS, PPTP, RPC, Sockets | <em>Data Unit: Data<\/em>\n      <\/div>\n    <\/div>\n\n    <!-- LAYER 4 -->\n    <div style=\"background: #fafaf9; border-left: 5px solid #d97706; border-radius: 8px; padding: 20px; border-top: 1px solid #e7e5e4; border-right: 1px solid #e7e5e4; border-bottom: 1px solid #e7e5e4;\">\n      <div style=\"display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 8px;\">\n        <h3 style=\"margin: 0; font-size: 1.25rem; color: #451a03; font-weight: 700;\">Layer 4: Transport Layer<\/h3>\n        <span style=\"background: #fef3c7; color: #78350f; font-size: 0.8rem; font-weight: 700; padding: 4px 10px; border-radius: 20px;\">Host Layer<\/span>\n      <\/div>\n      <p style=\"margin: 0 0 10px 0; color: #57534e; font-size: 0.98rem;\">\n        Manages end-to-end communication, segmentation, flow control, and error checking. Ensures complete data transfer across host machines.\n      <\/p>\n      <div style=\"font-size: 0.88rem; color: #78716c;\">\n        <strong>Key Protocols \/ Data Units:<\/strong> TCP (Transmission Control Protocol), UDP (User Datagram Protocol) | <em>Data Unit: Segment \/ Datagram<\/em>\n      <\/div>\n    <\/div>\n\n    <!-- LAYER 3 -->\n    <div style=\"background: #fafaf9; border-left: 5px solid #b45309; border-radius: 8px; padding: 20px; border-top: 1px solid #e7e5e4; border-right: 1px solid #e7e5e4; border-bottom: 1px solid #e7e5e4;\">\n      <div style=\"display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 8px;\">\n        <h3 style=\"margin: 0; font-size: 1.25rem; color: #451a03; font-weight: 700;\">Layer 3: Network Layer<\/h3>\n        <span style=\"background: #f5f5f4; color: #57534e; font-size: 0.8rem; font-weight: 700; padding: 4px 10px; border-radius: 20px;\">Media Layer<\/span>\n      <\/div>\n      <p style=\"margin: 0 0 10px 0; color: #57534e; font-size: 0.98rem;\">\n        Handles logical addressing and routing of data packets across different subnets and networks. Finds the best physical path for data to travel.\n      <\/p>\n      <div style=\"font-size: 0.88rem; color: #78716c;\">\n        <strong>Key Protocols \/ Devices:<\/strong> IPv4, IPv6, ICMP, Routers, Layer 3 Switches | <em>Data Unit: Packet<\/em>\n      <\/div>\n    <\/div>\n\n    <!-- LAYER 2 -->\n    <div style=\"background: #fafaf9; border-left: 5px solid #78350f; border-radius: 8px; padding: 20px; border-top: 1px solid #e7e5e4; border-right: 1px solid #e7e5e4; border-bottom: 1px solid #e7e5e4;\">\n      <div style=\"display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 8px;\">\n        <h3 style=\"margin: 0; font-size: 1.25rem; color: #451a03; font-weight: 700;\">Layer 2: Data Link Layer<\/h3>\n        <span style=\"background: #f5f5f4; color: #57534e; font-size: 0.8rem; font-weight: 700; padding: 4px 10px; border-radius: 20px;\">Media Layer<\/span>\n      <\/div>\n      <p style=\"margin: 0 0 10px 0; color: #57534e; font-size: 0.98rem;\">\n        Facilitates node-to-node data transfer within the same network segment. Manages physical MAC addressing, error detection (CRC), and framing.\n      <\/p>\n      <div style=\"font-size: 0.88rem; color: #78716c;\">\n        <strong>Key Protocols \/ Devices:<\/strong> Ethernet, Wi-Fi (802.11), MAC Addresses, Switches, Bridges | <em>Data Unit: Frame<\/em>\n      <\/div>\n    <\/div>\n\n    <!-- LAYER 1 -->\n    <div style=\"background: #fafaf9; border-left: 5px solid #57534e; border-radius: 8px; padding: 20px; border-top: 1px solid #e7e5e4; border-right: 1px solid #e7e5e4; border-bottom: 1px solid #e7e5e4;\">\n      <div style=\"display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 8px;\">\n        <h3 style=\"margin: 0; font-size: 1.25rem; color: #451a03; font-weight: 700;\">Layer 1: Physical Layer<\/h3>\n        <span style=\"background: #f5f5f4; color: #57534e; font-size: 0.8rem; font-weight: 700; padding: 4px 10px; border-radius: 20px;\">Media Layer<\/span>\n      <\/div>\n      <p style=\"margin: 0 0 10px 0; color: #57534e; font-size: 0.98rem;\">\n        Transmits unstructured raw binary data (bits) over a physical medium. Governs electrical signals, light pulses, radio frequencies, cables, and pinouts.\n      <\/p>\n      <div style=\"font-size: 0.88rem; color: #78716c;\">\n        <strong>Key Hardware \/ Mediums:<\/strong> Cat6 Ethernet Cables, Fiber Optics, Network Interface Cards (NICs), Hubs | <em>Data Unit: Bit<\/em>\n      <\/div>\n    <\/div>\n\n  <\/div>\n\n  <!-- SUMMARY BOX -->\n  <div style=\"background-color: #fffbeb; padding: 24px; border-radius: 10px; border: 1px solid #fde68a; text-align: center;\">\n    <h3 style=\"font-size: 1.2rem; color: #451a03; margin: 0 0 8px 0; font-weight: 700;\">Easy Mnemonic to Remember<\/h3>\n    <p style=\"margin: 0 0 8px 0; color: #78350f; font-size: 0.95rem;\">\n      From Top to Bottom (Layer 7 \u2192 1): <strong>&#8220;All People Seem To Need Data Processing&#8221;<\/strong>\n    <\/p>\n    <p style=\"margin: 0; color: #854d0e; font-size: 0.9rem;\">\n      From Bottom to Top (Layer 1 \u2192 7): <strong>&#8220;Please Do Not Throw Sausage Pizza Away&#8221;<\/strong>\n    <\/p>\n  <\/div>\n\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>L7: Application Layer L6: Presentation Layer L5: Session Layer L4: Transport Layer L3: Network Layer L2: Data Link Layer L1: Physical Layer Network Architecture The 7 Layers of the OSI Model The Open Systems Interconnection (OSI) model is a conceptual framework that standardizes how data travels across network systems. Dividing network operations into seven distinct layers allows systems, protocols, and hardware from different vendors to communicate seamlessly from hardware signals up to software applications. Host Layers vs. Media Layers The 7 layers are typically grouped into two functional categories: **Host Layers** (Layers 7\u20134), which handle software processing and data assembly, and **Media Layers** (Layers 3\u20131), which manage hardware routing, switching, and physical signal transmission across the network path. Layer 7: Application Layer Host Layer Directly interacts with software applications to provide network services. It acts as the window for applications to access network resources. Key Protocols \/ Data Units: HTTP, HTTPS, FTP, SMTP, DNS, SSH | Data Unit: Data Layer 6: Presentation Layer Host Layer Translates, encrypts, and compresses data so the application layer can read it. It ensures data from the sending system is formatted correctly for the receiving system. Key Functions \/ Data Units: SSL\/TLS, JPEG, ASCII, GIF, Data Encryption &#038; Formatting | Data Unit: Data Layer 5: Session Layer Host Layer Establishes, manages, and terminates connections (sessions) between local and remote applications. It handles session checkpoints and recovery. Key Protocols \/ Data Units: NetBIOS, PPTP, RPC, Sockets | Data Unit: Data Layer 4: Transport Layer Host Layer Manages end-to-end communication, segmentation, flow control, and error checking. Ensures complete data transfer across host machines. Key Protocols \/ Data Units: TCP (Transmission Control Protocol), UDP (User Datagram Protocol) | Data Unit: Segment \/ Datagram Layer 3: Network Layer Media Layer Handles logical addressing and routing of data packets across different subnets and networks. Finds the best physical path for data to travel. Key Protocols \/ Devices: IPv4, IPv6, ICMP, Routers, Layer 3 Switches | Data Unit: Packet Layer 2: Data Link Layer Media Layer Facilitates node-to-node data transfer within the same network segment. Manages physical MAC addressing, error detection (CRC), and framing. Key Protocols \/ Devices: Ethernet, Wi-Fi (802.11), MAC Addresses, Switches, Bridges | Data Unit: Frame Layer 1: Physical Layer Media Layer Transmits unstructured raw binary data (bits) over a physical medium. Governs electrical signals, light pulses, radio frequencies, cables, and pinouts. Key Hardware \/ Mediums: Cat6 Ethernet Cables, Fiber Optics, Network Interface Cards (NICs), Hubs | Data Unit: Bit Easy Mnemonic to Remember From Top to Bottom (Layer 7 \u2192 1): &#8220;All People Seem To Need Data Processing&#8221; From Bottom to Top (Layer 1 \u2192 7): &#8220;Please Do Not Throw Sausage Pizza Away&#8221;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-9","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/introtonetworking.ddns.net\/index.php?rest_route=\/wp\/v2\/pages\/9","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/introtonetworking.ddns.net\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/introtonetworking.ddns.net\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/introtonetworking.ddns.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/introtonetworking.ddns.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9"}],"version-history":[{"count":1,"href":"https:\/\/introtonetworking.ddns.net\/index.php?rest_route=\/wp\/v2\/pages\/9\/revisions"}],"predecessor-version":[{"id":10,"href":"https:\/\/introtonetworking.ddns.net\/index.php?rest_route=\/wp\/v2\/pages\/9\/revisions\/10"}],"wp:attachment":[{"href":"https:\/\/introtonetworking.ddns.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}