الدليل الشامل لتجزئة شبكات IPv4 و IPv6 وبنية CIDR
تجزئة الشبكات (Subnetting) هي التقنية الرياضية الأساسية المستخدمة في شبكات الحاسوب لتقسيم شبكة فيزيائية أو افتراضية كبيرة إلى شبكات فرعية أصغر ومنظمة منطقياً. من خلال تجزئة مساحات عناوين IP، يعزز مهندسو الشبكات الأمان عبر عزل التحكم في الوصول، واحتواء عواصف البث، وتقليل زمن الاستجابة، وضمان الحفاظ على عناوين IPv4 إلى أقصى حد. يعد فهم توجيه النطاقات غير المصنفة (CIDR) وأقنعة الشبكات الفرعية الثنائية مطلباً أساسياً لمهندسي الشبكات والحلول السحابية والأمن السيبراني.
1. الأسس الرياضية لتجزئة شبكات IPv4
يتكون عنوان IPv4 من 32 بت ثنائي مرتبة في أربعة بايتات كل منها 8 بتات وتسمى خانات ثمانية (Octets)، مفصولة بنقاط (مثل 192.168.1.1). ينقسم كل عنوان IP أساسياً إلى جزأين: بادئة الشبكة (التي تحدد الشبكة الفرعية) ومعرف الجهاز (الذي يحدد الواجهة أو الجهاز الفردي على تلك الشبكة).
- Slabs, Walls & Square Footings:
Volume = Length × Width × Thickness. For imperial measurements in feet, divide total cubic feet by 27 to obtain cubic yards. - Cylindrical Columns, Post Holes & Round Piers:
Volume = π × (Diameter / 2)² × Depth. Circular footings distribute loads radially, requiring precise depth calculations below the regional frost line. - Circular Slabs & Hollow Tubes:
Volume = π × (r₁² - r₂²) × Height, where r₁ represents the outer radius and r₂ represents the inner void or core radius. - Curbs & Gutters: Cross-sectional profile area of the vertical curb plus the horizontal apron flag multiplied by total lineal run length.
- Stairs: Calculated by summing the triangular and rectangular step prisms plus any adjoining landing platform volume.
2. نطاقات IP الخاصة (RFC 1918) مقابل التوجيه العام
لمنع النفاد المبكر لمجموعة عناوين IPv4 العالمية البالغة 4.29 مليار عنوان، خصصت مجموعة مهندسي الإنترنت (IETF) ثلاث كتل IPv4 خاصة بموجب وثيقة RFC 1918 يُضمن عدم توجيهها على شبكة الإنترنت العامة:
| Application / Project Type | Recommended Thickness | Sub-Base Preparation | Reinforcement Standard |
|---|---|---|---|
| Sidewalks & Garden Walkways | 4 inches (10 cm) | 3–4" compacted crushed gravel | Welded wire mesh (6x6 - W1.4/W1.4) or fiber-mesh |
| Residential Patios | 4 inches (10 cm) | 4" compacted road base gravel | #3 (3/8") rebar on 18" centers or wire mesh |
| Residential Driveways (Light Cars) | 4 to 5 inches (10–12.5 cm) | 4–6" crushed limestone or gravel | #4 (1/2") rebar on 12" to 16" grid pattern |
| Heavy-Duty Driveways & RV Pads | 6 inches (15 cm) | 6" compacted angular aggregate | #4 rebar on 12" centers with rebar chairs |
| Foundation Footings & Grade Beams | 8 to 12 inches (20–30 cm) | Undisturbed native soil or compacted stone | Continuous longitudinal #4 or #5 rebar cages |
3. بنية IPv6 والبادئة الإلزامية /64
يحل IPv6 محل قيود 32 بت الخاصة بـ IPv4 بمساحة عناوين هائلة تبلغ 128 بت، مما يمثل 2^128 عنواناً فريداً. تُكتب عناوين IPv6 في ثماني مجموعات تتألف كل منها من أربعة أرقام ست عشرية مفصولة بنقطتين رأسيتين.
- Under 1 Cubic Yard (Under 45 × 80-lb bags): Mixing dry pre-mixed bags in a portable drum mixer or wheelbarrow is typically more cost-effective. Ready-mix suppliers impose short-load fees on deliveries under 4 to 5 cubic yards.
- 1 to 2 Cubic Yards (45 to 90 × 80-lb bags): The transition zone. Mixing 80 bags by hand requires intense manual labor (over 3 tons of material handling). Renting a towable mixer or paying a small short-load fee is highly recommended.
- Over 2 Cubic Yards: Always order ready-mix transit delivery. A single ready-mix truck discharges 3 to 5 cubic yards in under 15 minutes, ensuring a monolithic, continuous pour without cold joints.
4. تجزئة شبكات السحابة الافتراضية VPC (AWS و Azure و GCP)
عند تصميم الشبكات الفرعية في بيئات السحابة الرائدة مثل Amazon Web Services (AWS VPC) و Microsoft Azure و Google Cloud Platform (GCP VPC)، يحجز موفرو الخدمات السحابية عناوين IP إضافية داخل كل شبكة فرعية لخدمات البنية التحتية:
- 1 Part Portland Cement: Type I/II general construction cement providing compressive bonding strength.
- 2 Parts Washed Sharp Sand: Fine aggregate filling microscopic voids between stone particles.
- 3 Parts Crushed Stone or Gravel: Coarse aggregate (3/8" to 3/4" size) providing structural load resistance.
- 0.5 Parts Clean Water: The water-cement ratio should be kept between 0.45 and 0.50 by weight. Adding excess water weakens cured concrete drastically, creating surface dusting and shrinkage cracks.
5. مراحل المعالجة والتصلب والظروف البيئية
الخرسانة لا تجف، بل تتصلب وتكتسب قوتها من تفاعل الإماهة الكيميائي بين الأسمنت والماء. احرص على رش الماء والترطيب المستمر طوال أول 7 أيام:
- Initial Set (24 to 48 Hours): Safe for careful foot traffic and stripping edge formwork.
- 7-Day Curing: Achieves approximately 70% of design compressive strength (e.g., ~2,800 PSI for a 4,000 PSI mix). Safe for light passenger vehicles.
- 28-Day Curing: Full design compressive strength (typically 3,000 to 4,500 PSI). Safe for heavy equipment, sealers, and full design loads.