تقسيم الشبكة مبسط CCNA: ليس مخيفًا بمجرد أن ترى المنطق
تقسيم الشبكة المبسط على طريقة CCNA يعني قواعد أقل للحفظ ومنطق أكثر للاتباع.
تقسيم الشبكة هو الجزء من CCNA الذي يصنع أو يكسر معظم المتقدمين. يبدو مخيفًا في البداية — الرياضيات الثنائية، بتات الشبكة، بتات المضيف — لكن بمجرد أن تستوعب المنطق، كل شيء يصبح واضحًا.
سيرشدك هذا الدليل عبر:
- ما هو عنوان IP وتقسيم الشبكة فعليًا
- كيفية تقسيم الشبكات إلى شبكات فرعية
- كيفية حل أسئلة تقسيم الشبكة بسرعة
إذا سئمت من حفظ جداول تقسيم الشبكة دون فهم، فهذه المدونة لك.
🌐 ما هو عنونة IP؟
كل جهازًا على الشبكة يحتاج إلى عنوان IP للتواصل.
يظهر عنوان IP هكذا:
IP : 192.168.10.2
يتكون من:
- جزء الشبكة: يحدد الشبكة
- جزء المضيف: يحدد الجهاز المحدد
🧮 عنونة IP التقليدية (مراجعة سريعة)
| الفئة | النطاق | قناع الشبكة الفرعية الافتراضي | استخدم |
|---|---|---|---|
| A | 1.0.0.0 – 126.255.255.255 | 255.0.0.0 (/8) | شبكات كبيرة |
| B | 128.0.0.0 – 191.255.255.255 | 255.255.0.0 (/16) | متوسط |
| C | 192.0.0.0 – 223.255.255.255 | 255.255.255.0 (/24) | صغير |
نصيحة: العنونة غير التقليدية (CIDR) هي ما نستخدمه الآن، لكن هذا لا يزال يساعد في منطق تصميم الشبكات الفرعية.
🧩 شرح تدوين CIDR
بدلاً من كتابة قناع الشبكة الفرعية الكامل مثل 255.255.255.0, نستخدم CIDR:
192.168.1.0/24
هنا، /24 يعني أن أول 24 بت هي الـ جزء الشبكة. البتات المتبقية مخصصة لـ المضيفين.
| CIDR | قناع الشبكة الفرعية | عدد المضيفين لكل شبكة فرعية |
|---|---|---|
| /24 | 255.255.255.0 | 254 |
| /25 | 255.255.255.128 | 126 |
| /26 | 255.255.255.192 | 62 |
| /27 | 255.255.255.224 | 30 |
🔍 لماذا تقسيم الشبكة مهم
🔒 الأمان:
قسّم الأقسام (HR, Sales, IT) إلى شبكات فرعية مختلفة لـ التحكم في الوصول.
🚀 الأداء:
يقلل من نطاقات البث = اتصال أسرع.
📈 القابلية للتوسع:
يسمح لك بتخصيص عناوين IP بكفاءة وتجنب إهدار العناوين.
🧮 خطوة بخطوة: كيفية تقسيم الشبكة (بسهولة)
لنفترض أنك حصلت على هذا:
تحتاج إلى 4 شبكات فرعية من 192.168.1.0\/24
✏️ الخطوة 1: تحويل عدد الشبكات الفرعية المطلوبة إلى بتات
2ⁿ ≥ 4 → n = 2 (لأن 2² = 4)
ستستعير 2 بت من جزء المضيف:
- \/24 يصبح /26
- قناع الشبكة الفرعية الجديد:
255.255.255.192
✏️ الخطوة 2: حساب زيادات الشبكة الفرعية
حجم الكتلة = 2⁸ – بتات الشبكة الفرعية = 64
الشبكات الفرعية:
- 192.168.1.0
- 192.168.1.64
- 192.168.1.128
- 192.168.1.192
✏️ الخطوة 3: تعيين الشبكات الفرعية
| شبكة فرعية | النطاق | بث | عناوين IP القابلة للاستخدام |
|---|---|---|---|
| 0 | .1 – .62 | .63 | 62 مضيف |
| 64 | .65 – .126 | .127 | 62 مضيف |
| 128 | .129 – .190 | .191 | 62 مضيف |
| 192 | .193 – .254 | .255 | 62 مضيف |
📚 مثال عملي على تقسيم الشبكة
سؤال:
تحتاج إلى إنشاء على الأقل 5 شبكات فرعية من 192.168.1.0/24 شبكة، ويجب أن تدعم كل شبكة فرعية على الأقل 30 مضيف. ما قناع الشبكة الفرعية و CIDR الذي يجب استخدامه؟
تحليل العملية:
- للحصول على ما لا يقل عن 5 شبكات فرعية: 2ⁿ ≥ 5 → n = 3 (2³ = 8 شبكات فرعية، أصغر قوة للعدد 2 تغطي 5)
- استعارة 3 بتات من جزء المضيف في \/24 يعطي /27
- تحقق من متطلبات المضيف: \/27 يترك 5 بتات مضيف → 2⁵ – 2 = 30 مضيفًا قابلًا للاستخدام لكل شبكة فرعية – بالضبط كافية
الإجابة: \/27، قناع الشبكة الفرعية 255.255.255.224, giving 8 subnets of 30 usable hosts each. This is the exact kind of two-constraint question (minimum subnets AND minimum hosts) the real exam asks – always check both numbers against your chosen CIDR before finalizing it, since satisfying only one of the two is a common wrong-answer trap.
VLSM: Subnets of Different Sizes
Every example above assumes every subnet is the same size, which wastes addresses in the real world – a point-to-point WAN link between two routers needs only 2 usable addresses, not 62. Variable Length Subnet Masking (VLSM) is subnetting a subnet again, using a different, more appropriate mask for each segment based on how many hosts it actually needs.
The practical rule: size the biggest subnet first, then work down to the smallest. For a network needing one 50-host LAN, one 20-host LAN, and one 2-host WAN link from 192.168.1.0/24:
| Segment | Hosts needed | CIDR | شبكة فرعية |
|---|---|---|---|
| LAN A | 50 | /26 (62 usable) | 192.168.1.0/26 |
| LAN B | 20 | /27 (30 usable) | 192.168.1.64/27 |
| WAN link | 2 | /30 (2 usable) | 192.168.1.96/30 |
This is a real, frequently tested CCNA topic precisely because it mirrors how addressing is actually planned on a real network – nobody hands a /30 point-to-point link a /24’s worth of wasted addresses.
Tools & Resources for Fast Practice
🙋♂️ FAQ – Google-Ranked Questions
What is subnetting in simple words?
Subnetting is dividing one large network into smaller, more manageable networks.
How do I calculate subnet masks?
Use powers of 2 to calculate how many bits you need to borrow. Then convert to CIDR.
What’s the difference between IP address and subnet mask?
An IP address identifies a device; the subnet mask defines what part is network vs. host.
Do I need to know binary for CCNA subnetting?
Yes, a basic understanding of binary is essential — at least enough to convert and calculate subnet blocks.
Wildcard Masks: Subnet Masks’ Inverted Cousin
ACLs and OSPF’s الشبكة statements do not use a subnet mask – they use a wildcard mask, which is the inverse. This single point of confusion costs more CCNA candidates points than almost anything else in this topic area:
Subnet mask: 255.255.255.0
Wildcard mask: 0.0.0.255
The quick way to calculate a wildcard mask without re-deriving it from scratch: subtract each octet of the subnet mask from 255. A /27 (255.255.255.224) becomes a wildcard of 0.0.0.31. This is exactly why an access-list أو router ospf network line that looks like it has the subnet mask typed backwards is often correct – it is supposed to be inverted.
إذا كنت تفضّل أن يشرح لك أحدهم ذلك خطوة بخطوة، أو تحتاج إلى مختبر Packet Tracer محدد مكتمل ومشرح بدلاً من أن تحله بنفسك، راجع دروس CCNA و Packet Tracer الصفحة التي توضح كيفية عمل ذلك.

