Chapterبەش 4 · Lectureوانە 4.4

Collision Domains and Broadcast Domainsپاوانەکانی پێکدادان و پاوانەکانی پەخش

Two questions decide how a LAN behaves: whose frames can crash into mine, and who hears my broadcasts? A collision domain is the part of a network where two senders at once collide; a broadcast domain is every device that receives a broadcast, such as an ARP question or a DHCP Discover. Hubs and repeaters extend both; switches and bridges give every port its own collision domain but pass broadcasts on; routers stop broadcasts, so every router interface is its own broadcast domain; VLANs split one switch into several. With network segments, the history from hubs to switches and two counting exercises.

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

21 min read22 خولەک خوێندنەوە · 18 stepsهەنگاو

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

  • Explain what a collision domain and a broadcast domain are, and why collisions happen only on shared, half-duplex links.
  • Describe broadcast messages — FF:FF:FF:FF:FF:FF and 255.255.255.255 — and name the protocols that need them.
  • Say how hubs and repeaters, bridges and switches, routers and VLANs change the two domains.
  • Count the collision domains and broadcast domains in a network diagram.
  • ڕوونی بکەیتەوە و چین و بۆچی تەنیا لەسەر بەستەری هاوبەشی ڕوو دەدات.
  • پەیامی وەسف بکەیت — ⁦FF:FF:FF:FF:FF:FF⁩ و ⁦255.255.255.255⁩ — و ئەو ناو ببەیت کە پێویستیان پێیەتی.
  • بڵێیت و ، و ، هەروەها و چۆن ئەم دوو پاوانە دەگۆڕن.
  • و لە بژمێریت.

Who hears whom? Two kinds of domainکێ گوێی لە کێ دەبێت؟ دوو جۆر پاوان

This lesson closes the devices chapter with two questions you can ask about any LAN. First: if two devices send at the same moment, do their signals crash? The part of the network where that can happen is a collision domain. Second: when one device sends a message to everyone, who receives it? That part is a broadcast domain. Hubs, switches and routers each change these areas in their own way (Repeaters and Hubs, Bridges and Switches, Modems and Routers).

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

Why domain? In English a domain is an area that belongs to someone. The Kurdish names use «پاوان», a protected, fenced-in area — a good picture: what happens inside a collision domain or a broadcast domain stays inside it.

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

A school in Sulaymaniyahقوتابخانەیەک لە سلێمانی

In one classroom, if two pupils speak at the same moment, nobody understands either of them: they must take turns. One classroom is like a collision domain. When the head teacher speaks through the loudspeaker, every classroom in the building hears it — but the school next door does not. The building is like a broadcast domain, and its outer wall is like a router.

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

A school building in a purple frame labelled ‘the whole building hears the loudspeaker = broadcast domain’. A loudspeaker sends dashed arrows into classes 1, 2 and 3. In class 1 two pupils speak at once and their speech bubbles crash: ‘one classroom = collision domain’; in class 2 they speak one at a time. A wall separates the building from the next school, which hears nothing: ‘wall = router’.باڵەخانەی قوتابخانەیەک لە چوارچێوەیەکی مۆری ‘هەموو باڵەخانەکە گوێی لە بڵندگۆکە دەبێت = پاوانی پەخش’. بڵندگۆیەک تیری پچڕپچڕ دەنێرێتە پۆلی 1، 2 و 3. لە پۆلی 1دا دوو قوتابی پێکەوە قسە دەکەن و قسەکانیان بەریەک دەکەون: ‘یەک پۆل = پاوانی پێکدادان’؛ لە پۆلی 2دا بە نۆرە قسە دەکەن. دیوارێک باڵەخانەکە لە قوتابخانەی تەنیشت جیا دەکاتەوە کە هیچ نابیستێت: ‘دیوار = ڕێدۆز’.
One room where only one may speak; one building that hears every announcement.یەک ژوور کە تەنیا یەک کەس دەتوانێت قسە بکات؛ یەک باڵەخانە کە هەموو ڕاگەیاندنێک دەبیستێت.CêIT
Where the analogy stops workingسنووری ئەم نموونەیە

In a modern switched network collisions have disappeared — every ‘pupil’ has a private line to the switch — while broadcasts are still sent on purpose, for example to find an address.

لە نوێی سویچداردا نەماوە — هەر ‘قوتابییەک’ هێڵی تایبەتی خۆی بۆ هەیە — بەڵام هێشتا بە ئەنقەست دەنێردرێت، بۆ نموونە بۆ دۆزینەوەی ناونیشانێک.

Collision domain: where frames can crashپاوانی پێکدادان: لە کوێ فرەیمەکان پێکدا دەدەن

A collision domain is the part of a network in which a collision can happen: two devices send at the same moment, their signals meet on the shared cable, and both frames are destroyed. Every device in the domain must notice every frame — even frames that are not for it — and wait until the cable is quiet. After a collision both senders stop and send again, at different times: the CSMA/CD rules of shared Ethernet (Ethernet: From 10Base-2 to 800 Gigabit).

ئەو بەشەی کە تێیدا ڕوو دەدات: دوو ئامێر لە هەمان ساتدا دەنێرن، لەسەر کێبڵە هاوبەشەکە بەیەک دەگەن و هەردوو لەناو دەچن. هەموو ئامێرێکی ناو ئەم پاوانە دەبێت ئاگای لە هەموو بێت — تەنانەت ئەوانەی بۆ ئەو نین — و چاوەڕێ بکات تا کێبڵەکە بێدەنگ دەبێت. دوای ، هەردوو نێرەر دەوەستن و لە دوو کاتی جیاوازدا دووپاتە دەنێرنەوە: یاساکانی هاوبەش (Ethernet: لە ⁦10Base-2⁩ـەوە بۆ ⁦800⁩ گیگابیت).

Collisions are possible only in half duplex, where a device either sends or receives over a cable it shares. That is why they happened on hubs and old coaxial cables, but not on the full-duplex ports of switches and routers. A modern switch port is full duplex: one wire pair for each direction and only two devices on the link. If PC A sends to PC B through a switch while B sends to A at the same moment, nothing collides — each direction has its own pair, and the switch keeps frames in its buffer until the outgoing port is free (full duplex).

تەنیا لە باری ڕوو دەدات، کە تێیدا ئامێر لەسەر کێبڵێکی هاوبەش یان دەنێرێت یان وەردەگرێت. بۆیە لەسەر و کۆن ڕوویان دەدا، بەڵام لەسەر و کە ڕوو نادەن. نوێ : بۆ هەر ئاڕاستەیەک جووتە وایەرێک و تەنیا دوو ئامێر لەسەر بەستەرەکە. ئەگەر PC A لە ڕێگەی بۆ PC B بنێرێت و هەر لەو ساتەدا B بۆ A بنێرێت، هیچ ڕوو نادات — هەر ئاڕاستەیەک جووتە وایەری خۆی هەیە و لە ڕادەگرێت تا دەرچوون بەتاڵ دەبێت (دوولایەنەی هاوکات).

Two panels. Left, ‘Hub: shared, half duplex’: PC A and PC B on a hub inside one dashed collision bubble; frame A→B and frame B→A meet at the hub with a ‘collision!’ burst; both frames are lost and both senders wait and send again. Right, ‘Switch port: full duplex’: PC A, a switch and PC B; on each cable one arrow goes each way on its own wire pair; the switch keeps frames in its buffer until the port is free, so there is no collision.دوو بەش. لای چەپ، ‘هەب: هاوبەش، دوولایەنەی نۆرەیی’: PC A و PC B لەسەر هەبێک لە ناو یەک بازنەی پچڕپچڕی پێکدادان؛ فرەیمی A بۆ B و فرەیمی B بۆ A لە هەبەکەدا بەیەک دەگەن و ‘پێکدادان!’ ڕوو دەدات؛ هەردوو فرەیمەکە لەناو دەچن و هەردوو نێرەر چاوەڕێ دەکەن و دووپاتە دەنێرنەوە. لای ڕاست، ‘دەرچەی سویچ: دوولایەنەی هاوکات’: PC A، سویچێک و PC B؛ لەسەر هەر کێبڵێک تیرێک بۆ هەر ئاڕاستەیەک لەسەر جووتە وایەری خۆی دەڕوات؛ سویچ فرەیمەکان لە بافەرەکەیدا ڕادەگرێت تا دەرچەکە بەتاڵ دەبێت، بۆیە هیچ پێکدادانێک نییە.
A collision needs a shared, half-duplex link. پێویستی بە بەستەرێکی هاوبەشی هەیە.CêIT

Broadcast domain: who receives a message for everyoneپاوانی پەخش: کێ پەیامێک وەردەگرێت کە بۆ هەمووانە

A broadcast domain is the limited area of a network in which a broadcast can travel: all the devices that receive a frame sent to everyone. Put four computers on a hub, and they are one broadcast domain: whatever one of them broadcasts reaches the other three through the hub. Put them on a switch, and they are still one broadcast domain, because a switch sends broadcasts out of every port.

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

Keep the two ideas apart. A collision domain is about an accident: two signals on one cable at once. A broadcast domain is about a purpose: a frame meant for everyone. A hub copies even unicast frames to every port (flooding), but that does not turn them into broadcasts; a broadcast is a frame whose destination address means ‘all devices’.

ئەم دوو بیرۆکەیە لە یەک جیا بکەرەوە. پەیوەندی بە ڕووداوێکی ناخۆشەوە هەیە: دوو لە یەک کاتدا لەسەر یەک کێبڵ. پەیوەندی بە مەبەستێکەوە هەیە: کە بۆ هەمووان دانراوە. تەنانەت بۆ هەموو کۆپی دەکات ()، بەڵام ئەمە نایانکات بە ؛ ئەو کە ناونیشانی مەبەستەکەی واتە ‘هەموو ئامێرەکان’.

Broadcast messages: FF:FF:FF:FF:FF:FF and 255.255.255.255پەیامی پەخشکردن: ⁦FF:FF:FF:FF:FF:FF⁩ و ⁦255.255.255.255⁩

A broadcast is one message sent to every device at once. In everyday life, think of a text message that a mobile operator sends to all of its subscribers at the same moment. In a LAN, a broadcast frame carries the destination MAC address FF:FF:FF:FF:FF:FF — six pairs of F, all 48 bits set to 1 — and every network card accepts it and passes it up. In IPv4, 255.255.255.255 (all 32 bits 1) is the limited broadcast: ‘everyone on this network’.

واتە ناردنی یەک پەیام بۆ هەموو ئامێرەکان بە یەکجار. لە ژیانی ڕۆژانەدا، بهێنە پێش چاوت کە کۆمپانیایەکی مۆبایل لە یەک ساتدا بۆ هەموو بەشداربووانی دەنێرێت. لە ، مەبەستی ⁦FF:FF:FF:FF:FF:FF⁩ هەڵدەگرێت — شەش جووتە F، هەموو ⁦48⁩ 1ـن — و هەموو وەریدەگرێت و دەیداتە چینی سەرەوە. لە ، ⁦255.255.255.255⁩ (هەموو ⁦32⁩ ⁦1⁩) سنووردارە: ‘هەمووان لەسەر ئەم ’.

Who needs broadcasts? A device that does not yet know whom to ask. ARP asks ‘Who has 192.168.1.1? Tell 192.168.1.10’ when a computer knows an IP address but not the MAC address that goes with it (ARP). A DHCP Discover comes from a computer that has no address yet: from 0.0.0.0 to 255.255.255.255, looking for any DHCP server (DHCP).

کێ پێویستی بە هەیە؟ ئامێرێک کە هێشتا نازانێت لە کێ بپرسێت. دەپرسێت ‘⁦192.168.1.1⁩ هی کێیە؟ بە ⁦192.168.1.10⁩ بڵێ’، کاتێک دەزانێت بەڵام ئەو نازانێت (ARP). پەیامی Discoverـی لە دێت کە هێشتا هیچ ناونیشانێکی نییە: لە ⁦0.0.0.0⁩ـەوە بۆ ⁦255.255.255.255⁩، بەدوای هەر DHCPـدا دەگەڕێت (DHCP).

Two frames drawn as rows of fields. ARP request: destination MAC FF:FF:FF:FF:FF:FF, source MAC 00-00-5E-00-53-0A, type ARP, question ‘Who has 192.168.1.1?’. DHCP Discover: destination MAC FF:FF:FF:FF:FF:FF, source MAC 00-00-5E-00-53-0B, IPv4 from 0.0.0.0 to 255.255.255.255, UDP 68 to 67. Notes: FF:FF:FF:FF:FF:FF is all 48 bits 1, so every card accepts the frame; 255.255.255.255 means everyone on this network.دوو فرەیم وەک ڕیزێک خانە کێشراون. داواکاریی ARP: ناونیشانی MACـی مەبەست FF:FF:FF:FF:FF:FF، ناونیشانی MACـی سەرچاوە 00-00-5E-00-53-0A، جۆر ARP، پرسیاری ‘192.168.1.1 هی کێیە؟’. Discoverـی DHCP: ناونیشانی MACـی مەبەست FF:FF:FF:FF:FF:FF، ناونیشانی MACـی سەرچاوە 00-00-5E-00-53-0B، IPv4 لە 0.0.0.0ـەوە بۆ 255.255.255.255، UDP لە 68ـەوە بۆ 67. تێبینی: FF:FF:FF:FF:FF:FF هەموو 48 بیتەکە 1ـن، بۆیە هەموو کارتێک وەریدەگرێت؛ 255.255.255.255 واتە هەمووان لەسەر ئەم ڕایەڵەیە.
Both questions go to everyone, because the sender does not know whom to ask.هەردوو پرسیارەکە بۆ هەمووان دەچن، چونکە نێرەر نازانێت لە کێ بپرسێت.CêIT

Broadcast messages: FF:FF:FF:FF:FF:FF and 255.255.255.255پەیامی پەخشکردن: ⁦FF:FF:FF:FF:FF:FF⁩ و ⁦255.255.255.255⁩

Try it: ping a broadcast addressتاقیی بکەرەوە: پینگ بۆ ناسەپەخشێک

You can watch a broadcast in Packet Tracer. Build a LAN 192.168.0.0/24 with a few PCs on a switch, open one PC’s Command Prompt and ping the network’s broadcast address — for 192.168.0.0/24 it is 192.168.0.255 (the four key numbers):

دەتوانیت لە Packet Tracerـدا ببینیت. بە ناونیشانی ⁦192.168.0.0/24⁩ دروست بکە و چەند PCـیەک بە ببەستە؛ پاشان Command Promptـی یەکێکیان بکەرەوە و پینگ بۆ بکە — بۆ ⁦192.168.0.0/24⁩ بریتییە لە ⁦192.168.0.255⁩ (چوار ژمارە سەرەکییەکە):

A PC’s Command Prompt in Packet TracerCommand Promptـی PCـێک لە Packet TracerـداTEXTType in a terminalلە تێرمیناڵدا بینووسە
C:\>ping 192.168.0.255

In Simulation mode you will see one echo request leave the PC and the switch copy it out of every port; the other PCs answer one by one. Real networks are stricter: most computers ignore pings sent to a broadcast address (Linux, for example, does so by default), and routers do not forward broadcasts aimed at another network unless an administrator allows it (RFC 2644, 1999) — attackers once used them to multiply traffic in ‘smurf’ attacks.

لە باری Simulationـدا دەبینیت یەک echo request لە PCـەکە دەردەچێت و لە هەموو خۆیەوە کۆپی دەکات؛ PCـەکانی تر یەک لە دوای یەک وەڵام دەدەنەوە. ڕاستەقینە توندترن: زۆربەی گوێ بەو نادەن کە بۆ نێردراون (بۆ نموونە Linux بە شێوەی بنەڕەتی وا دەکات)؛ ئەو نانێرن کە ئاڕاستەی تر کراون، مەگەر بەڕێوەبەرێک ڕێگە بدات (⁦RFC 2644⁩، ⁦1999⁩) — جاران هێرشبەران بەکاریان دەهێنان بۆ چەند هێندە کردنی هاتوچۆ لە هێرشی ‘smurf’ـدا.

Network segmentsبڕەڕایەڵەکان

A network segment is a part of a network that a bridge, a switch or a router separates from the rest — a ‘cut piece’ of the network. A segment holds a group of devices — computers, servers, printers and other network devices — that share the same link.

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

The word is used at two levels. Between bridge or switch ports, a segment is one collision domain — in old Ethernet, one stretch of coaxial cable or everything on one hub — and all the segments together are still one network. Between router interfaces, each segment is a separate IP network with its own network address, such as 192.168.10.0/24 and 192.168.20.0/24, and a separate broadcast domain (IPv4 Addresses in Depth).

ئەم وشەیە لە دوو ئاستدا بەکار دێت. لە نێوان یان ، هەر یەک — لە کۆندا یەک پارچە ، یان هەرچی لەسەر یەک — و هەموو پێکەوە هێشتا یەک . لە نێوان ، هەر IPـی جیایە بە خۆیەوە، وەک ⁦192.168.10.0/24⁩ و ⁦192.168.20.0/24⁩، هەروەها جیایە (ناونیشانەکانی IPv4 بە وردی).

Two panels. Left, ‘Between bridge ports: one network’: a bridge joins two hubs, each with three PCs; each hub group is in its own dashed collision bubble, segment 1 and segment 2, and one purple broadcast frame surrounds both, network 192.168.10.0/24. Right, ‘Between router interfaces: two networks’: a router joins two switches with two PCs each; each side is its own purple broadcast domain, 192.168.10.0/24 and 192.168.20.0/24.دوو بەش. لای چەپ، ‘لە نێوان دەرچەکانی پردی ڕایەڵە: یەک ڕایەڵە’: پردێکی ڕایەڵە دوو هەب پێکەوە دەبەستێت، هەریەکەیان بە سێ کۆمپیوتەرەوە؛ هەر گرووپێک لە بازنەیەکی پچڕپچڕی جیادایە (بڕەڕایەڵە 1 و بڕەڕایەڵە 2)؛ یەک چوارچێوەی مۆری پەخشکردن هەردووکیانی گرتووەتەوە: ڕایەڵەی 192.168.10.0/24. لای ڕاست، ‘لە نێوان نێوبەستەکانی ڕێدۆز: دوو ڕایەڵە’: ڕێدۆزێک دوو سویچ پێکەوە دەبەستێت، هەریەکەیان بە دوو کۆمپیوتەرەوە؛ هەر لایەک پاوانی پەخشی خۆیەتی، 192.168.10.0/24 و 192.168.20.0/24.
A segment can be one collision domain inside a LAN, or a whole network between routers. دەکرێت یەک بێت لە ناو ، یان تەواو لە نێوان .CêIT

Layer 1: hubs and repeaters share everythingچینی 1: هەب و دووپاتەکەرەوە هەموو شتێک هاوبەش دەکەن

Hubs and repeaters work at the physical layer: they copy bits and read no addresses (Repeaters and Hubs). So everything they join is one collision domain and also one broadcast domain: on a hub the two areas are exactly the same size. When one host sends while another host sends too, the signals collide; with many busy hosts, collisions pile up and almost nothing gets through. A hub can divide neither kind of domain — adding a hub or a repeater only makes both areas bigger.

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

A hub at the top joined to PC1, PC2, PC3 and PC4. A purple oval labelled ‘broadcast domain’ and a dashed orange oval labelled ‘collision domain’ both surround the hub and all four PCs. Caption line: 1 collision domain, 1 broadcast domain — both the same size.هەبێک لە سەرەوە بە PC1، PC2، PC3 و PC4ـەوە بەستراوە. بازنەیەکی مۆری بە ناوی ‘پاوانی پەخش’ و بازنەیەکی پچڕپچڕی پرتەقاڵی بە ناوی ‘پاوانی پێکدادان’ هەردووکیان هەبەکە و هەر چوار کۆمپیوتەرەکە دەگرنەوە. هێڵی خوارەوە: 1 پاوانی پێکدادان، 1 پاوانی پەخش — هەردووکیان یەک قەبارەن.
On a hub the collision domain is as big as the broadcast domain.لەسەر ، هێندەی گەورەیە.CêIT

Layer 2: switches and bridges split collisions, not broadcastsچینی 2: سویچ و پردی ڕایەڵە پێکدادان دابەش دەکەن، نەک پەخشکردن

A switch or a bridge reads MAC addresses and gives every port its own collision domain — this is called microsegmentation. A frame sent to one port causes no collision on the others. Every port of a switch or a bridge is a separate collision domain; the ports of a hub never are — they all share one.

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

The broadcast domain does not shrink, though. A broadcast that reaches a switch is sent out of all its other ports, just as on a hub, because all the ports are in one broadcast domain — unless the switch is divided into VLANs. So four PCs on one switch make four collision domains and one broadcast domain.

بەڵام بچووک نابێتەوە. کە دەگاتە لە هەموو ترییەوە دەنێردرێت — هەر وەک لەسەر — چونکە هەموو لە یەک ، مەگەر بە دابەش کرابێت. کەواتە چوار لەسەر یەک دەبنە چوار و یەک .

A switch in the middle with PC1, PC2, PC3 and PC4 at the corners. Each cable has its own dashed orange collision bubble, and one purple frame labelled ‘one broadcast domain around everything’ surrounds the switch and all the PCs. Caption line: 4 collision domains, 1 broadcast domain, unless VLANs split it.سویچێک لە ناوەڕاستدا و PC1، PC2، PC3 و PC4 لە گۆشەکاندا. هەر کێبڵێک بازنەی پچڕپچڕی پرتەقاڵیی پێکدادانی خۆی هەیە و یەک چوارچێوەی مۆری بە ناوی ‘یەک پاوانی پەخش بە دەوری هەموویاندا’ سویچەکە و هەموو کۆمپیوتەرەکان دەگرێتەوە. هێڵی خوارەوە: 4 پاوانی پێکدادان، 1 پاوانی پەخش، مەگەر VLAN دابەشی بکات.
A switch splits collision domains but passes broadcasts on. دابەش دەکات بەڵام تێدەپەڕێنێت.CêIT

Layer 3: routers stop broadcastsچینی 3: ڕێدۆز پەخشکردن ڕادەگرێت

A router separates not only collision domains but also broadcast domains. It joins two or more different networks, and it never forwards a broadcast from one network into another: the broadcast domain ends at the router. So every router interface is its own broadcast domain — and, like a switch port, its own collision domain.

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

The figure shows a router with two switches behind it. Each link is a collision domain — six in all — and each side of the router is a broadcast domain: two. This is why routers are added as a network grows: smaller broadcast domains mean less traffic that every device must read, and a clear border between groups of devices. Cutting one network into smaller IP networks like this is subnetting (What subnets give you).

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

A router at the top joined to switches SW1 and SW2; SW1 has PC1 and PC2, SW2 has PC3 and PC4. Every one of the six cables has its own dashed orange collision bubble. Two purple frames, one per side of the router, are labelled 192.168.10.0/24 and 192.168.20.0/24. Caption line: 6 collision domains, 2 broadcast domains — one on each side of the router.ڕێدۆزێک لە سەرەوە بە SW1 و SW2ـەوە بەستراوە؛ PC1 و PC2 لەسەر SW1ن و PC3 و PC4 لەسەر SW2. هەر یەکێک لە شەش کێبڵەکە بازنەی پچڕپچڕی پرتەقاڵیی پێکدادانی خۆی هەیە. دوو چوارچێوەی مۆری، یەکێک بۆ هەر لایەکی ڕێدۆزەکە، بە 192.168.10.0/24 و 192.168.20.0/24 ناونراون. هێڵی خوارەوە: 6 پاوانی پێکدادان، 2 پاوانی پەخش — یەکێک لە هەر لایەکی ڕێدۆزەکە.
The broadcast domain ends at the router interface. لە کۆتایی دێت.CêIT

Layer 3: routers stop broadcastsچینی 3: ڕێدۆز پەخشکردن ڕادەگرێت

Watch a broadcast stop at the routerسەیری وەستانی پەخشکردن لە ڕێدۆزدا بکە

Follow one ARP request. PC1 wants to send to its default gateway, 192.168.10.1, but does not know the gateway’s MAC address, so it broadcasts: ‘Who has 192.168.10.1?’. The switch floods the frame to every port. PC2 and PC3 read it and drop it — not their address. The router reads it, sees its own address and answers PC1 alone (unicast). The PCs behind the router’s other interface never see the question.

بەدوای داواکارییەکی بڕۆ. ⁦PC1⁩ دەیەوێت بۆ ⁦(192.168.10.1)⁩ بنێرێت، بەڵام ئەو نازانێت، بۆیە پەخشی دەکات: ‘⁦192.168.10.1⁩ هی کێیە؟’. بۆ هەموو دەنێرێت. ⁦PC2⁩ و ⁦PC3⁩ دەیخوێننەوە و فڕێی دەدەن — ناونیشانی ئەوان نییە. دەیخوێنێتەوە، ناونیشانی خۆی دەبینێت و تەنیا وەڵامی ⁦PC1⁩ دەداتەوە (). ئەو PCـانەی لە پشت تری هەرگیز پرسیارەکە نابینن.

Animation in five steps. Left network 192.168.10.0/24: PC1, PC2 and PC3 on switch SW1; right network 192.168.20.0/24: PC4 and PC5 on SW2; router R1 joins them. 1: PC1 asks ‘Who has 192.168.10.1? Tell 192.168.10.11’ and sends the frame to FF:FF:FF:FF:FF:FF. 2: SW1 copies it to PC2, PC3 and the router. 3: PC2 and PC3 drop it; the router answers PC1 alone: ‘192.168.10.1 is at 00-00-5E-00-53-01’. 4: a stop sign at the router: PC4 and PC5 never see the question. 5: each side of the router is marked as broadcast domain 1 and broadcast domain 2.
Animation in five steps. Left network 192.168.10.0/24: PC1, PC2 and PC3 on switch SW1; right network 192.168.20.0/24: PC4 and PC5 on SW2; router R1 joins them. 1: PC1 asks ‘Who has 192.168.10.1? Tell 192.168.10.11’ and sends the frame to FF:FF:FF:FF:FF:FF. 2: SW1 copies it to PC2, PC3 and the router. 3: PC2 and PC3 drop it; the router answers PC1 alone: ‘192.168.10.1 is at 00-00-5E-00-53-01’. 4: a stop sign at the router: PC4 and PC5 never see the question. 5: each side of the router is marked as broadcast domain 1 and broadcast domain 2.
One ARP broadcast: everyone on PC1’s side hears it; nobody behind the router does.یەک : هەمووان لە لای ⁦PC1⁩ گوێیان لێ دەبێت؛ هیچ کەس لە پشت نا.CêIT

Try it in the CêIT network lab: open the example ‘Two networks joined by a router’ and ping from PC1 to PC3. The ‘What happened’ log shows the ARP question going to FF:FF:FF:FF:FF:FF on PC1’s side only; the router then asks its own question on the other side.

لە تاقیگەی ڕایەڵەی CêIT تاقیی بکەرەوە: نموونەی ‘دوو کە پێکیانەوە دەبەستێت’ بکەرەوە و لە ⁦PC1⁩ـەوە بۆ ⁦PC3⁩ بکە. بەشی ‘چی ڕوویدا’ نیشان دەدات کە پرسیاری تەنیا لە لای ⁦PC1⁩ بۆ ⁦FF:FF:FF:FF:FF:FF⁩ دەچێت؛ پاشان لە لاکەی تر پرسیاری خۆی دەکات.

Devices by layer: the whole pictureئامێرەکان بەپێی چین: وێنە تەواوەکە

Put the devices on the OSI layers, and their effect on the domains follows from what they can read. A host — a computer or a server — uses all seven layers; its network card works at layers 1 and 2. The same table with more examples is on GeeksforGeeks: Collision Domain and Broadcast Domain.

ئامێرەکان لەسەر چینەکانی دابنێ؛ کاریگەرییان لەسەر پاوانەکان لەوەوە دێت کە دەتوانن چی بخوێننەوە. — یان — هەر حەوت چینەکە بەکار دەهێنێت؛ لە چینی 1 و 2دا کار دەکات. هەمان خشتە بە نموونەی زیاترەوە لە GeeksforGeeks هەیە (بە ئینگلیزی): Collision Domain and Broadcast Domain.

The seven OSI layers as a stack, 7 Application at the top to 1 Physical at the bottom. An arrow beside all seven says ‘host: layers 1–7’; a shorter one beside layers 1 and 2 says ‘NIC: layers 1–2’. Next to layer 3: a router, ‘every interface: its own broadcast domain’. Next to layer 2: a switch and a bridge (and the NIC), ‘every port: its own collision domain’. Next to layer 1: a hub and a repeater (and the cables), ‘all of it: one shared collision domain’.حەوت چینەکەی مۆدێلی OSI وەک ستوونێک، 7 چینی ئەپ لە سەرەوە تا 1 چینی فیزیکی لە خوارەوە. تیرێک لە تەنیشت هەر حەوتیان دەڵێت ‘میوانگر: چینی 1–7’؛ تیرێکی کورتتر لە تەنیشت چینی 1 و 2 دەڵێت ‘کارتی ڕایەڵە: چینی 1–2’. لە تەنیشت چینی 3: ڕێدۆزێک، ‘هەر نێوبەستەیەک: پاوانی پەخشی خۆی’. لە تەنیشت چینی 2: سویچێک و پردێکی ڕایەڵە (و کارتی ڕایەڵە)، ‘هەر دەرچەیەک: پاوانی پێکدادانی خۆی’. لە تەنیشت چینی 1: هەبێک و دووپاتەکەرەوەیەک (و کێبڵەکان)، ‘هەمووی: یەک پاوانی پێکدادانی هاوبەش’.
What a device can read decides what it can divide.ئەوەی ئامێرێک دەتوانێت بیخوێنێتەوە، دیاری دەکات چی دەتوانێت دابەش بکات.CêIT
DeviceئامێرLayerچینReadsدەخوێنێتەوەCollision domainsBroadcast domains
Hub, repeater، 1 physical1، nothing — just bitsهیچ — تەنیا one for everything plugged inیەک بۆ هەرچی پێوەی بەستراوەoneیەک
Bridge, switch، 2 data link2، MAC addressesone per portیەکێک بۆ هەر one (VLANs can split it)یەک ( دەتوانێت دابەشی بکات)
Router3 network3، IP addressesone per interfaceیەکێک بۆ هەر one per interfaceیەکێک بۆ هەر

From hubs to switches: how collisions disappearedلە هەبەوە بۆ سویچ: پێکدادان چۆن نەما

Before switches and VLANs, Ethernet LANs were joined with hubs. A hub put every host on one Ethernet segment — electrically, one shared cable. Even so, the hub’s star was better than the older bus and ring designs, in which one broken cable or connector could stop the whole network: on a hub, a broken cable cut off only one computer.

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

One of the main reasons hubs were dropped was that all the devices on a hub were in the same collision domain: when two of them wanted to send at the same time, the data collided and had to be sent again. The switch came to solve this: each switch port has its own collision domain, instead of all the ports sharing one. Full duplex then removed collisions completely. Today collision domains matter mostly in exam questions and old equipment — broadcast domains still matter every day.

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

Three panels joined by arrows. 1980s, coaxial bus: four PCs hang from one cable inside one collision bubble, and a cross on the cable says ‘one break stops everyone’. 1990s, hub (star): four PCs on a hub, still one collision domain, but a broken cable cuts off only one PC. Since the late 1990s, switch: every cable its own small collision bubble, full duplex, no collisions at all. Bottom line: the broadcast domain stayed the same in all three — everything.سێ بەش کە بە تیر بەیەکەوە بەستراون. ساڵانی 1980، ڕایەڵەی هێڵی: چوار کۆمپیوتەر بە یەک کێبڵەوە هەڵواسراون لە ناو یەک بازنەی پێکداداندا و خاچێک لەسەر کێبڵەکە دەڵێت ‘یەک پچڕان هەمووان ڕادەگرێت’. ساڵانی 1990، هەب (ئەستێرە): چوار کۆمپیوتەر لەسەر هەبێک، هێشتا یەک پاوانی پێکدادان، بەڵام کێبڵێکی پچڕاو تەنیا یەک کۆمپیوتەر دادەبڕێت. لە کۆتایی ساڵانی 1990ـەوە، سویچ: هەر کێبڵێک بازنەی بچووکی پێکدادانی خۆی، دوولایەنەی هاوکات، هیچ پێکدادانێک نییە. هێڵی خوارەوە: پاوانی پەخش لە هەر سێکیاندا وەک خۆی ماوەتەوە — هەموو ئامێرەکان.
Switches ended collisions; they did not end broadcasts. نەهێشت؛ بەڵام هەر مایەوە.CêIT

VLANs: one switch, several broadcast domainsVLAN: یەک سویچ، چەند پاوانی پەخشێک

A LAN built only from switches is one big broadcast domain: every ARP question and every DHCP Discover reaches every device. A loop between switches can even turn broadcasts into a broadcast storm that stops the whole LAN (What goes wrong in a loop). Managed switches can be divided into VLANs (virtual LANs): a VLAN makes one switch behave like several separate switches, and each VLAN is its own broadcast domain. A small unmanaged switch cannot do this, so all its hosts stay in one broadcast domain.

کە تەنیا بە دروست کرابێت، یەک گەورەیە: هەموو پرسیارێکی و هەموو Discoverـێکی دەگاتە هەموو ئامێرێک. ئەڵقەیەکیش لە نێوان دەتوانێت بکات بە کە هەموو ڕادەگرێت (لە ئەڵقەدا چی تێک دەچێت). دەتوانرێت بە دابەش بکرێن (virtual LAN): وا لە یەک دەکات وەک چەند جیا کار بکات و هەر خۆیەتی. بچووکی بەڕێوەنەبراو ئەمە ناتوانێت، بۆیە هەموو لە یەک دەمێننەوە.

Example: a school in Sulaymaniyah has one 48-port switch. The teachers’ computers are put in VLAN 10 and the students’ lab in VLAN 20. A broadcast from a student PC reaches only VLAN 20. Traffic between the VLANs must go through a router or a layer-3 switch, where it can be controlled. Configuring VLANs belongs to the Routing and Switching course: VLANs. One cable can carry several VLANs (Trunks and 802.1Q Tags), and one router port can route between them (Router-on-a-Stick).

نموونە: قوتابخانەیەک لە سلێمانی بە ⁦48⁩ هەیە. مامۆستایان دەخرێنە ناو ⁦VLAN 10⁩ و تاقیگەی قوتابیان دەخرێتە ناو ⁦VLAN 20⁩. لە PCـی قوتابییەکەوە تەنیا دەگاتە ⁦VLAN 20⁩. هاتوچۆی نێوان دەبێت بە یان تێپەڕێت، کە لەوێ دەتوانرێت کۆنترۆڵ بکرێت. ڕێکخستنی بەشێکە لە کۆرسی و : VLAN. یەک کێبڵ دەتوانێت چەند هەڵبگرێت (ترەنکەکان و تاگەکانی ⁦802.1Q⁩) و یەک دەتوانێت لە نێوانیاندا بکات (ڕێدۆزی تاکقۆڵ).

One 48-port switch with six PCs. The three on the left, in a purple frame, are ‘VLAN 10: teachers’; the three on the right, in another purple frame, are ‘VLAN 20: students’ lab’. Above the switch, a router joined by a dashed line: ‘between VLANs: a router or layer-3 switch’. A broadcast arrow from the middle student PC reaches only the other student PCs: ‘a broadcast stays inside VLAN 20’; ‘the teachers never receive it’.سویچێک بە 48 دەرچەوە و شەش کۆمپیوتەر. سێیەکەی لای چەپ لە چوارچێوەیەکی مۆریدان: ‘VLAN 10: مامۆستایان’؛ سێیەکەی لای ڕاست لە چوارچێوەیەکی تری مۆریدان: ‘VLAN 20: تاقیگەی قوتابیان’. لە سەرووی سویچەکەوە، ڕێدۆزێک بە هێڵێکی پچڕپچڕ بەستراوە: ‘لە نێوان VLANـەکاندا: ڕێدۆز یان سویچی چینی 3’. تیری پەخشکردن لە کۆمپیوتەری ناوەڕاستی قوتابیانەوە تەنیا دەگاتە کۆمپیوتەرەکانی تری قوتابیان: ‘پەخشکردن لە ناو VLAN 20دا دەمێنێتەوە’؛ ‘مامۆستایان هەرگیز وەری ناگرن’.
A VLAN is a broadcast domain made in software. کە بە دروست کراوە.CêIT

Counting domains, step by stepژماردنی پاوانەکان، هەنگاو بە هەنگاو

Exam questions often show a diagram and ask how many collision domains and broadcast domains it has. Three steps work every time:

پرسیارەکانی تاقیکردنەوە زۆرجار نیشان دەدەن و دەپرسن چەند و چەند تێدایە. سێ هەنگاو هەمیشە کار دەکەن:

  1. Broadcast domainsپاوانەکانی پەخش

    The routers cut the diagram into areas. Count the areas: each one is a broadcast domain — every router interface starts one, and a link between two routers is an area of its own. No router at all? Then everything is one broadcast domain, unless VLANs split it.

    بۆ چەند ناوچەیەک دەبڕن. ناوچەکان بژمێرە: هەریەکەیان — هەر یەکێک دەست پێ دەکات و بەستەرێکی نێوان دوو ناوچەیەکی جیایە. هیچ نییە؟ کەواتە هەمووی یەک ، مەگەر دابەشی بکات.

  2. Collision domainsپاوانەکانی پێکدادان

    Count every link that ends on a switch, bridge or router port: each is one collision domain. A hub and everything plugged into it count together as one.

    هەر بەستەرێک بژمێرە کە لەسەر ، یان کۆتایی دێت: هەریەکەیان یەک . و هەرچی پێوەی بەستراوە پێکەوە یەک دەژمێردرێن.

  3. Checkپشکنین

    Draw the bubbles on the diagram, then check that every device sits in exactly one broadcast domain and every link in exactly one collision domain.

    بازنەکان لەسەر بکێشە، پاشان دڵنیا ببەوە کە هەموو ئامێرێک لە ناو تەنیا یەک و هەموو بەستەرێک لە ناو تەنیا یەک .

Worked example: a switch with two PCs is joined to a router, and the router’s other interface goes to a hub with three PCs. Broadcast domains: 2 — one on each side of the router. Collision domains: 4 — switch–PC1, switch–PC2 and switch–router make three; the hub side (the hub, its three PCs and its link to the router) is one. More counting practice with diagrams: Collision and broadcast domain (study-ccna.com).

نموونەی کارپێکراو: بە دوو بە بەستراوە و تری دەچێتە کە سێ پێوەیە. : 2 — یەکێک لە هەر لایەکی . : 4 — –⁦PC1⁩، –⁦PC2⁩ و – دەبنە سێ؛ لای (، سێ و بەستەرەکەی بۆ ) یەکێکە. ڕاهێنانی زیاتری ژماردن بە (بە ئینگلیزی): Collision and Broadcast Domain ⁦(study-ccna.com)⁩.

The worked example with its answer drawn on it. Left purple frame, broadcast domain 1: a switch with PC1 and PC2; orange bubbles 1 and 2 on the PC cables and bubble 3 on the cable from the switch to the router. Right purple frame, broadcast domain 2: a hub with PC3, PC4 and PC5 inside one big orange bubble 4, which also covers the cable from the hub to the router. Bottom line: switch–PC1, switch–PC2, switch–router and the whole hub side = 4 collision domains.نموونە کارپێکراوەکە و وەڵامەکەی لەسەری کێشراوە. چوارچێوەی مۆری چەپ، پاوانی پەخش 1: سویچێک بە PC1 و PC2ـەوە؛ بازنەی پرتەقاڵیی 1 و 2 لەسەر کێبڵەکانی کۆمپیوتەرەکان و بازنەی 3 لەسەر کێبڵی نێوان سویچ و ڕێدۆز. چوارچێوەی مۆری ڕاست، پاوانی پەخش 2: هەبێک بە PC3، PC4 و PC5ـەوە لە ناو یەک بازنەی گەورەی پرتەقاڵیی 4دا، کە کێبڵی نێوان هەب و ڕێدۆزیش دەگرێتەوە. هێڵی خوارەوە: سویچ–PC1، سویچ–PC2، سویچ–ڕێدۆز و هەموو لای هەب = 4 پاوانی پێکدادان.
2 broadcast domains and 4 collision domains.2 و 4 .CêIT

More practice: two routers, a hub and a serial linkڕاهێنانی زیاتر: دوو ڕێدۆز، هەبێک و بەستەرێکی زنجیرەیی

A bigger diagram. Router R1 has a hub with PC1 on one interface and a serial link to router R2 on the other. R2 has two switches, each with two PCs. Count the broadcast domains and the collision domains before you open the answer.

گەورەتر. ⁦R1⁩ لەسەر هەیە کە ⁦PC1⁩ـی پێوەیە و لەسەر تر بەستەرێکی زنجیرەیی بۆ ⁦R2. R2⁩ دوو هەیە و هەریەکەیان دوو پێوەیە. پێش ئەوەی وەڵامەکە بکەیتەوە، و بژمێرە.

Router R1 on the left is joined by a red zigzag serial link (PPP) to router R2 on the right. Below R1 a hub with PC1. Below R2 two switches: SW1 with PC2 and PC3, SW2 with PC4 and PC5. Question at the bottom: how many broadcast domains? How many collision domains?R1 لە چەپ بە بەستەرێکی زنجیرەیی سووری زیگزاگ (PPP) بە R2 لە ڕاستەوە بەستراوە. لە خوارووی R1ـەوە هەبێک و PC1. لە خوارووی R2ـەوە دوو سویچ: SW1 بە PC2 و PC3ـەوە، SW2 بە PC4 و PC5ـەوە. پرسیار لە خوارەوە: چەند پاوانی پەخش؟ چەند پاوانی پێکدادان؟
Count before you look at the answer.پێش سەیرکردنی وەڵامەکە بژمێرە.CêIT
ExerciseڕاهێنانCount the domainsپاوانەکان بژمێرە

How many broadcast domains and how many collision domains does the diagram have?

چەند و چەند تێدایە؟

Show answerوەڵامەکە پیشان بدە

Broadcast domains: 4 — R1’s hub side; the serial link between R1 and R2 (a network of its own, with its own network address); and one behind each of R2’s two Ethernet interfaces.

: 4 — لای ⁦R1⁩؛ بەستەرە زنجیرەییەکەی نێوان ⁦R1⁩ و ⁦R2⁩ ( سەربەخۆیە بە خۆیەوە)؛ و یەکێک لە پشت هەر یەکێک لە دوو Ethernetـی ⁦R2⁩.

Collision domains: 8 — the hub side (R1’s interface, the hub and PC1) is 1; the serial link is counted as 1; each switch has three links (to R2 and to its two PCs): 3 + 3 = 6. Total 1 + 1 + 6 = 8.

: 8 — لای ( ⁦R1⁩، و ⁦PC1) 1⁩ـە؛ بەستەرە زنجیرەییەکە وەک 1 دەژمێردرێت؛ هەر سێ بەستەری هەیە (بۆ ⁦R2⁩ و بۆ دوو ): ⁦3 + 3 = 6⁩. کۆی گشتی ⁦1 + 1 + 6 = 8⁩.

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

MistakeهەڵەWhat is trueڕاستییەکە
“Every port of a hub is its own collision domain.”«هەر خۆیەتی.»All the ports of a hub share one collision domain; every port of a switch or bridge is its own.هەموو یەک بەش دەکەن؛ هەر یان هی خۆیەتی.
“A switch stops broadcasts.”« ڕادەگرێت.»A switch sends broadcasts out of every port; only routers and VLAN borders stop them. لە هەموو خۆیەوە دەنێرێت؛ تەنیا و سنووری ڕایدەگرن.
“On a switch, A→B and B→A at the same moment collide.”«لەسەر ، ناردنی A بۆ B و B بۆ A لە یەک ساتدا پێکدا دەدەن.»Not on full-duplex ports: each direction has its own pair, and the switch buffers frames.لەسەر نا: هەر ئاڕاستەیەک جووتی خۆی هەیە و لە ڕادەگرێت.
“A broadcast domain is where any data can travel.”« ئەو شوێنەیە کە هەر دەتوانێت تێیدا بڕوات.»It is the set of devices that receive a broadcast. Unicast packets also cross routers.ئەو ئامێرانەن کە وەردەگرن. لە تێدەپەڕن.
“Flooding is the same as a broadcast.”« هەمان .»Flooding is copying a frame to all ports (a hub, or an unknown address); a broadcast is addressed to everyone on purpose. کۆپیکردنی بۆ هەموو (، یان ناونیشانێکی نەناسراو)؛ بە ئەنقەست بۆ هەمووان دەنێردرێت.
“Every port that has an IP address also has a MAC address.”«هەر کە هەبێت، هەیە.»Ethernet and Wi-Fi interfaces do; serial interfaces (HDLC, PPP) have none. Ethernet و بەڵێ؛ زنجیرەیی (، ) هیچیان نییە.
“A ping to the broadcast address always gets answers from every host.”« بۆ هەمیشە لە هەموو وەڵام وەردەگرێت.»Packet Tracer answers; real hosts usually ignore it, and routers do not forward directed broadcasts by default.Packet Tracer وەڵام دەداتەوە؛ ڕاستەقینە زۆربەی جار گوێی پێ نادەن و بە شێوەی بنەڕەتی ئاڕاستەکراو نانێرن.
“More hubs or repeaters make the network faster.”« یان زیاتر خێراتر دەکات.»They only make the collision domain and the broadcast domain bigger.تەنیا و گەورەتر دەکەن.

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

ExerciseڕاهێنانOne router, a switch and a hubیەک ڕێدۆز، سویچێک و هەبێک

A router has two interfaces in use. Interface 1 goes to a switch with five PCs; interface 2 goes to a hub with four PCs. How many broadcast domains and collision domains are there?

دوو بەکارهاتووی هەیە. 1 دەچێتە بە پێنج ؛ 2 دەچێتە بە چوار . چەند و چەند هەیە؟

Hintئاماژە

Count switch links one by one; a hub counts once.

بەستەرەکانی یەک یەک بژمێرە؛ یەک جار دەژمێردرێت.

Show answerوەڵامەکە پیشان بدە

Broadcast domains: 2, one per router interface. Collision domains: the switch side has five PC links + the router link = 6; the hub side is 1. Total 7.

: 2، یەکێک بۆ هەر . : لای پێنج بەستەری + بەستەری = 6؛ لای 1ـە. کۆی گشتی 7.

ExerciseڕاهێنانTrue or false?ڕاست یان هەڵە؟

Explain: “A bridge forwards broadcast frames.”

ڕوونی بکەرەوە: « دەنێرێتە پێشەوە.»

Show answerوەڵامەکە پیشان بدە

True. A bridge — like a switch — sends a broadcast out of all its other ports, so both sides of a bridge are one broadcast domain. Only routers and VLAN borders stop broadcasts.

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

ExerciseڕاهێنانA slow school networkڕایەڵەیەکی خاوی قوتابخانە

A school network of 400 PCs on switches, with no VLANs and no routers inside, is slowed down by broadcast traffic. Suggest two ways to make its broadcast domains smaller.

قوتابخانەیەک بە ⁦400⁩ لەسەر ، بەبێ و بەبێ لە ناوەوە، بەهۆی هاتوچۆی خاو بووە. دوو ڕێگا پێشنیار بکە بۆ بچووککردنەوەی .

Show answerوەڵامەکە پیشان بدە
  • Divide the switches into VLANs — for example teachers, students and offices, or one VLAN per floor — and join the VLANs with a router or a layer-3 switch.
  • Or split the network into separate IP networks joined by a router: every router interface becomes a broadcast domain of its own.
  • بە دابەش بکە — بۆ نموونە مامۆستایان، قوتابیان و ئۆفیسەکان، یان یەک بۆ هەر نهۆمێک — و بە یان پێکەوە ببەستە.
  • یان بۆ چەند IPـی جیا دابەش بکە کە پێکیانەوە دەبەستێت: هەر دەبێتە خۆی.
ExerciseڕاهێنانA broadcast pingپینگی پەخشکردن

In Packet Tracer, PC1 (in 192.168.0.0/24) pings 192.168.0.255. What kind of address is this, which devices does the request reach, and does it cross the router to other networks?

لە Packet Tracerـدا، ⁦PC1⁩ (لە ⁦192.168.0.0/24⁩) بۆ ⁦192.168.0.255⁩ دەکات. ئەمە چ جۆرە ناونیشانێکە، داواکارییەکە دەگاتە کام ئامێرانە و ئایا لە تێدەپەڕێت بۆ تر؟

Show answerوەڵامەکە پیشان بدە

192.168.0.255 is the broadcast address of 192.168.0.0/24 (all host bits 1). The switch floods the request to every device of that LAN; the router does not forward it into other networks.

⁦192.168.0.255⁩ ⁦192.168.0.0/24⁩ـە (هەموو 1ـن). داواکارییەکە بۆ هەموو ئامێرێکی ئەو دەنێرێت؛ ناینێرێتە ناو ترەوە.

Review questionsپرسیارەکانی پێداچوونەوە
What is the difference between a collision domain and a broadcast domain?جیاوازیی نێوان پاوانی پێکدادان و پاوانی پەخش چییە؟

A collision domain is where two frames sent at once can crash (shared, half duplex). A broadcast domain is the set of devices that receive a broadcast. Switches split the first; routers and VLANs split the second.

ئەو شوێنەیە کە دوو کە پێکەوە نێردراون دەتوانن پێکدا بدەن (هاوبەش، ). ئەو ئامێرانەن کە وەردەگرن. یەکەمیان دابەش دەکات؛ و دووەمیان.

Name two protocols that send broadcasts, and why they do.دوو پرۆتۆکۆڵ ناو ببە کە پەخشکردن دەنێرن و بڵێ بۆچی.

ARP, to find the MAC address that belongs to an IP address; DHCP Discover, because a new client has no address and does not know the server.

، بۆ دۆزینەوەی ئەو هی ؛ Discoverـی ، چونکە نوێ هیچ ناونیشانێکی نییە و ناناسێت.

What does each router interface give you, in domain terms?هەر نێوبەستەیەکی ڕێدۆز بە زمانی پاوانەکان چی دەدات؟

Its own broadcast domain and its own collision domain.

خۆی و خۆی.

Summaryپوختە

  • A collision domain is where two frames sent at once can collide — only on shared, half-duplex links. A broadcast domain is every device that receives a broadcast.
  • Broadcasts go to FF:FF:FF:FF:FF:FF (MAC) and 255.255.255.255 (IPv4); ARP and DHCP Discover use them.
  • Hub, repeater (layer 1): one collision domain, one broadcast domain. Switch, bridge (layer 2): one collision domain per port, one broadcast domain. Router (layer 3): every interface its own broadcast domain.
  • Switches and full duplex ended collisions; VLANs and routers keep broadcast domains small.
  • A network segment is one collision domain between bridge/switch ports, or a separate network between router interfaces.
  • To count: routers cut the diagram into broadcast areas; every switch, bridge or router link is a collision domain; a whole hub counts once.
  • ئەو شوێنەیە کە دوو کە پێکەوە نێردراون دەتوانن پێکدا بدەن — تەنیا لەسەر بەستەری هاوبەشی . هەموو ئەو ئامێرانەن کە وەردەگرن.
  • بۆ ⁦FF:FF:FF:FF:FF:FF⁩ ⁦(MAC)⁩ و ⁦255.255.255.255⁩ ⁦(IPv4)⁩ دەچێت؛ و Discoverـی بەکاری دەهێنن.
  • ، (چینی ⁦1⁩): یەک ، یەک . ، (چینی ⁦2⁩): یەک بۆ هەر ، یەک . (چینی ⁦3⁩): هەر خۆی.
  • و نەهێشت؛ و بچووک ڕادەگرن.
  • یەک لە نێوان /، یان جیایە لە نێوان .
  • بۆ ژماردن: بۆ ناوچەکانی دەبڕن؛ هەر بەستەرێکی ، یان ؛ بە تەواوی یەک جار دەژمێردرێت.
Three panels side by side. Hub (layer 1): a hub with four PCs inside one collision oval inside one broadcast oval — 1 collision domain, 1 broadcast domain. Switch (layer 2): a switch with four PCs, a small collision bubble on every cable, one broadcast frame around all — one per port, 1 broadcast domain. Router (layer 3): a router with two switches, a collision bubble on every link and a broadcast frame on each side — one per link, one per interface.سێ بەش لە تەنیشت یەک. هەب (چینی 1): هەبێک بە چوار کۆمپیوتەرەوە لە ناو یەک بازنەی پێکداداندا کە لە ناو یەک بازنەی پەخشکردندایە — یەک پاوانی پێکدادان، یەک پاوانی پەخش. سویچ (چینی 2): سویچێک بە چوار کۆمپیوتەرەوە، بازنەیەکی بچووکی پێکدادان لەسەر هەر کێبڵێک و یەک چوارچێوەی پەخشکردن بە دەوری هەموویاندا — یەکێک بۆ هەر دەرچە، یەک پاوانی پەخش. ڕێدۆز (چینی 3): ڕێدۆزێک بە دوو سویچەوە، بازنەی پێکدادان لەسەر هەر بەستەرێک و چوارچێوەیەکی پەخشکردن لە هەر لایەک — یەکێک بۆ هەر بەستەرێک، یەکێک بۆ هەر نێوبەستە.
The whole lesson in one picture.هەموو وانەکە لە یەک وێنەدا.CêIT

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

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

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

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

The Network Layer and the IPv4 Packetچینی ڕایەڵە و پاکێتی ⁦IPv4⁩

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.تەنیا لەسەر ئەم ئامێرە پاشەکەوت دەکرێت.