Network labتاقیگەی ڕایەڵە
Build your own : add , a , and , connect them with cables and give each one an . Then send a and watch every travel from device to device, like in Packet Tracer.
خۆت دروست بکە: ، ، و زیاد بکە، بە کێبڵی پێکەوەیان ببەستە و بە هەر یەکێکیان بدە. پاشان بنێرە و سەیری گەشتی هەموو بکە لە ئامێرێکەوە بۆ ئامێرێکی دیکە، وەک لە Packet Tracerـدا.
The devices in this labئامێرەکانی ئەم تاقیگەیە
- PC, laptop, server and printer are end devices: people use them. Each one has a with one , one and one .
- A joins the devices of one . It reads the on every and sends it only out of the where that device is.
- A is older and simpler: it copies every to all its ports, so every device hears everything.
- A joins different networks. It reads the inside every and decides where to send it next. Each of its ports belongs to a different network.
- ، ، و ئامێری کۆتایین: خەڵک بەکاریان دەهێنێت. هەر یەکێکیان هەیە کە ، و هەیە.
- ئامێرەکانی یەک پێکەوە دەبەستێت. لەسەر هەموو دەخوێنێتەوە و تەنیا لەو دەینێرێت کە ئامێرەکەی پێوەیە.
- کۆنتر و سادەترە: هەر بۆ هەموو خۆی کۆپی دەکات، بۆیە هەموو ئامێرەکان هەموو شتێک دەبیستن.
- پێکەوە دەبەستێت. لە ناو هەر دەخوێنێتەوە و بڕیار دەدات دواتر بۆ کوێی بنێرێت. هەر یەکێک لە سەر بە جیاوازە.
Two addresses for every deviceدوو ناونیشان بۆ هەر ئامێرێک
A (like 00:1A:2B:3C:4D:5E) is fixed inside the and is used inside one . An (like 192.168.1.10) is given to the device. Its first part names the network and its last part names the device, so routers can find networks far away.
(وەک 00:1A:2B:3C:4D:5E) لە ناو جێگیرە و لە ناو یەک بەکاردێت. (وەک 192.168.1.10) دەدرێت بە ئامێرەکە. بەشی یەکەمی ناوی و بەشی کۆتاییەکەی ناوی ئامێرەکەیە، بۆیە دەتوانن دوور بدۆزنەوە.
The tells which part is the network. With 255.255.255.0, the addresses 192.168.1.10 and 192.168.1.20 are in the same network, but 192.168.2.10 is not. To reach another network, a device sends the to its : the router's in its own network.
دیاری دەکات کام بەش ناوی . بە 255.255.255.0، ناونیشانەکانی 192.168.1.10 و 192.168.1.20 لە هەمان ، بەڵام 192.168.2.10 نا. بۆ گەیشتن بە دیکە، ئامێرەکە بۆ خۆی دەنێرێت، کە لە خۆیدا.
What happens when you pingکاتێک پینگ دەنێریت چی ڕوودەدات
Same network or not? The sender compares its own with the destination, using the . Same network: it sends straight to it. Another network: it sends to the .
هەمان یان نا؟ نێرەر بە یارمەتیی خۆی لەگەڵ هی ئامانجەکە بەراورد دەکات. ئەگەر هەمان بوو، ڕاستەوخۆ بۆی دەنێرێت. ئەگەر بوو، بۆ دەینێرێت.
: who has this address? To put the into a , the sender needs the receiver's . If it does not know it, it asks everyone. The owner answers, and both remember the pair.
: ئەم ناونیشانە هی کێیە؟ بۆ ئەوەی نێرەر بخاتە ناو ، پێویستی بە وەرگرەکە هەیە. ئەگەر نەیزانێت، لە هەمووان دەپرسێت. خاوەنەکەی وەڵام دەداتەوە و هەردووکیان ئەو جووتە لەبیر دەگرن.
The learns. Each time a frame arrives, the switch writes down which that came from. Later it sends frames only where they need to go.
فێر دەبێت. هەر جارێک دەگات، دەینووسێت ئەو لە کام هات. دواتر تەنیا بۆ ئەو شوێنە دەنێرێت کە پێویستە.
The passes it on. It takes the out of the frame, lowers its TTL by one, picks the next stop from its table and puts the packet into a new frame for the next network.
بەڕێی دەکات. لە دەردەهێنێت، TTLـەکەی یەکێک کەم دەکاتەوە، وێستگەی داهاتوو لە خشتەی هەڵدەبژێرێت و دەخاتە ناو نوێوە بۆ داهاتوو.
Echo reply. The destination answers with an echo reply, which travels back. When it arrives, the ping has worked.
وەڵامی echo. ئامانجەکە بە وەڵامی echo وەڵام دەداتەوە کە بە ڕێگادا دەگەڕێتەوە. کاتێک دەگات، سەرکەوتوو بووە.
Try thisئەمانە تاقی بکەرەوە
- Ping the same device twice. Why is the second ping shorter? (Look for in the steps.)
- In “Two networks”, delete the of PC1 and ping PC3. What happens, and why?
- Open “A hub next to a switch” and ping from PC1 to PC2. Which devices see the ? Now ping from PC3 to PC4 through the switch.
- Connect two switches with two cables, so they make a circle, and send a ping. What goes wrong? Real switches use the Spanning Tree Protocol to stop this.
- دوو جار بۆ هەمان ئامێر بنێرە. بۆچی دووەم کورتترە؟ (لە هەنگاوەکاندا بەدوای بگەڕێ.)
- لە نموونەی «دوو »دا PC1 بسڕەوە و بۆ PC3 بنێرە. چی ڕوودەدات و بۆچی؟
- نموونەی « لە تەنیشت » بکەرەوە و لە PC1ـەوە بۆ PC2 بنێرە. کام ئامێرانە دەبینن؟ ئێستا لە PC3ـەوە بە ناو بۆ PC4 بنێرە.
- دوو بە دوو کێبڵ پێکەوە ببەستە بۆ ئەوەی بازنەیەک دروست بکەن و بنێرە. چی تێکدەچێت؟ ڕاستەقینە Spanning Tree بەکار دەهێنن بۆ ڕێگرتن لەمە.
Read more: IP and MAC addresses, network hardware and network topologies.
زیاتر بخوێنەوە: ناونیشانەکانی IP و MAC، ڕەقەواڵەی ڕایەڵە و تۆپۆلۆجییەکانی ڕایەڵە.