The OSI Model
Think of posting a parcel. You pack the gift, a clerk adds the address label, a van takes it to a depot, and a truck takes it to the next city. Nobody does the whole job. Each step has its own task and trusts the next step. The OSI model describes a network in the same way: a stack of layers, and each layer has its own purpose.
5 min read5 মিনিটে পড়া যায় · 7 sections7টি সেকশন · 2 sources2টি সোর্স · updated Oct 2026আপডেট: Oct 2026
The seven layers of the OSI modelOSI মডেলের সাতটি লেয়ার
Walk down the seven layers, meet the peers, switch to the four-layer Internet model, then find the layer that fails.সাতটি লেয়ার বেয়ে নামুন, পিয়ার চিনুন, চার লেয়ারের Internet মডেলে যান, তারপর যে লেয়ার ব্যর্থ হয় তা খুঁজুন।
You’ll learnআপনি শিখবেন
- The seven OSI layers and their jobsসাতটি OSI লেয়ার ও তাদের কাজ
- What a pair of peers isএকজোড়া পিয়ার কী
- How OSI maps to the four Internet layersOSI কীভাবে চার Internet লেয়ারে মেলে
- How layers help find a bugলেয়ার কীভাবে বাগ খুঁজতে সাহায্য করে
In plain words
OSI stands for Open Systems Interconnection. The OSI Reference Model gives a common base so that people can plan standards for connecting systems Source 1সোর্স 1. It is a map of ideas. It is not a recipe for building software, and it is not a test to judge real products Source 1সোর্স 1.
The model has seven layers, numbered from 7 at the top to 1 at the bottom Source 1সোর্স 1. Each system is a stack of layers, and a layer talks to its neighbours through a shared boundary Source 1সোর্স 1. The same layer on two computers is a pair of peers Source 1সোর্স 1.
সহজ English
OSI stands for Open Systems Interconnection. The OSI Reference Model gives a common base. People use it to plan standards for connecting systems Source 1সোর্স 1. It is a map of ideas. It is not a recipe for building software. It is not a test to judge real products Source 1সোর্স 1.
The model has seven layers. They are numbered from 7 at the top to 1 at the bottom Source 1সোর্স 1. Each system is a stack of layers. A layer talks to its neighbours through a shared boundary Source 1সোর্স 1. The same layer on two computers is a pair of peers Source 1সোর্স 1.
বাংলা ব্যাখ্যা
OSI-এর পূর্ণরূপ Open Systems Interconnection। OSI Reference Model একটি সাধারণ ভিত্তি দেয়। মানুষ সিস্টেম সংযুক্ত করার স্ট্যান্ডার্ড পরিকল্পনা করতে এটি ব্যবহার করে Source 1সোর্স 1। এটি ধারণার একটি ম্যাপ। এটি সফটওয়্যার বানানোর রেসিপি নয়। বাস্তব প্রোডাক্ট বিচার করার টেস্টও নয় Source 1সোর্স 1।
মডেলে সাতটি লেয়ার (layer) আছে। উপরে 7 থেকে নিচে 1 পর্যন্ত নম্বর দেওয়া হয়েছে Source 1সোর্স 1। প্রতিটি সিস্টেম লেয়ারের একটি স্ট্যাক। একটি লেয়ার একটি যৌথ সীমানা দিয়ে পাশের লেয়ারগুলোর সঙ্গে কথা বলে Source 1সোর্স 1। দুটি কম্পিউটারের একই লেয়ার একজোড়া পিয়ার (peer) Source 1সোর্স 1।
How it works
7 Application what the user program asks for
6 Presentation how the data is written down
5 Session how the conversation is managed
4 Transport delivery between the two programs
3 Network finding the path between networks
2 Data Link one hop between directly connected systems
1 Physical the signal on the cable or airWhat each layer does, in plain words:
- Application (7): the only way for a program to reach the network world of OSI Source 1সোর্স 1.
- Presentation (6): gives the data a common form, so the programs do not worry about how each side writes it Source 1সোর্স 1.
- Session (5): organizes and synchronizes the dialogue, and opens and closes it in an orderly way Source 1সোর্স 1.
- Transport (4): moves the data and hides the work of making transfer reliable Source 1সোর্স 1.
- Network (3): frees the layer above from routing and relaying Source 1সোর্স 1.
- Data Link (2): finds, and may fix, errors that come from the physical layer Source 1সোর্স 1.
- Physical (1): covers the mechanical, electrical, functional, and procedural side of sending bits Source 1সোর্স 1.
The Internet uses a shorter model with four layers: Application, Transport, Internet, and Link Source 2সোর্স 2. Its application layer joins the OSI Presentation and Application layers Source 2সোর্স 2.
| OSI model | Internet model |
|---|---|
| 7 Application, 6 Presentation | Application |
| 5 Session | Application (no separate layer) |
| 4 Transport | Transport |
| 3 Network | Internet |
| 2 Data Link, 1 Physical | Link |
This table is the tutorial's own simplification, and the rows have no source. The RFC states only one link between the two models: its application layer joins the top two OSI layers Source 2সোর্স 2.
সহজ English
The seven layers, from 7 at the top to 1 at the bottom:
- 7 Application: what the user program asks for.
- 6 Presentation: how the data is written down.
- 5 Session: how the conversation is managed.
- 4 Transport: delivery between the two programs.
- 3 Network: finding the path between networks.
- 2 Data Link: one hop between directly connected systems.
- 1 Physical: the signal on the cable or air.
What each layer does, in plain words:
- Application (7): the only way for a program to reach the network world of OSI Source 1সোর্স 1.
- Presentation (6): gives the data a common form. So the programs do not worry about how each side writes it Source 1সোর্স 1.
- Session (5): organizes and synchronizes the dialogue. It opens and closes it in an orderly way Source 1সোর্স 1.
- Transport (4): moves the data. It hides the work of making transfer reliable Source 1সোর্স 1.
- Network (3): frees the layer above from routing and relaying Source 1সোর্স 1.
- Data Link (2): finds, and may fix, errors that come from the physical layer Source 1সোর্স 1.
- Physical (1): covers the mechanical, electrical, functional, and procedural side of sending bits Source 1সোর্স 1.
The Internet uses a shorter model with four layers: Application, Transport, Internet, and Link Source 2সোর্স 2. Its application layer joins the OSI Presentation and Application layers Source 2সোর্স 2.
The tutorial's own simplification of how the two models match:
- OSI 7 Application and 6 Presentation: Internet Application.
- OSI 5 Session: Internet Application (no separate layer).
- OSI 4 Transport: Internet Transport.
- OSI 3 Network: Internet Internet.
- OSI 2 Data Link and 1 Physical: Internet Link.
These rows have no source. The RFC states only one link between the two models. Its application layer joins the top two OSI layers Source 2সোর্স 2.
বাংলা ব্যাখ্যা
সাতটি লেয়ার, উপরে 7 থেকে নিচে 1:
- 7 অ্যাপ্লিকেশন (Application): ইউজারের প্রোগ্রাম কী চায়।
- 6 প্রেজেন্টেশন (Presentation): ডেটা কীভাবে লেখা হয়।
- 5 সেশন (Session): কথোপকথন কীভাবে পরিচালিত হয়।
- 4 ট্রান্সপোর্ট (Transport): দুটি প্রোগ্রামের মধ্যে ডেলিভারি।
- 3 নেটওয়ার্ক (Network): নেটওয়ার্কগুলোর মধ্যে পথ খোঁজা।
- 2 ডেটা লিংক (Data Link): সরাসরি যুক্ত সিস্টেমের মধ্যে এক হপ (hop)।
- 1 ফিজিক্যাল (Physical): ক্যাবল বা বাতাসে সিগন্যাল।
প্রতিটি লেয়ার সহজ কথায় কী করে:
- অ্যাপ্লিকেশন (7): একটি প্রোগ্রামের OSI-এর নেটওয়ার্ক জগতে পৌঁছানোর একমাত্র পথ Source 1সোর্স 1।
- প্রেজেন্টেশন (6): ডেটাকে একটি সাধারণ রূপ দেয়। তাই প্রোগ্রামকে ভাবতে হয় না প্রতিটি পক্ষ তা কীভাবে লেখে Source 1সোর্স 1।
- সেশন (5): কথোপকথন সংগঠিত ও সিঙ্ক্রোনাইজ করে। সে তা সুশৃঙ্খলভাবে খোলে ও বন্ধ করে Source 1সোর্স 1।
- ট্রান্সপোর্ট (4): ডেটা সরায়। ট্রান্সফার নির্ভরযোগ্য করার কাজ সে লুকিয়ে রাখে Source 1সোর্স 1।
- নেটওয়ার্ক (3): উপরের লেয়ারকে রাউটিং ও রিলে করা থেকে মুক্ত রাখে Source 1সোর্স 1।
- ডেটা লিংক (2): ফিজিক্যাল লেয়ার থেকে আসা এরর খুঁজে পায়, এবং ঠিকও করতে পারে Source 1সোর্স 1।
- ফিজিক্যাল (1): বিট পাঠানোর যান্ত্রিক, বৈদ্যুতিক, কার্যগত ও পদ্ধতিগত দিক নিয়ে কাজ করে Source 1সোর্স 1।
ইন্টারনেট একটি ছোট মডেল ব্যবহার করে, যাতে চারটি লেয়ার: অ্যাপ্লিকেশন, ট্রান্সপোর্ট, ইন্টারনেট এবং লিংক Source 2সোর্স 2। এর অ্যাপ্লিকেশন লেয়ার OSI-এর প্রেজেন্টেশন ও অ্যাপ্লিকেশন লেয়ার জোড়া দেয় Source 2সোর্স 2।
দুটি মডেল কীভাবে মেলে, তার টিউটোরিয়ালের নিজের সরলীকরণ:
- OSI 7 অ্যাপ্লিকেশন ও 6 প্রেজেন্টেশন: ইন্টারনেট অ্যাপ্লিকেশন।
- OSI 5 সেশন: ইন্টারনেট অ্যাপ্লিকেশন (আলাদা লেয়ার নেই)।
- OSI 4 ট্রান্সপোর্ট: ইন্টারনেট ট্রান্সপোর্ট।
- OSI 3 নেটওয়ার্ক: ইন্টারনেট ইন্টারনেট।
- OSI 2 ডেটা লিংক ও 1 ফিজিক্যাল: ইন্টারনেট লিংক।
এই সারিগুলোর কোনো সোর্স নেই। RFC দুটি মডেলের মধ্যে শুধু একটি সম্পর্ক বলে। এর অ্যাপ্লিকেশন লেয়ার OSI-এর উপরের দুটি লেয়ার জোড়া দেয় Source 2সোর্স 2।
When you need it
You use the layers as a way to talk and to search. When a feature fails, "which layer?" cuts the search. A wrong price on screen is a high-layer problem. A page that never loads may be a low-layer problem. The layers also give the team one shared language for bug reports.
সহজ English
You use the layers as a way to talk and to search. When a feature fails, "which layer?" cuts the search. A wrong price on screen is a high-layer problem. A page that never loads may be a low-layer problem. The layers also give the team one shared language for bug reports.
বাংলা ব্যাখ্যা
আপনি লেয়ারগুলো কথা বলা ও খোঁজার একটি উপায় হিসেবে ব্যবহার করেন। কোনো ফিচার ব্যর্থ হলে "কোন লেয়ার?" প্রশ্নটি খোঁজা ছোট করে। স্ক্রিনে ভুল দাম একটি উঁচু লেয়ারের সমস্যা। যে পেজ কখনো লোড হয় না, সেটি নিচু লেয়ারের সমস্যা হতে পারে। লেয়ারগুলো বাগ রিপোর্টের জন্য দলকে একটি সাধারণ ভাষাও দেয়।
A real-life example
A learning platform shows a video lesson. A student says, "The lesson does not play." This walk is the tutorial's own example:
Physical Is the student's Wi-Fi or cable connected?
Data Link Is the student on the local network?
Network Does the student's computer have an address and a route out?
Transport Does the connection to the server open and stay open?
Application Does the server answer the request with the video?The tester goes from the bottom up, or from the top down, and stops at the first layer that fails. The tester then writes the bug report with that layer in the title.
সহজ English
A learning platform shows a video lesson. A student says, "The lesson does not play." This walk is the tutorial's own example:
- Physical: Is the Wi-Fi or cable of the student connected?
- Data Link: Is the student on the local network?
- Network: Does the computer of the student have an address and a route out?
- Transport: Does the connection to the server open and stay open?
- Application: Does the server answer the request with the video?
The tester goes from the bottom up, or from the top down. The tester stops at the first layer that fails. Then the tester writes the bug report with that layer in the title.
বাংলা ব্যাখ্যা
একটি লার্নিং প্ল্যাটফর্ম একটি ভিডিও লেসন দেখায়। একজন স্টুডেন্ট বলে, "লেসন চলছে না।" এই ধাপগুলো টিউটোরিয়ালের নিজের উদাহরণ:
- ফিজিক্যাল: স্টুডেন্টের Wi-Fi বা ক্যাবল কি যুক্ত?
- ডেটা লিংক: স্টুডেন্ট কি লোকাল নেটওয়ার্কে আছে?
- নেটওয়ার্ক: স্টুডেন্টের কম্পিউটারের কি একটি অ্যাড্রেস আছে এবং বাইরে যাওয়ার রুট আছে?
- ট্রান্সপোর্ট: সার্ভারের সঙ্গে কানেকশন কি খোলে এবং খোলা থাকে?
- অ্যাপ্লিকেশন: সার্ভার কি রিকুয়েস্টের উত্তরে ভিডিও দেয়?
টেস্টার নিচ থেকে উপরে, বা উপর থেকে নিচে যায়। সে প্রথম যে লেয়ার ব্যর্থ হয় সেখানে থামে। তারপর সে টাইটেলে সেই লেয়ারের নাম দিয়ে বাগ রিপোর্ট লেখে।
Common mistakes
- "The Internet runs on the seven OSI layers." The Internet model has four layers Source 2সোর্স 2. The OSI model is a reference, not a build plan Source 1সোর্স 1.
- "Each protocol fits one layer exactly." Telnet, FTP, and SMTP are application protocols, and so is DNS (as a support protocol) Source 2সোর্স 2. A protocol does not always sit in one neat box: the RFC notes that some Internet application protocols have some internal sub-layering Source 2সোর্স 2.
- "The network always delivers my data." IP makes no promise to deliver. A datagram may be damaged, copied, reordered, or lost on the way Source 2সোর্স 2. The protocols above IP must add reliability when it is needed Source 2সোর্স 2.
- Mixing up TCP and UDP. TCP is reliable and connection-oriented. UDP is connectionless Source 2সোর্স 2.
সহজ English
- "The Internet runs on the seven OSI layers." The Internet model has four layers Source 2সোর্স 2. The OSI model is a reference, not a build plan Source 1সোর্স 1.
- "Each protocol fits one layer exactly." Telnet, FTP, and SMTP are application protocols. So is DNS (as a support protocol) Source 2সোর্স 2. A protocol does not always sit in one neat box. The RFC notes that some Internet application protocols have some internal sub-layering Source 2সোর্স 2.
- "The network always delivers my data." IP makes no promise to deliver. A datagram may be damaged, copied, reordered, or lost on the way Source 2সোর্স 2. The protocols above IP must add reliability when it is needed Source 2সোর্স 2.
- Mixing up TCP and UDP. TCP is reliable and connection-oriented. UDP is connectionless Source 2সোর্স 2.
বাংলা ব্যাখ্যা
- "ইন্টারনেট সাতটি OSI লেয়ারের উপর চলে।" ইন্টারনেট মডেলে চারটি লেয়ার Source 2সোর্স 2। OSI মডেল একটি রেফারেন্স, বানানোর পরিকল্পনা নয় Source 1সোর্স 1।
- "প্রতিটি প্রোটোকল ঠিক একটি লেয়ারে বসে।" Telnet, FTP ও SMTP অ্যাপ্লিকেশন প্রোটোকল। DNS-ও তাই (সাপোর্ট প্রোটোকল হিসেবে) Source 2সোর্স 2। একটি প্রোটোকল সবসময় একটি পরিষ্কার খোপে বসে না। RFC বলে, কিছু ইন্টারনেট অ্যাপ্লিকেশন প্রোটোকলে কিছু ভেতরের সাব-লেয়ারিং আছে Source 2সোর্স 2।
- "নেটওয়ার্ক সবসময় আমার ডেটা পৌঁছে দেয়।" IP পৌঁছে দেওয়ার কোনো প্রতিশ্রুতি দেয় না। পথে একটি ডেটাগ্রাম (datagram) নষ্ট হতে পারে, কপি হতে পারে, ক্রম বদলাতে পারে বা হারিয়ে যেতে পারে Source 2সোর্স 2। IP-এর উপরের প্রোটোকলকে দরকার হলে নির্ভরযোগ্যতা যোগ করতে হবে Source 2সোর্স 2।
- TCP আর UDP গুলিয়ে ফেলা। TCP নির্ভরযোগ্য এবং কানেকশন-ওরিয়েন্টেড। UDP কানেকশনলেস Source 2সোর্স 2।
What a tester can check
Tutorial advice
This advice is the tutorial's own. It is not from a source.
- Put the layer name in each network-related bug report, for example "fails at Transport: the connection resets".
- Test one layer at a time. Check the address and route first, then the connection, then the application answer.
- Test on a slow or broken network on purpose, and check that the app shows a clear message and does not hang.
- Ask: "Which team owns this layer?" The answer tells you who should read the bug.
সহজ English
This advice is the tutorial's own. It is not from a source.
- Put the layer name in each network-related bug report. For example: "fails at Transport: the connection resets".
- Test one layer at a time. Check the address and route first. Then check the connection. Then check the application answer.
- Test on a slow or broken network on purpose. Check that the app shows a clear message and does not hang.
- Ask: "Which team owns this layer?" The answer tells you who should read the bug.
বাংলা ব্যাখ্যা
এই পরামর্শ টিউটোরিয়ালের নিজের। এটি কোনো সোর্স থেকে নয়।
- প্রতিটি নেটওয়ার্ক-সংক্রান্ত বাগ রিপোর্টে লেয়ারের নাম দিন। যেমন: "ট্রান্সপোর্টে ব্যর্থ: কানেকশন রিসেট হয়"।
- একবারে একটি লেয়ার টেস্ট করুন। আগে অ্যাড্রেস ও রুট দেখুন। তারপর কানেকশন দেখুন। তারপর অ্যাপ্লিকেশনের উত্তর দেখুন।
- ইচ্ছা করে ধীর বা ভাঙা নেটওয়ার্কে টেস্ট করুন। দেখুন অ্যাপ একটি পরিষ্কার মেসেজ দেখায় এবং হ্যাং করে না।
- জিজ্ঞাসা করুন: "এই লেয়ার কোন দলের?" উত্তর বলে দেয় বাগ কার পড়া উচিত।
Key words
| Word | Meaning |
|---|---|
| Layer | One level in the stack. It has its own purpose and talks to the layers next to it Source 1সোর্স 1. |
| Peer | The same layer on the other computer Source 1সোর্স 1. |
| OSI | Open Systems Interconnection: the seven-layer reference model Source 1সোর্স 1. |
| Internet model | The four-layer model of the Internet: Application, Transport, Internet, Link Source 2সোর্স 2. |
| Transport layer | The layer that moves data between two programs. TCP and UDP work here Source 2সোর্স 2. |
| Link layer | The layer that talks to the directly-connected network Source 2সোর্স 2. |