Chapterبەش 2 · Lectureوانە 2.1

Protocols, Layers and the OSI Ideaپرۆتۆکۆڵەکان، چینەکان و بیرۆکەی OSI

What a protocol is, why networking is split into layers, what a reference model is for, and the seven layers of the OSI model: their order, three groups, peers and interfaces, with memory aids, the post-office picture and the organisations that write the rules.

چییە، بۆچی کاری بە چین دابەش دەکرێت، بۆ چییە و حەوت چینەکەی : ڕیزبەندییان، سێ گرووپەکەیان، و ، لەگەڵ ڕێگەی لەبەرکردن، وێنەی پۆستەخانە و ئەو ڕێکخراوانەی یاساکان دەنووسن.

21 min read23 خولەک خوێندنەوە · 19 stepsهەنگاو

What you will learnچی فێر دەبیت

  • Define a protocol and explain why both sides need the same one.
  • Explain why communication is divided into layers, with everyday examples.
  • Say what a reference model is for and how it differs from a network architecture.
  • Name the seven OSI layers in order, with their units of data and three groups.
  • Explain peer-to-peer communication, interfaces, and the headers added on the way down.
  • Name the organisations that write networking standards: ISO, ITU-T, IETF and IEEE.
  • پێناسە بکەیت و ڕوونی بکەیتەوە بۆچی هەردوو لا پێویستیان بە هەمان هەیە.
  • ڕوونی بکەیتەوە بۆچی پەیوەندی بە چین دابەش دەکرێت، بە نموونەی ڕۆژانە.
  • بڵێیت بۆ چییە و چ جیاوازییەکی لەگەڵ تەلارسازیی هەیە.
  • حەوت چینەکەی OSI بە ڕیز ناو ببەیت، لەگەڵ یەکەکانی و سێ گرووپەکەیان.
  • پەیوەندیی بۆ ، و ئەو سەردێڕانەی لە کاتی دابەزیندا زیاد دەکرێن ڕوون بکەیتەوە.
  • ئەو ڕێکخراوانە ناو ببەیت کە دەنووسن: ISO، ⁦ITU-T⁩، IETF و IEEE.

What is a protocol?پرۆتۆکۆڵ چییە؟

Two people can only talk if they agree on how: which language, who speaks first, how to say “I did not understand”. Devices are the same. A protocol is an agreement between two sides so that they can communicate. In a network it is a set of rules for exchanging information between devices: the format of each message, its order and timing, and what to do when something goes wrong.

دوو کەس تەنیا کاتێک دەتوانن قسە بکەن کە لەسەر چۆنییەتییەکەی ڕێک کەوتبن: بە کام زمان، کێ یەکەم قسە دەکات، چۆن بڵێن «تێنەگەیشتم». ئامێرەکانیش وان. ڕێککەوتنێکە لە نێوان دوو لادا تاکو بتوانن پەیوەندی بکەن. لە کۆمەڵێک یاسایە بۆ ئاڵوگۆڕکردنی زانیاری لە نێوان ئامێرەکاندا: شێوەی هەر نامەیەک، ڕیز و کاتەکەی و ئەوەی کە دەبێت بکرێت کاتێک شتێک هەڵە دەڕوات.

Two panels. Left, “In diplomacy (where the word comes from)”: two delegates at a table share one card of meeting rules: 1 greet, 2 guest speaks first, 3 sign together. Right, “In a network”: a laptop and a server, joined by a two-way arrow, share one card of rules: 1 say hello, 2 same format, 3 reply, or resend. A band at the bottom: teacher and student — their protocol is the language they share, for example Kurdish.دوو بەش. لە چەپ، «لە دیپلۆماسیدا (ئەو شوێنەی وشەکەی لێوە هاتووە)»: دوو نوێنەر لە دەوری مێزێک یەک کارتی یاساکانی کۆبوونەوەیان هەیە: 1 سڵاوکردن، 2 میوان یەکەم قسە دەکات، 3 پێکەوە واژۆکردن. لە ڕاست، «لە ڕایەڵەدا»: لاپتۆپێک و ڕاژەکارێک کە تیرێکی دوولایەنە پێکیانەوە دەبەستێت، یەک کارتی یاسایان هەیە: 1 سڵاو بکە، 2 هەمان شێوە، 3 وەڵام بدەوە یان دیسان بنێرە. لە خوارەوە: مامۆستا و قوتابی — پرۆتۆکۆڵەکەیان ئەو زمانەیە کە هەردووکیان دەیزانن، بۆ نموونە کوردی.
The same idea in a meeting and in a network: both sides follow one set of rules.هەمان بیرۆکە لە کۆبوونەوەیەک و لە : هەردوو لا پەیڕەوی یەک کۆمەڵە یاسا دەکەن.CêIT

The word comes from diplomacy, where a protocol is the formal procedure of official meetings: who greets whom, who speaks first, how an agreement is signed. It keeps meetings calm and orderly. Network protocols do the same for data, even in a huge, busy network. A classroom example: the protocol between a teacher and a student is the language they share; without it, they would not understand each other.

وشەکە لە دیپلۆماسییەوە هاتووە، کە لەوێ ڕێوشوێنی فەرمیی کۆبوونەوە فەرمییەکانە: کێ سڵاو لە کێ دەکات، کێ یەکەم قسە دەکات، ڕێککەوتن چۆن واژۆ دەکرێت. کۆبوونەوەکان ئارام و ڕێکوپێک دەهێڵێتەوە. هەمان کار بۆ دەکەن، تەنانەت لە زۆر گەورە و قەرەباڵغدا. نموونەیەکی پۆل: نێوان مامۆستا و قوتابی ئەو زمانەیە کە هەردووکیان دەیزانن؛ بەبێ ئەو لە یەکتر تێناگەن.

You met protocols as the fifth component of data communication in The five components. The jobs that protocols must do — format, addressing, flow control, access control and error control — are listed in Why protocols?.

وەک پێکهاتەی پێنجەمی لە پێنج پێکهاتەکەدا ناسی. ئەو کارانەی دەبێت بیکەن — شێوە، ناونیشانکردن، ، و — ڕیز کراون لە بۆچی پرۆتۆکۆڵ؟.

Definitionپێناسە

A set of rules that computers follow to talk to each other. Both sides must use the same protocol to understand the message.

کۆمەڵێک یاسایە کە کۆمپیوتەرەکان بۆ قسەکردن لەگەڵ یەکتر پەیڕەوی دەکەن. هەردوو لا دەبێت هەمان یاسا بەکار بهێنن تا لە پەیامەکە تێبگەن.

Why split the job into layers?بۆچی کارەکە بە چین دابەش دەکەین؟

Sending a photo from Sulaymaniyah to Duhok is not one simple job. Something must turn it into bits, put the bits on cables and radio, find a path through many networks, check that nothing is lost and show the photo at the other end. When communication is this complex, we divide the task into layers: each layer does one part of the job, with one protocol for each layer.

ناردنی وێنەیەک لە سلێمانییەوە بۆ دهۆک کارێکی سادەی یەک هەنگاو نییە. شتێک دەبێت بیکاتە ، بخاتە سەر کێبڵ و ڕادیۆ، ڕێگایەک بە ناو چەندین بدۆزێتەوە، دڵنیا ببێتەوە کە هیچ شتێک ون نەبووە و لە سەرەکەی ترەوە وێنەکە پیشان بدات. کاتێک پەیوەندی ئەوەندە ئاڵۆزە، کارەکە دابەش دەکەین بۆ چەند چینێک: هەر چینێک بەشێک لە کارەکە دەکات، بە یەک بۆ هەر چینێک.

Each layer uses the services of the layer below it and serves the layer above it. The two examples on the next screens show the idea with people instead of computers.

هەر چینێک خزمەتگوزارییەکانی چینی خوارەوەی خۆی بەکار دەهێنێت و خزمەت بە چینی سەرەوەی خۆی دەکات. دوو نموونەکەی پەردەکانی داهاتوو بیرۆکەکە بە مرۆڤ پیشان دەدەن، لە جیاتی .

Why split the job into layers?بۆچی کارەکە بە چین دابەش دەکەین؟

Example 1: one layer is enoughنموونەی 1: یەک چین بەسە

Dilan speaks only Kurdish and Hana only English, but both learned sign language as children. They meet in a tea house and talk with signs, and now and then they look at a two-language dictionary. They are face to face, so one layer of communication is enough. Its protocol is sign language: both know the same signs.

دیلان تەنیا کوردی دەزانێت و هانا تەنیا ئینگلیزی، بەڵام هەردووکیان لە منداڵیدا زمانی ئاماژەیان فێر بووە. لە چایخانەیەکدا یەکتر دەبینن و بە ئاماژە قسە دەکەن، جار جاریش سەیری فەرهەنگێکی دوو زمانە دەکەن. ڕووبەڕوون، بۆیە یەک چین پەیوەندی بەسە. زمانی ئاماژەیە: هەردووکیان هەمان ئاماژەکان دەزانن.

Dilan, who speaks only Kurdish, and Hana, who speaks only English, face each other in a tea house. Between them two hands make signs, and a dashed two-way arrow is labelled “signs”. A box below: Layer 1 — the protocol: sign language (both learned it as children).دیلان کە تەنیا کوردی دەزانێت و هانا کە تەنیا ئینگلیزی دەزانێت لە چایخانەیەکدا ڕووبەڕووی یەکترن. لە نێوانیاندا دوو دەست ئاماژە دەکەن و تیرێکی دوولایەنەی پچڕپچڕ ناوی «ئاماژە»یە. لە خوارەوە: چینی 1 — پرۆتۆکۆڵەکە: زمانی ئاماژە (هەردووکیان لە منداڵیدا فێری بوون).
Face to face, one shared set of rules is all the two friends need.ڕووبەڕوو، یەک کۆمەڵە یاسای هاوبەش هەموو ئەو شتەیە کە دوو هاوڕێکە پێویستیانە.CêIT

Why split the job into layers?بۆچی کارەکە بە چین دابەش دەکەین؟

Example 2: three layers, one job eachنموونەی 2: سێ چین، هەریەکە کارێک

Now Hana moves to Duhok and Dilan stays in Sulaymaniyah. They write letters, and nobody else should read them. Each friend keeps a small machine that turns a letter into a secret code and back. Now three layers work together:

ئێستا هانا دەچێتە دهۆک و دیلان لە سلێمانی دەمێنێتەوە. نامە بۆ یەکتر دەنووسن و نابێت کەسی تر بیانخوێنێتەوە. هەریەکەیان ئامێرێکی بچووکی هەیە کە نامە دەکاتە کۆدێکی نهێنی و دەیگەڕێنێتەوە. ئێستا سێ چین پێکەوە کار دەکەن:

  • Layer 3 — the friends write and read the letters, each in her own language.
  • Layer 2 — the machines turn the language into the secret code and back. Both machines must use the same code.
  • Layer 1 — the post office carries the coded letters in its vans. It never reads them.
  • چینی 3 — هاوڕێکان نامەکان دەنووسن و دەخوێننەوە، هەریەکە بە زمانی خۆی.
  • چینی 2 — ئامێرەکان زمانەکە دەکەنە کۆدی نهێنی و دەیگەڕێننەوە. هەردوو ئامێرەکە دەبێت هەمان کۆد بەکار بهێنن.
  • چینی 1 — پۆستەخانە نامە کۆدکراوەکان بە ئۆتۆمبێلەکانی دەگوازێتەوە. هەرگیز نایانخوێنێتەوە.
Three horizontal bands. Top, Layer 3 — friends: Dilan in Sulaymaniyah writes in Kurdish, Hana in Duhok reads in English; a dashed arrow between them says “same rules with the peer”. Middle, Layer 2 — machines: two coding machines show 01101…; a dashed arrow says “same code on both sides”. Bottom, Layer 1 — post office: two post office buildings joined by a road with a van, labelled “the only real journey”. A long arrow goes down on Dilan's side and up on Hana's side. Bottom line: each layer uses the layer below it and serves the layer above it.سێ پشتێنەی ئاسۆیی. لە سەرەوە، چینی 3 — هاوڕێکان: دیلان لە سلێمانی بە کوردی دەنووسێت، هانا لە دهۆک بە ئینگلیزی دەخوێنێتەوە؛ تیرێکی پچڕپچڕ لە نێوانیاندا دەڵێت «هەمان یاسا لەگەڵ هاوتاکەی». لە ناوەڕاست، چینی 2 — ئامێرەکان: دوو ئامێری کۆدکردن 01101… پیشان دەدەن؛ تیرێکی پچڕپچڕ دەڵێت «هەمان کۆد لە هەردوو لا». لە خوارەوە، چینی 1 — پۆستەخانە: دوو بینای پۆستەخانە کە ڕێگایەک بە ئۆتۆمبێلێکەوە پێکیانەوە دەبەستێت، بە ناوی «تاکە گەشتی ڕاستەقینە». تیرێکی درێژ لە لای دیلانەوە دادەبەزێت و لە لای هاناوە سەردەکەوێت. دێڕی خوارەوە: هەر چینێک چینی ژێرەوەی خۆی بەکار دەهێنێت و خزمەتی چینی سەرەوەی دەکات.
Three layers, three protocols: language, code and post. Only layer 1 really travels.سێ چین، سێ : زمان، کۆد و پۆست. تەنیا چینی 1 بە ڕاستی گەشت دەکات.CêIT

Notice two things. Each layer has its own protocol with its partner on the other side: the friends' language, the machines' code, the post office's addresses. And only layer 1 really travels; the upper layers talk to each other through the layers below them.

دوو شت ببینە. هەر چینێک خۆی لەگەڵ هاوبەشەکەی لە لاکەی تر هەیە: زمانی هاوڕێکان، کۆدی ئامێرەکان، ناونیشانەکانی پۆستەخانە. هەروەها تەنیا چینی 1 بە ڕاستی گەشت دەکات؛ چینەکانی سەرەوە لە ڕێگەی چینەکانی خوارەوەیانەوە قسە لەگەڵ یەکتر دەکەن.

What a reference model is forمۆدێلی پێوەر بۆ چییە؟

A reference model is a framework — a guide — that divides the complex job of networking into simpler parts. It says what must be done at each layer, not exactly how. Engineers use it as a guide when they build networks and when they troubleshoot them. The real layers and protocols that a network uses are called its network architecture: they define the message formats, protocols and standards needed for interoperability.

چوارچێوەیەکە — ڕێبەرێکە — کە کاری ئاڵۆزی دابەش دەکات بۆ چەند بەشێکی سادەتر. دەڵێت لە هەر چینێکدا چی دەبێت بکرێت، نەک بە وردی چۆن. ئەندازیاران لە کاتی دروستکردنی و لە کاتی وەک ڕێبەر بەکاری دەهێنن. ئەو چین و ڕاستەقینانەی بەکاریان دەهێنێت پێیان دەگوترێت تەلارسازیی : شێوەی نامەکان، و ئەو بۆ پێویستن دیاری دەکەن.

Two panels joined by an arrow labelled “guides”. Left, Reference model (e.g. OSI): says what must be done, names the layers and their jobs, is a guide for building and for troubleshooting — drawn like a plan on paper. Right, Network architecture (e.g. TCP/IP): real layers and protocols, message formats and rules, says how it is done, runs in real devices — with a laptop, a router and a server. Bottom: this course uses both, OSI as the map and TCP/IP as the real thing.دوو بەش کە تیرێک بە ناوی «ڕێبەرە» پێکیانەوە دەبەستێت. لە چەپ، مۆدێلی پێوەر (بۆ نموونە OSI): دەڵێت چی دەبێت بکرێت، چینەکان و کارەکانیان ناو دەبات، ڕێبەرە بۆ دروستکردن و بۆ چارەسەرکردنی کێشە — وەک نەخشەیەک لەسەر کاغەز کێشراوە. لە ڕاست، تەلارسازیی ڕایەڵە (بۆ نموونە TCP/IP): چین و پرۆتۆکۆڵەکانی ڕاستەقینە، شێوەی نامەکان و یاساکان، دەڵێت چۆن دەکرێت، لە ئامێرە ڕاستەقینەکاندا کار دەکات — لەگەڵ لاپتۆپێک، ڕێدۆزێک و ڕاژەکارێک. لە خوارەوە: ئەم کۆرسە هەردووکیان بەکار دەهێنێت، OSI وەک نەخشە و TCP/IP وەک ئەوەی بە ڕاستی کار دەکات.
A reference model is the plan; a network architecture is what really runs. نەخشەکەیە؛ تەلارسازیی ئەوەیە کە بە ڕاستی کار دەکات.CêIT

Two models matter in this course: the OSI model, this chapter, and the TCP/IP model, which the Internet really runs on — see The TCP/IP Model.

دوو مۆدێل لەم کۆرسەدا گرنگن: (ئەم بەشە) و مۆدێلی ، کە بە ڕاستی لەسەری کار دەکات — بڕوانە مۆدێلی TCP/IP.

What a reference model is forمۆدێلی پێوەر بۆ چییە؟

What a layered model gives usمۆدێلێکی چیندار چیمان پێ دەدات

Why do engineers bother with a layered model? Because it brings real benefits:

بۆچی ئەندازیاران خۆیان بە مۆدێلێکی چیندارەوە ماندوو دەکەن؟ چونکە سوودی ڕاستەقینەی هەیە:

  • Interoperability. Products from different companies work together, because each one follows the standard rules of its layer.
  • Different hardware and software can communicate, because they only have to agree at the edges of each layer.
  • A change in one layer does not affect the others. A new kind of cable or Wi-Fi does not need a new web browser.
  • Less complexity: the job is cut into smaller parts, so it is easier to learn, to teach and to understand.
  • Clear jobs: each layer has its own function and supports the layers next to it, so you know where each protocol fits.
  • . بەرهەمی کۆمپانیای جیاواز پێکەوە کار دەکەن، چونکە هەریەکەیان پەیڕەوی چینی خۆی دەکات.
  • و جیاواز دەتوانن پەیوەندی بکەن، چونکە تەنیا لە سنووری هەر چینێکدا دەبێت ڕێک بکەون.
  • گۆڕانکاری لە چینێکدا کار ناکاتە سەر ئەوانی تر. جۆرێکی نوێی کێبڵ یان پێویستی بە نوێ نییە.
  • ئاڵۆزیی کەمتر: کارەکە دەکرێتە چەند بەشێکی بچووکتر، بۆیە فێربوون، فێرکردن و تێگەیشتنی ئاسانترە.
  • کاری ڕوون: هەر چینێک کاری خۆی هەیە و پشتگیریی چینەکانی تەنیشتی دەکات، بۆیە دەزانیت هەر لە کوێ جێی دەبێتەوە.
Three columns, each a stack of four boxes. The top three boxes are the same in every column: video-call app, transport, network (IP), each marked “the same”. Only the bottom box differs and is marked “only this changes”: cable (Ethernet) under a laptop, Wi-Fi under a phone and mobile data (5G) under another phone. Bottom line: the app works the same way over a cable, Wi-Fi or 5G.سێ ستوون، هەریەکە ستوونێکی چوار سندووقی. سێ سندووقی سەرەوە لە هەموو ستوونێکدا وەک یەکن: ئەپی پەیوەندیی ڤیدیۆیی، چینی گواستنەوە، چینی ڕایەڵە (IP)، هەریەکە بە نیشانەی «هەمان شت». تەنیا سندووقی خوارەوە جیاوازە و نیشانەی «تەنیا ئەمە دەگۆڕێت»ـی لەسەرە: کێبڵ (Ethernet) لە ژێر لاپتۆپێکدا، وای‌فای لە ژێر مۆبایلێکدا و داتای مۆبایل (5G) لە ژێر مۆبایلێکی تردا. دێڕی خوارەوە: ئەپەکە لەسەر کێبڵ، وای‌فای یان 5G بە هەمان شێوە کار دەکات.
Swap the bottom layer and nothing above it changes.چینی خوارەوە بگۆڕە، هیچ شتێک لە سەرووی ناگۆڕێت.CêIT

The OSI modelمۆدێلی OSI

The OSI model — Open Systems Interconnection — was published in 1984 by the International Organization for Standardization (ISO) as the standard ISO 7498; today it is ISO/IEC 7498-1. The ITU-T publishes the same model as Recommendation X.200. It is a clear map and set of directions for how data moves between two devices in interconnected networks, in seven layers — seven steps that every message goes through.

— Open Systems Interconnection، واتە بەیەکەوەبەستنی سیستەمە کراوەکان — لە ساڵی ⁦1984⁩ لەلایەن (ڕێکخراوی نێودەوڵەتیی ستانداردکردن) وەک ⁦ISO 7498⁩ بڵاو کرایەوە؛ ئەمڕۆ ⁦ISO/IEC 7498-1⁩ـە. ⁦ITU-T⁩ هەمان مۆدێل وەک ڕاسپاردەی ⁦X.200⁩ بڵاو دەکاتەوە. نەخشە و ڕێبەرێکی ڕوونە بۆ ئەوەی چۆن لە نێوان دوو ئامێردا لە بەیەکەوەبەستراودا دەگوازرێتەوە، لە حەوت چیندا — حەوت هەنگاو کە هەموو نامەیەک پێیاندا تێدەپەڕێت.

Open means that connection is open to — allowed between — systems of any maker. An open system is a set of protocols that lets any two different systems communicate, whatever is inside them: like an Arab and a Kurd who agree on one shared language so that they understand each other. Do not mix up the two names: ISO is the organisation, OSI is the model. The short name ISO is the same in every language; ISO brings together the national standards bodies of more than 170 countries.

کراوە واتە پەیوەندی کراوەیە — ڕێگەپێدراوە — لە نێوان سیستەمەکانی هەر دروستکەرێکدا. سیستەمی کراوە کۆمەڵێک کە ڕێگە دەدات هەر دوو سیستەمێکی جیاواز پەیوەندی بکەن، هەرچییەک لە ناویاندا بێت: وەک عەرەبێک و کوردێک کە لەسەر زمانێکی هاوبەش ڕێک دەکەون تا لە یەکتر تێبگەن. دوو ناوەکە تێکەڵ مەکە: ISO ڕێکخراوەکەیە، OSI مۆدێلەکەیە. ناوی کورتی ISO لە هەموو زمانێکدا وەک یەکە؛ ISO نیشتمانیی زیاتر لە ⁦170⁩ وڵات کۆ دەکاتەوە.

The OSI model drawn as a seven-floor building with a roof labelled “ISO, 1984”. From the top: floor 7 application — services for the user's programs; floor 6 presentation — translate, compress, encrypt; floor 5 session — open, manage and close the dialogue; floor 4 transport — the whole message, program to program; floor 3 network — packets, source host to destination host; floor 2 data link — frames to the next device on the link; floor 1 physical — bits as signals on the medium. An arrow on the left goes down, labelled sender; an arrow on the right goes up, labelled receiver.مۆدێلی OSI وەک باڵەخانەیەکی حەوت نهۆمی کێشراوە، بە سەربانێک کە لەسەری نووسراوە «ISO, 1984». لە سەرەوە: نهۆمی 7 چینی ئەپ — خزمەتگوزاری بۆ بەرنامەکانی بەکارهێنەر؛ نهۆمی 6 چینی پێشکەشکردن — وەرگێڕان، پەستاندنی دراوە، شفرەکردن؛ نهۆمی 5 چینی سێشن — کردنەوە، بەڕێوەبردن و داخستنی گفتوگۆ؛ نهۆمی 4 چینی گواستنەوە — هەموو نامەکە، لە بەرنامەوە بۆ بەرنامە؛ نهۆمی 3 چینی ڕایەڵە — پاکێتەکان، لە سەرچاوەوە بۆ جێی مەبەست؛ نهۆمی 2 چینی بەستەری دراوە — فرەیمەکان بۆ ئامێری دواتری سەر بەستەرەکە؛ نهۆمی 1 چینی فیزیکی — بیتەکان وەک سیگناڵ لەسەر هۆکاری گواستنەوە. تیرێک لە چەپەوە بەرەو خوارەوەیە بە ناوی نێرەر؛ تیرێک لە ڕاستەوە بەرەو سەرەوەیە بە ناوی وەرگر.
Seven floors, one job each: down the floors when sending, up the floors when receiving.حەوت نهۆم، هەریەکە کارێک: لە کاتی ناردندا بە نهۆمەکاندا دادەبەزێت، لە کاتی وەرگرتندا سەردەکەوێت.CêIT
Definitionپێناسە

ISO's seven-layer of network communication, from the at the bottom to the at the top. Real protocols are compared with it.

حەوت چینیی ISOـیە بۆ پەیوەندیی ڕایەڵە، لە لە خوارەوە تا لە سەرەوە. پرۆتۆکۆڵە ڕاستەقینەکان لەگەڵیدا بەراورد دەکرێن.

OSI ModelSunny Classroom · Englishئینگلیزی · 243K viewsبینین · 5.4K likesلایک

The seven OSI layers from the application down to the physical layer: what each one does and which protocols belong to it, with a sentence to remember them.

حەوت چینەکەی ، لە تا : هەر چینێک چی دەکات و کام سەر بەوێن، لەگەڵ ڕستەیەک بۆ لەبەرکردنیان.

Whole video: the seven layers, from top to bottom.

هەموو ڤیدیۆکە: حەوت چینەکە، لە سەرەوە بۆ خوارەوە.

The OSI modelمۆدێلی OSI

The seven layers, in orderحەوت چینەکە، بە ڕیز

The seven layers are separate but related, and they are numbered from the bottom. Read from the top they are: 7 Application, 6 Presentation, 5 Session, 4 Transport, 3 Network, 2 Data link, 1 Physical. Each layer is responsible for one part of moving the data, and each has its own name for the unit of data it handles — its PDU (protocol data unit). Whole books are written about each layer; this chapter gives the aims and the jobs of each, one by one.

حەوت چینەکە جیان بەڵام پەیوەندییان بە یەکەوە هەیە و لە خوارەوە ژمارە دەکرێن. لە سەرەوە بیانخوێنیتەوە: 7 ، 6 ، 5 ، 4 ، 3 ، 2 ، 1 . هەر چینێک بەرپرسە لە بەشێک لە گواستنەوەی ، هەریەکەش ناوی خۆی هەیە بۆ ئەو یەکەیەی کە کاری لەسەر دەکات — واتە . لەسەر هەر چینێک کتێبی تەواو نووسراوە؛ ئەم بەشە ئامانج و کارەکانی هەر چینێک یەک بە یەک دەخاتە ڕوو.

A table of the seven layers. For each layer, its unit of data (PDU) and examples. 7 application, 6 presentation and 5 session: data — HTTP, DNS, e-mail programs; character codes and compression; opening and closing sessions. 4 transport: segment — TCP, UDP. 3 network: packet — IP; routers. 2 data link: frame — Ethernet, Wi-Fi; switches. 1 physical: bits — cables, radio, hubs, repeaters.خشتەیەکی حەوت چینەکە. بۆ هەر چینێک یەکەی دراوەکەی (یەکەی دراوەی پرۆتۆکۆڵ) و نموونەکان. 7 چینی ئەپ، 6 چینی پێشکەشکردن و 5 چینی سێشن: دراوە — HTTP، DNS، بەرنامەکانی ئیمەیڵ؛ کۆدی پیتەکان و پەستاندنی دراوە؛ کردنەوە و داخستنی سێشنەکان. 4 چینی گواستنەوە: بڕ — TCP، UDP. 3 چینی ڕایەڵە: پاکێت — IP؛ ڕێدۆزەکان. 2 چینی بەستەری دراوە: فرەیم — Ethernet، وای‌فای؛ سویچەکان. 1 چینی فیزیکی: بیتەکان — کێبڵ، ڕادیۆ، هەبەکان، دووپاتەکەرەوەکان.
The seven layers with their units of data and a few examples of what works at each.حەوت چینەکە لەگەڵ یەکەکانی و چەند نموونەیەک لەوەی لە هەریەکەیاندا کار دەکات.CêIT

The OSI modelمۆدێلی OSI

Memory aids for the seven namesڕێگەی لەبەرکردنی حەوت ناوەکە

Students remember the order with a sentence whose words start with the same letters as the layers. From layer 7 down: All People Seem To Need Data Processing. From layer 1 up: Please Do Not Throw Sausage Pizza Away, Please Do Not Touch Steve's Pet Alligator, or Please Do Not Tell Secret Passwords (to) Anyone. None of them is official: use the one you remember best, or make your own.

قوتابیان ڕیزەکە بە ڕستەیەک لە بیر دەگرن کە وشەکانی بە هەمان پیتی ناوە ئینگلیزییەکانی چینەکان دەست پێ دەکەن. لە چینی 7ـەوە بەرەو خوارەوە: All People Seem To Need Data Processing. لە چینی 1ـەوە بەرەو سەرەوە: Please Do Not Throw Sausage Pizza Away، Please Do Not Touch Steve's Pet Alligator یان Please Do Not Tell Secret Passwords (to) Anyone. هیچیان فەرمی نین: ئەوەیان بەکار بهێنە کە باشتر لە بیرت دەمێنێت، یان یەکێکی تایبەت بە خۆت دروست بکە.

The seven layers in the middle, from 7 application at the top to 1 physical at the bottom. On the left, read from 7 down: All, People, Seem, To, Need, Data, Processing, with the first letters highlighted. On the right, read from 1 up: Please, Do, Not, Throw, Sausage, Pizza, Away. Under the middle column: first letter = layer.حەوت چینەکە لە ناوەڕاستدان، لە 7 چینی ئەپ لە سەرەوە تا 1 چینی فیزیکی لە خوارەوە. لە چەپ، لە 7ـەوە بەرەو خوارەوە: All، People، Seem، To، Need، Data، Processing، بە پیتی یەکەمی دیارکراو. لە ڕاست، لە 1ـەوە بەرەو سەرەوە: Please، Do، Not، Throw، Sausage، Pizza، Away. لە ژێر ستوونی ناوەڕاستدا: پیتی یەکەم = چین.
Two popular memory aids; the first letter of each word is the first letter of a layer.دوو ڕێگەی لەبەرکردنی بەناوبانگ؛ پیتی یەکەمی هەر وشەیەک پیتی یەکەمی ناوی چینێکە.CêIT

The OSI modelمۆدێلی OSI

Three groups of layersسێ گرووپی چین

The seven layers fall into three groups. Layers 1–3 — physical, data link and network — are the network support layers: they deal with the physical side of moving data from one device to another. Layers 5–7 — session, presentation and application — are the user support layers: they let unrelated software systems work together. Layer 4, transport, links the two groups: it makes sure that what the lower layers delivered is in a form the upper layers can use.

حەوت چینەکە دەکەونە سێ گرووپەوە. چینەکانی 1 تا 3 — ، و — چینەکانی پشتگیریی : کار لەسەر لایەنی فیزیکیی گواستنەوەی لە ئامێرێکەوە بۆ ئامێرێکی تر دەکەن. چینەکانی 5 تا 7 — ، و — چینەکانی پشتگیریی بەکارهێنەرن: ڕێگە دەدەن سیستەمی جیاواز کە پەیوەندییان بە یەکەوە نییە پێکەوە کار بکەن. چینی 4، ، دوو گرووپەکە پێکەوە دەبەستێت: دڵنیا دەبێتەوە کە ئەوەی چینەکانی خوارەوە گەیاندوویانە بە شێوەیەکە کە چینەکانی سەرەوە بتوانن بەکاری بهێنن.

Another way to see it: layers 7 down to 3 are mostly software, while layers 2 and 1 are software and hardware together — the chip of a network card and the cable itself. Many books call 5–7 the upper layers and 1–3 the lower layers. The routers in the middle of a path use only layers 1–3.

ڕێگەیەکی تری بینین: چینەکانی 7 تا 3 زیاتر ، بەڵام چینەکانی 2 و 1 و پێکەوە — و خودی کێبڵەکە. زۆر کتێب چینەکانی 5 تا 7 بە چینەکانی سەرەوە و 1 تا 3 بە چینەکانی خوارەوە ناو دەبەن. ناوەڕاستی ڕێگا تەنیا چینەکانی 1 تا 3 بەکار دەهێنن.

The seven-layer stack. A brace on the left groups layers 7, 6 and 5: user support — 5 to 7, software in the hosts; programs understand each other. An arrow on the right points at layer 4: the transport layer joins the two groups. A brace on the right groups layers 3, 2 and 1: network support — 1 to 3, hardware and software; they move data device to device. A router icon on the left: routers on the way use layers 1–3 only.ستوونی حەوت چینەکە. کەوانەیەک لە چەپ چینەکانی 7، 6 و 5 کۆ دەکاتەوە: پشتگیریی بەکارهێنەر — 5 تا 7، نەرمەواڵە لە میوانگرەکاندا؛ بەرنامەکان لە یەکتر تێدەگەن. تیرێک لە ڕاست ئاماژە بە چینی 4 دەکات: چینی گواستنەوە دوو گرووپەکە پێکەوە دەبەستێت. کەوانەیەک لە ڕاست چینەکانی 3، 2 و 1 کۆ دەکاتەوە: پشتگیریی ڕایەڵە — 1 تا 3، ڕەقەواڵە و نەرمەواڵە؛ دراوە لە ئامێرەوە بۆ ئامێر دەگوازنەوە. وێنەی ڕێدۆزێک لە چەپ: ڕێدۆزەکانی سەر ڕێگا تەنیا چینەکانی 1 تا 3 بەکار دەهێنن.
User support on top, network support below, and the transport layer in between.پشتگیریی بەکارهێنەر لە سەرەوە، پشتگیریی لە خوارەوە و لە نێوانیاندا.CêIT

Layer to layer: peers and interfacesچین بۆ چین: تاکەکان و نێوبەستەکان

Inside one machine, each layer calls on the services of the layer just below it: layer 3 uses layer 2 and serves layer 4. Between two machines, layer x on one side communicates with layer x on the other side, following the agreed rules of that layer — its protocol. The processes that talk at the same layer on the two machines are called peer-to-peer processes: peers, because they are equals doing the same job.

لە ناو یەک ئامێردا هەر چینێک داوای خزمەتگوزاری لە چینی ڕاستەوخۆ ژێر خۆی دەکات: چینی 3 چینی 2 بەکار دەهێنێت و خزمەت بە چینی 4 دەکات. لە نێوان دوو ئامێردا چینی x لە لایەکەوە لەگەڵ چینی x لە لاکەی ترەوە پەیوەندی دەکات و پەیڕەوی یاسا ڕێککەوتووەکانی ئەو چینە دەکات — واتە . ئەو لە هەمان چیندا لەسەر دوو ئامێرەکە قسە دەکەن پێیان دەگوترێت بۆ : ، چونکە یەکسانن و هەمان کار دەکەن.

Between each pair of neighbouring layers there is an interface. It defines what information and services a layer must give to the layer above it. Messages go down through the interfaces of the sender and up through the interfaces of the receiver. On the way, the intermediary devices — routers, for example — usually use only the first three layers.

لە نێوان هەر دوو چینێکی دراوسێدا هەیە. دیاری دەکات چینێک دەبێت چ زانیاری و خزمەتگوزارییەک بداتە چینی سەرەوەی خۆی. نامەکان لە نێرەردا بە دادەبەزن و لە وەرگردا بە سەردەکەون. لە ڕێگادا — بۆ نموونە — زۆرجار تەنیا سێ چینی یەکەم بەکار دەهێنن.

Device A, the sender, and device B, the receiver, each show all seven layers; dots on A's left edge mark the interfaces between neighbouring layers. Two intermediate nodes in the middle have only layers 3, 2 and 1. Dashed two-way arrows join A and B directly at layers 7, 6, 5 and 4: peer to peer. At layers 3 and 2 the dashed arrows go hop by hop through the intermediate nodes. A solid line joins all the physical layers along the bottom: physical communication, signals on cables or radio.ئامێری A (نێرەر) و ئامێری B (وەرگر) هەریەکەیان هەموو حەوت چینەکە پیشان دەدەن؛ خاڵەکان لەسەر لێواری چەپی A نێوبەستەکانی نێوان چینە دراوسێکان نیشان دەدەن. دوو نۆدی ڕایەڵەی نێوەند لە ناوەڕاستدا تەنیا چینەکانی 3، 2 و 1یان هەیە. تیری پچڕپچڕی دوولایەنە A و B ڕاستەوخۆ لە چینەکانی 7، 6، 5 و 4دا پێکەوە دەبەستن: تاک بۆ تاک. لە چینەکانی 3 و 2دا تیرە پچڕپچڕەکان باز بە باز بە نۆدەکانی ڕایەڵەدا دەڕۆن. هێڵێکی پڕ لە خوارەوە هەموو چینە فیزیکییەکان پێکەوە دەبەستێت: پەیوەندیی فیزیکی، سیگناڵەکان لەسەر کێبڵ یان ڕادیۆ.
Peers talk at the same layer; only layer 1 touches the wire. Intermediate nodes use layers 1–3. لە هەمان چیندا قسە دەکەن؛ تەنیا چینی 1 دەگاتە هێڵەکە. نێوەند چینەکانی 1 تا 3 بەکار دەهێنن.CêIT

Layer to layer: peers and interfacesچین بۆ چین: تاکەکان و نێوبەستەکان

Service, interface, protocolخزمەتگوزاری، نێوبەستە، پرۆتۆکۆڵ

Three words describe every layer exactly. Think of the counter of a post office:

سێ وشە هەموو چینێک بە وردی وەسف دەکەن. بیر لە پەنجەرەی پۆستەخانەیەک بکەرەوە:

WordوشەWhat it meansواتاکەیAt the post-office counterلە پەنجەرەی پۆستەخانەدا
Serviceخزمەتگوزاریwhat the layer does for the layer above — not howچی بۆ چینی سەرەوە دەکات — نەک چۆن“We deliver letters inside Kurdistan in two days.”«نامە لە ناو کوردستاندا لە دوو ڕۆژدا دەگەیەنین.»
Interfacehow the layer above asks for the service: what it gives and what result it gets backچینی سەرەوە چۆن داوای خزمەتگوزارییەکە دەکات: چی دەدات و چ ئەنجامێک وەردەگرێتەوەthe form you fill in: name, address, weight — and the receipt you getئەو فۆرمەی پڕی دەکەیتەوە: ناو، ناونیشان، کێش — و ئەو پسوولەیەی وەریدەگریت
Protocolhow the layer talks to its peer on the other side to give the serviceچینەکە چۆن لەگەڵ لە لاکەی تر قسە دەکات بۆ پێشکەشکردنی خزمەتگوزارییەکەthe rules between post offices: bag labels, postcodes, routesیاساکانی نێوان پۆستەخانەکان: لیبڵی جانتا، کۆدی پۆستە، ڕێگاکان

Because the three are kept apart, a layer can change how it works — its protocol — and the layer above does not notice, as long as the service and the interface stay the same.

چونکە ئەم سێیە جیا ڕاگیراون، چینێک دەتوانێت چۆنییەتیی کارکردنی خۆی — — بگۆڕێت بەبێ ئەوەی چینی سەرەوە هەست بکات، بە مەرجێک خزمەتگوزارییەکە و وەک خۆیان بمێننەوە.

Layer to layer: peers and interfacesچین بۆ چین: تاکەکان و نێوبەستەکان

Down, across and upخوارەوە، بە ناودا، سەرەوە

When Aram sends a photo from his phone, the data goes down the seven layers of the phone, from layer 7 to layer 1, across the medium as bits, and up the seven layers of Hana's laptop, from layer 1 to layer 7. On the way down, layers add their own control information: a header at the front — in the OSI model from layer 6 down to layer 2, and many applications add one too — and at layer 2 usually also a trailer at the end. Layer 1 turns the whole package into signals. On the way up, each layer reads and removes the part meant for it and passes the rest up.

کاتێک ئارام وێنەیەک لە مۆبایلەکەیەوە دەنێرێت، بە حەوت چینەکەی مۆبایلەکەدا دادەبەزێت، لە چینی 7ـەوە تا چینی 1، وەک بە ناو دەڕوات و بە حەوت چینەکەی هانادا سەردەکەوێت، لە چینی 1ـەوە تا چینی 7. لە کاتی دابەزیندا چینەکان زانیاریی کۆنترۆڵی خۆیان زیاد دەکەن: سەردێڕێک لە پێشەوە — لە لە چینی 6ـەوە تا چینی 2، زۆر یەکێک زیاد دەکەن — و لە چینی 2دا زۆرجار لە کۆتاییدا. چینی 1 هەموو بارەکە دەکاتە . لە کاتی سەرکەوتندا هەر چینێک ئەو بەشەی بۆ خۆیەتی دەیخوێنێتەوە و لای دەبات و ئەوەی دەمێنێتەوە دەیداتە سەرەوە.

Animation in nine steps. Two seven-layer stacks: Aram's phone in Sulaymaniyah on the left and Hana's laptop in Duhok on the right, joined at the bottom by the medium. A photo starts at layer 7 of the phone. Layers 7, 6 and 5 set the format and open a session. Layer 4 adds header H4, layer 3 adds H3 (the packet), layer 2 adds H2 and the trailer T2 (the frame). Layer 1 sends the frame as bits, 0110 1011 …, along the medium. In Duhok, layer 2 checks the frame and removes H2 and T2; layers 3 and 4 remove H3 and H4. Hana sees the photo: down the layers, across the wire, up the layers.
Animation in nine steps. Two seven-layer stacks: Aram's phone in Sulaymaniyah on the left and Hana's laptop in Duhok on the right, joined at the bottom by the medium. A photo starts at layer 7 of the phone. Layers 7, 6 and 5 set the format and open a session. Layer 4 adds header H4, layer 3 adds H3 (the packet), layer 2 adds H2 and the trailer T2 (the frame). Layer 1 sends the frame as bits, 0110 1011 …, along the medium. In Duhok, layer 2 checks the frame and removes H2 and T2; layers 3 and 4 remove H3 and H4. Hana sees the photo: down the layers, across the wire, up the layers.
A photo from Sulaymaniyah to Duhok: headers are added on the way down and removed on the way up.وێنەیەک لە سلێمانییەوە بۆ دهۆک: سەردێڕەکان لە کاتی دابەزیندا زیاد دەکرێن و لە کاتی سەرکەوتندا لادەبرێن.CêIT

This wrapping is called encapsulation. The full story, with real headers and the name of each unit, is in Encapsulation, PDUs and Addresses at Each Layer.

ئەم کارە پێی دەگوترێت . هەموو چیرۆکەکە، بە سەردێڕی ڕاستەقینە و ناوی هەر یەکەیەکەوە، لە وانەی پێچانەوە، یەکەکانی دراوەی پرۆتۆکۆڵ و ناونیشانەکان لە هەر چینێکدا هەیە.

The post office: seven countersپۆستەخانە: حەوت پەنجەرە

Picture the OSI model as a post office with seven counters, one above the other. Aram sends a 20-page letter from Sulaymaniyah to Hana in Duhok, and each counter does one job for the counter above it.

وەک پۆستەخانەیەک بهێنە پێش چاوت کە حەوت پەنجەرەی هەیە، یەک لە سەر یەک. ئارام نامەیەکی ⁦20⁩ لاپەڕەیی لە سلێمانییەوە بۆ هانا لە دهۆک دەنێرێت و هەر پەنجەرەیەک کارێک بۆ پەنجەرەکەی سەرووی خۆی دەکات.

Seven countersحەوت پەنجەرە

7 Application: Aram writes the letter. 6 Presentation: it is put into a language Hana can read. 5 Session: first make sure that Hana is there to receive it. 4 Transport: the pages are numbered and sent one per envelope, like registered mail: delivery is tracked, and a lost or damaged page is sent again. 3 Network: the sorting centre reads the postcode, “Duhok 42001”, and sends each envelope on towards Duhok. 2 Data link: each local office decides which van carries the bag on the next stretch. 1 Physical: vans and roads really carry the paper.

7 : ئارام نامەکە دەنووسێت. 6 : دەکرێتە ئەو زمانەی هانا دەتوانێت بیخوێنێتەوە. 5 : سەرەتا دڵنیا دەبنەوە کە هانا هەیە تا وەری بگرێت. 4 : لاپەڕەکان ژمارە دەکرێن و هەریەکە لە زەرفێکدا دەنێردرێت، وەک پۆستی تۆمارکراو: گەیاندنەکە بەدواداچوونی بۆ دەکرێت و لاپەڕەیەکی ونبوو یان تێکچوو دووپاتە دەنێردرێتەوە. 3 : ناوەندی جیاکردنەوە کۆدی پۆستە («دهۆک ⁦42001⁩») دەخوێنێتەوە و هەر زەرفێک بەرەو دهۆک دەنێرێت. 2 : هەر پۆستەخانەیەکی ناوچە بڕیار دەدات کام ئۆتۆمبێل جانتاکە بۆ پارچە ڕێگای دواتر دەبات. 1 : ئۆتۆمبێل و ڕێگاکان بە ڕاستی کاغەزەکە دەگوازنەوە.

Where the analogy stops workingسنووری ئەم نموونەیە

In a real network all seven “counters” are inside each device and work in microseconds; nothing waits in a queue for a clerk. And a network can send to many receivers at once, not only to one address.

لە ڕاستەقینەدا هەموو حەوت «پەنجەرە»کە لە ناو هەر ئامێرێکدان و لە چەند مایکرۆچرکەیەکدا کار دەکەن؛ هیچ شتێک لە ڕیزدا چاوەڕێی فەرمانبەرێک ناکات. هەروەها دەتوانێت لە یەک کاتدا بۆ چەندین وەرگر بنێرێت، نەک تەنیا بۆ یەک ناونیشان.

A long letter from Sulaymaniyah to Duhok, layer by layer. Seven rows, each a layer with its job at a post office: 7 application — Aram writes a 20-page letter to Hana; 6 presentation — it is put into words Hana can read; 5 session — first check: is Hana there to receive it?; 4 transport — pages numbered, one per envelope, a lost one is sent again; 3 network — the sorting centre reads “Duhok 42001” and picks the route; 2 data link — each local office loads the bag onto the next van; 1 physical — vans and roads really carry the paper. An envelope at the top and a van at the bottom.نامەیەکی درێژ لە سلێمانییەوە بۆ دهۆک، چین بە چین. حەوت ڕیز، هەریەکە چینێک و کارەکەی لە پۆستەخانەدا: 7 چینی ئەپ — ئارام نامەیەکی 20 لاپەڕەیی بۆ هانا دەنووسێت؛ 6 چینی پێشکەشکردن — دەکرێتە ئەو زمانەی هانا دەتوانێت بیخوێنێتەوە؛ 5 چینی سێشن — سەرەتا دڵنیابوونەوە: ئایا هانا هەیە تا وەری بگرێت؟؛ 4 چینی گواستنەوە — لاپەڕەکان ژمارە دەکرێن، هەریەکە لە زەرفێکدا، ونبوو دووپاتە دەنێردرێتەوە؛ 3 چینی ڕایەڵە — ناوەندی جیاکردنەوە «دهۆک 42001» دەخوێنێتەوە و ڕێگاکە هەڵدەبژێرێت؛ 2 چینی بەستەری دراوە — هەر پۆستەخانەیەکی ناوچە جانتاکە دەخاتە سەر ئۆتۆمبێلی دواتر؛ 1 چینی فیزیکی — ئۆتۆمبێل و ڕێگاکان بە ڕاستی کاغەزەکە دەگوازنەوە. زەرفێک لە سەرەوە و ئۆتۆمبێلێک لە خوارەوە.
The letter goes down the counters in Sulaymaniyah and up again in Duhok.نامەکە لە سلێمانی بە پەنجەرەکاندا دادەبەزێت و لە دهۆک دووپاتە سەردەکەوێتەوە.CêIT

Why learn OSI in 2026?بۆچی لە ⁦2026⁩دا OSI فێر ببین؟

The Internet does not run on OSI's own protocols — they were never widely used. It runs on TCP/IP. So some people call OSI obsolete, that is, out of date. Yet networking books, certifications such as CCNA and Network+, and engineers keep using its layer numbers, because they are a shared language for talking about networks: which protocols and devices can work together, how vendors' products compare, and where a problem lies. A company sells “a layer 3 switch” or “a layer 7 firewall”; a technician says “it's a layer 1 problem” when a cable is loose.

لەسەر تایبەتەکانی OSI کار ناکات — ئەوانە هەرگیز بە بەرفراوانی بەکار نەهێنران. لەسەر ⁦TCP/IP⁩ کار دەکات. بۆیە هەندێک کەس OSI بە بەسەرچوو ناو دەبەن، واتە کۆن و لەکارکەوتوو. بەڵام کتێبەکانی ، بڕوانامەکانی وەک CCNA و ⁦Network+⁩ و ئەندازیاران بەردەوام ژمارەی چینەکانی بەکار دەهێنن، چونکە زمانێکی هاوبەشن بۆ قسەکردن لەبارەی : کام و ئامێر دەتوانن پێکەوە کار بکەن، بەرهەمی کۆمپانیاکان چۆن بەراورد دەکرێن و کێشەیەک لە کوێیە. کۆمپانیایەک «» یان « چینی 7» دەفرۆشێت؛ تەکنیککارێک کاتێک کێبڵێک شلە دەڵێت «کێشەکە لە چینی 1دایە».

Engineers still talk in OSI layers. Five rows, each a layer, a question to ask and a common phrase: 7 application — does the website itself answer? — “a layer 7 firewall”; 4 transport — is the right port open? — “a layer 4 load balancer”; 3 network — do I have an IP address, can I reach the router? — “a layer 3 switch”; 2 data link — does the switch see my device? — “a layer 2 switch”; 1 physical — is the cable plugged in, is Wi-Fi on? — “a layer 1 problem”. Bottom: check from layer 1 up; a loose cable breaks everything above it.ئەندازیارەکان هێشتا بە چینەکانی OSI قسە دەکەن. پێنج ڕیز، هەریەکە چینێک، پرسیارێک بۆ کردن و دەستەواژەیەکی باو: 7 چینی ئەپ — ئایا خودی تۆڕگەکە وەڵام دەداتەوە؟ — «ئاگرەدیوارێکی چینی 7»؛ 4 چینی گواستنەوە — ئایا پۆرتە دروستەکە کراوەیە؟ — «هاوسەنگکەری بارێکی چینی 4»؛ 3 چینی ڕایەڵە — ئایا ناونیشانێکی IPـم هەیە، دەگەمە ڕێدۆزەکە؟ — «سویچێکی چینی 3»؛ 2 چینی بەستەری دراوە — ئایا سویچەکە ئامێرەکەم دەبینێت؟ — «سویچێکی چینی 2»؛ 1 چینی فیزیکی — ئایا کێبڵەکە بەستراوە، وای‌فای داگیرساوە؟ — «کێشەیەکی چینی 1». لە خوارەوە: لە چینی 1ـەوە بپشکنە؛ کێبڵێکی شل هەموو ئەوەی سەرووی تێک دەدات.
Layer numbers are a shared language for describing products and problems.ژمارەی چینەکان زمانێکی هاوبەشن بۆ وەسفکردنی بەرهەم و کێشەکان.CêIT

Who writes the rules?کێ یاساکان دەنووسێت؟

Protocols only work if everyone builds them the same way, so they are written down as standards by standards organisations:

تەنیا کاتێک کار دەکەن کە هەمووان بە هەمان شێوە دروستیان بکەن، بۆیە وەک لەلایەن دەنووسرێنەوە:

  • ISO, the International Organization for Standardization, wrote the OSI model: ISO/IEC 7498-1.
  • ITU-T, the standards arm of the International Telecommunication Union, publishes the same model as X.200, and many telecom standards.
  • IETF, the Internet Engineering Task Force, writes the Internet's protocols — IP, TCP, HTTP and more — and publishes them free as numbered RFCs; anyone can take part.
  • IEEE writes the standards of layers 1 and 2 for local networks: IEEE 802.3 (Ethernet) and IEEE 802.11 (Wi-Fi).
  • ، ڕێکخراوی نێودەوڵەتیی ستانداردکردن، نووسی: ⁦ISO/IEC 7498-1⁩.
  • ⁦ITU-T⁩، بەشی یەکێتیی نێودەوڵەتیی پەیوەندییە دوورەکان ()، هەمان مۆدێل وەک ⁦X.200⁩ بڵاو دەکاتەوە، لەگەڵ زۆر پەیوەندی.
  • ، دەستەی ئەندازیاریی ، دەنووسێت — IP، TCP، HTTP و زۆری تر — و بە بێبەرانبەر وەک ـی ژمارەدار بڵاویان دەکاتەوە؛ هەر کەسێک دەتوانێت بەشداری بکات.
  • چینەکانی 1 و 2 بۆ دەنووسێت: ⁦IEEE 802.3 (Ethernet)⁩ و ⁦IEEE 802.11⁩ ().
Who writes the rules? The seven-layer stack in the middle. On the left, ISO — the OSI model itself, ISO/IEC 7498-1 — and ITU-T — the same model as X.200, telephone and telecom networks — both bracketing all seven layers. On the right, IETF — Internet protocols in RFCs; IP, TCP, HTTP: layers 3 to 7; RFC 791, 9293, 9110 — and IEEE — Ethernet and Wi-Fi, layers 1 to 2, IEEE 802.3, 802.11. Bottom: the model is ISO's; the protocols we really use come from the IETF and the IEEE.کێ یاساکان دەنووسێت؟ ستوونی حەوت چینەکە لە ناوەڕاستدا. لە چەپ، ISO — خودی مۆدێلی OSI، ISO/IEC 7498-1 — و ITU-T — هەمان مۆدێل بە ناوی X.200، ڕایەڵەکانی تەلەفۆن و پەیوەندی — هەردووکیان هەموو حەوت چینەکە دەگرنەوە. لە ڕاست، IETF — پرۆتۆکۆڵەکانی ئینتەرنێت لە RFCـەکاندا؛ IP، TCP، HTTP: چینەکانی 3 تا 7؛ RFC 791، 9293، 9110 — و IEEE — Ethernet و وای‌فای، چینەکانی 1 تا 2، IEEE 802.3، 802.11. لە خوارەوە: مۆدێلەکە هی ISOـیە؛ ئەو پرۆتۆکۆڵانەی بە ڕاستی بەکاریان دەهێنین هی IETF و IEEEـن.
The model comes from ISO; the protocols of the Internet come from the IETF and the IEEE.مۆدێلەکە هی ISOـیە؛ هی IETF و IEEEـن.CêIT

RFC 1122 (1989) describes the Internet with four layers — application, transport, internet and link — and its application layer does the work of OSI's top layers. The two models are compared in The TCP/IP Model.

⁦RFC 1122 (1989)⁩ بە چوار چین وەسف دەکات — ، ، چینی و چینی بەستەر — و کاری چینەکانی سەرەوەی OSI دەکات. دوو مۆدێلەکە لە وانەی مۆدێلی TCP/IP بەراورد کراون.

Common mistakesهەڵە باوەکان

  • ISO or OSI? ISO is the organisation; OSI is its model.
  • Swapping layers 3 and 4. Transport (4) sits above network (3): “Seem To Need” — Session, Transport, Network.
  • Thinking the Internet runs on OSI's protocols. It runs on TCP/IP; OSI is the map that we use to describe it.
  • Thinking routers use all seven layers. Routers on the way use layers 1–3; layers 4–7 work only in the two end hosts.
  • Saying the receiver adds the headers. The sender adds them on the way down; the receiver removes them on the way up.
  • Calling a memory aid a standard. “Please Do Not Throw Sausage Pizza Away” only helps you remember; any sentence will do.
  • Looking for a session or presentation layer in TCP/IP. There is none: applications and TLS do those jobs.
  • ISO یان OSI؟ ISO ڕێکخراوەکەیە؛ OSI مۆدێلەکەیەتی.
  • ئاڵوگۆڕکردنی چینەکانی 3 و 4. ⁦(4)⁩ لە سەرووی ⁦(3)⁩: «Seem To Need» — Session، Transport، Network.
  • وا بزانیت لەسەر OSI کار دەکات. لەسەر ⁦TCP/IP⁩ کار دەکات؛ OSI ئەو نەخشەیەیە کە بۆ وەسفکردنی بەکاری دەهێنین.
  • وا بزانیت هەموو حەوت چینەکە بەکار دەهێنن. سەر ڕێگا چینەکانی 1 تا 3 بەکار دەهێنن؛ چینەکانی 4 تا 7 تەنیا لە دوو سەرەتا و کۆتاییدا کار دەکەن.
  • وتنی ئەوەی کە وەرگر سەردێڕەکان زیاد دەکات. نێرەر لە کاتی دابەزیندا زیادیان دەکات؛ وەرگر لە کاتی سەرکەوتندا لایان دەبات.
  • ناونانی ڕێگەیەکی لەبەرکردن بە . «Please Do Not Throw Sausage Pizza Away» تەنیا یارمەتیت دەدات لە بیرت بمێنێت؛ هەر ڕستەیەکی تر دەبێت.
  • گەڕان بەدوای یان لە ⁦TCP/IP⁩ـدا. نییە: و ئەو کارانە دەکەن.

Exercisesڕاهێنانەکان

ExerciseڕاهێنانThe seven layersحەوت چینەکە

Write the seven OSI layers in order, from 7 down to 1. Then give the unit of data (PDU) of layers 4, 3, 2 and 1.

حەوت چینەکەی OSI بە ڕیز بنووسە، لە 7ـەوە تا 1. پاشان یەکەی ()ی چینەکانی 4، 3، 2 و 1 بنووسە.

Show answerوەڵامەکە پیشان بدە
  • 7 application, 6 presentation, 5 session, 4 transport, 3 network, 2 data link, 1 physical.
  • Units: layer 4 segment, layer 3 packet, layer 2 frame, layer 1 bits. Layers 5–7 simply call it data.
  • 7 ، 6 ، 5 ، 4 ، 3 ، 2 ، 1 .
  • یەکەکان: چینی 4 ، چینی 3 ، چینی 2 ، چینی 1 . چینەکانی 5 تا 7 تەنیا پێی دەڵێن .
ExerciseڕاهێنانA chat message, counter by counterنامەیەکی چات، پەنجەرە بە پەنجەرە

Karwan in Erbil sends a chat message with a photo to Lana in Duhok. Using the post-office picture, write one line for each of the seven layers: what happens there?

کاروان لە هەولێرەوە نامەیەکی چات لەگەڵ وێنەیەک بۆ لانا لە دهۆک دەنێرێت. بە یارمەتیی وێنەی پۆستەخانەکە، بۆ هەر یەکێک لە حەوت چینەکە دێڕێک بنووسە: لەوێ چی ڕوو دەدات؟

Show answerوەڵامەکە پیشان بدە
  1. 7 Application7 چینی ئەپ

    The chat app takes the text and the photo Karwan wants to send.

    چاتەکە ئەو دەق و وێنەیە وەردەگرێت کە کاروان دەیەوێت بینێرێت.

  2. 6 Presentation6 چینی پێشکەشکردن

    The text is coded as UTF-8 so Kurdish letters arrive intact; the photo is compressed and the message is encrypted.

    دەقەکە بە ⁦UTF-8⁩ کۆد دەکرێت تا پیتە کوردییەکان ساغ بگەن؛ وێنەکە دەپەستێنرێت و نامەکە بە دەپارێزرێت.

  3. 5 Session5 چینی سێشن

    The conversation with the chat server is opened (or kept open) and managed.

    گفتوگۆ لەگەڵ چاتەکە دەکرێتەوە (یان کراوە دەهێڵرێتەوە) و بەڕێوە دەبرێت.

  4. 4 Transport4 چینی گواستنەوە

    The data is cut into numbered segments; lost ones are sent again.

    دەکرێتە چەند ژمارەدار؛ ونبووەکان دووپاتە دەنێردرێنەوە.

  5. 3 Network3 چینی ڕایەڵە

    Each packet gets the IP addresses of both ends, and routers choose the path.

    هەر هەردوو سەر وەردەگرێت و ڕێگاکە هەڵدەبژێرن.

  6. 2 Data link2 چینی بەستەری دراوە

    On every hop the packet travels in a frame, from one MAC address to the next.

    لە هەر لە ناو دەڕوات، لە بۆ ئەوی دواتر.

  7. 1 Physical1 چینی فیزیکی

    The bits travel as radio waves (Wi-Fi, 4G) and as light in fibre.

    وەک (، ⁦4G⁩) و وەک ڕووناکی لە فایبەردا دەڕۆن.

ExerciseڕاهێنانService, interface, protocol at a cash machineخزمەتگوزاری، نێوبەستە، پرۆتۆکۆڵ لە ئامێری پارەدا

Use a bank's cash machine (ATM) to explain the three words service, interface and protocol.

ئامێری پارەی بانکێک ⁦(ATM)⁩ بەکار بهێنە بۆ ڕوونکردنەوەی سێ وشەکە: خزمەتگوزاری، و .

Show answerوەڵامەکە پیشان بدە
  • Service: you can take out money from your account.
  • Interface: what you use to ask for it — the card, the PIN, the buttons and the screen — and what you get back: notes and a receipt.
  • Protocol: the rules by which the machine talks to the bank's computer to check your account — you never see them, and the bank can change them without changing the buttons.
  • خزمەتگوزاری: دەتوانیت پارە لە حسابەکەت دەربهێنیت.
  • : ئەوەی بۆ داواکردنی بەکاری دەهێنیت — کارت، PIN، دوگمەکان و شاشەکە — و ئەوەی وەریدەگریتەوە: پارە و پسوولە.
  • : ئەو یاسایانەی ئامێرەکە پێیان لەگەڵ بانکەکە قسە دەکات بۆ پشکنینی حسابەکەت — هەرگیز نایانبینیت و بانکەکە دەتوانێت بیانگۆڕێت بەبێ گۆڕینی دوگمەکان.
Review questionsپرسیارەکانی پێداچوونەوە
OSI stands for ___.OSI کورتکراوەی ⁦___⁩ـە.

Open Systems Interconnection.

Open Systems Interconnection، واتە بەیەکەوەبەستنی سیستەمە کراوەکان.

How many layers does the OSI reference model have?مۆدێلی پێوەری OSI چەند چینی هەیە؟

Seven.

حەوت.

Data goes from device A to device B. Which is the fifth layer to receive it at B?دراوە لە ئامێری Aـەوە دەچێت بۆ ئامێری B. پێنجەم چین کە لە B وەری دەگرێت کامەیە؟

The session layer (1, 2, 3, 4, then 5).

(⁦1⁩، 2، 3، 4، پاشان ⁦5⁩).

Which layer links the network support layers and the user support layers?کام چین چینەکانی پشتگیریی ڕایەڵە و پشتگیریی بەکارهێنەر پێکەوە دەبەستێت؟

The transport layer (layer 4).

(چینی ⁦4⁩).

Which layers do the intermediate nodes on a path usually use?نۆدەکانی ڕایەڵەی نێوەندی سەر ڕێگا زۆرجار کام چینانە بەکار دەهێنن؟

Only the first three: physical, data link and network.

تەنیا سێ چینی یەکەم: ، و .

Is OSI a protocol suite that runs the Internet?ئایا OSI کۆمەڵە پرۆتۆکۆڵێکە کە ئینتەرنێت بەڕێوە دەبات؟

No. It is a reference model; the Internet runs on the TCP/IP suite.

نەخێر. ؛ لەسەر کۆمەڵەی ⁦TCP/IP⁩ کار دەکات.

Summaryپوختە

  • A protocol is an agreed set of rules for exchanging information; both sides must use the same one.
  • Complex communication is divided into layers, each with its own protocol; each layer uses the one below and serves the one above.
  • A reference model says what must be done; a network architecture such as TCP/IP is the real set of layers and protocols.
  • The OSI model (ISO, 1984; ISO/IEC 7498-1, ITU-T X.200) has seven layers: application, presentation, session, transport, network, data link, physical.
  • Layers 1–3 support the network, layers 5–7 support the user, and layer 4 joins them; routers use only layers 1–3.
  • Peers talk at the same layer through the layers below; interfaces join neighbouring layers; headers are added going down and removed going up.
  • ISO, ITU-T, the IETF (RFCs) and the IEEE write the standards; TCP/IP has no separate session or presentation layer.
  • کۆمەڵە یاسایەکی ڕێککەوتووە بۆ ئاڵوگۆڕکردنی زانیاری؛ هەردوو لا دەبێت هەمان بەکار بهێنن.
  • پەیوەندیی ئاڵۆز دابەش دەکرێت بۆ چەند چینێک، هەریەکە بە خۆی؛ هەر چینێک چینی خوارەوە بەکار دەهێنێت و خزمەت بە چینی سەرەوە دەکات.
  • دەڵێت چی دەبێت بکرێت؛ تەلارسازییەکی وەک ⁦TCP/IP⁩ کۆمەڵە چین و ڕاستەقینەکەیە.
  • (ISO، ⁦1984⁩؛ ⁦ISO/IEC 7498-1⁩، ⁦ITU-T X.200⁩) حەوت چینی هەیە: ، ، ، ، ، و .
  • چینەکانی 1 تا 3 پشتگیریی دەکەن، چینەکانی 5 تا 7 پشتگیریی بەکارهێنەر دەکەن و چینی 4 پێکیانەوە دەبەستێت؛ تەنیا چینەکانی 1 تا 3 بەکار دەهێنن.
  • لە هەمان چیندا لە ڕێگەی چینەکانی خوارەوە قسە دەکەن؛ چینە دراوسێکان پێکەوە دەبەستن؛ سەردێڕەکان لە دابەزیندا زیاد دەکرێن و لە سەرکەوتندا لادەبرێن.
  • ISO، ⁦ITU-T⁩، ⁦(RFC)⁩ و دەنووسن؛ ⁦TCP/IP⁩ و جیای نییە.

Lesson complete!وانەکە تەواو بوو!

Well done. Review the key terms, then go on to the next lesson.دەستخۆش. سەیرێکی زاراوە سەرەکییەکان بکەرەوە، پاشان بڕۆ بۆ وانەی داهاتوو.

Key termsزاراوە سەرەکییەکان

Next lessonوانەی داهاتوو

OSI Layers 1–3: Physical, Data Link and Networkچینەکانی 1 تا 3ی OSI: چینی فیزیکی، چینی بەستەری دراوە و چینی ڕایەڵە

References and further readingسەرچاوەکان و خوێندنەوەی زیاتر

This lecture is a first edition. The Kurdish text and terminology are waiting for review by Kurdish IT teachers.ئەم وانەیە چاپی یەکەمە. دەقە کوردییەکە و زاراوەکانی چاوەڕێی پێداچوونەوەی مامۆستایانی کوردی بواری IT ن.

Appearanceڕووکار

Modeدۆخ
Styleشێواز
Coloursڕەنگەکان

Saved on this device only.تەنیا لەسەر ئەم ئامێرە پاشەکەوت دەکرێت.