> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/ar/hacking-tools/calculators/subnetting-calculator.md).

# حاسبة تقسيم الشبكات

ابحث عن بادئة CIDR مثل `/24`, `/27`، أو `/30` للحصول على قناع الشبكة الفرعية، والقناع العكسي، وعدد العناوين، وحجم نطاق المضيفين القابلين للاستخدام، وحجم الكتلة.

## أداة العثور على CIDR

<table data-view="cards" data-full-width="true" data-search="true"><thead><tr><th>CIDR</th><th>قناع الشبكة الفرعية</th><th>القناع العكسي</th><th>إجمالي عناوين IP</th><th>المضيفون القابلون للاستخدام</th><th>حجم الكتلة</th><th>الاستخدام الشائع</th></tr></thead><tbody><tr><td><code>/0</code></td><td>0.0.0.0</td><td>255.255.255.255</td><td>4,294,967,296</td><td>4,294,967,294</td><td>256 في الأوكتت الأول</td><td>المسار الافتراضي</td></tr><tr><td><code>/8</code></td><td>255.0.0.0</td><td>0.255.255.255</td><td>16,777,216</td><td>16,777,214</td><td>1 في الأوكتت الأول</td><td>شبكة كبيرة جدًا</td></tr><tr><td><code>/9</code></td><td>255.128.0.0</td><td>0.127.255.255</td><td>8,388,608</td><td>8,388,606</td><td>128 في الأوكتت الثاني</td><td>تقسيم كبير</td></tr><tr><td><code>/10</code></td><td>255.192.0.0</td><td>0.63.255.255</td><td>4,194,304</td><td>4,194,302</td><td>64 في الأوكتت الثاني</td><td>تقسيم كبير</td></tr><tr><td><code>/11</code></td><td>255.224.0.0</td><td>0.31.255.255</td><td>2,097,152</td><td>2,097,150</td><td>32 في الأوكتت الثاني</td><td>تقسيم كبير</td></tr><tr><td><code>/12</code></td><td>255.240.0.0</td><td>0.15.255.255</td><td>1,048,576</td><td>1,048,574</td><td>16 في الأوكتت الثاني</td><td>RFC1918 172.16.0.0/12</td></tr><tr><td><code>/13</code></td><td>255.248.0.0</td><td>0.7.255.255</td><td>524,288</td><td>524,286</td><td>8 في الأوكتت الثاني</td><td>مؤسسة كبيرة</td></tr><tr><td><code>/14</code></td><td>255.252.0.0</td><td>0.3.255.255</td><td>262,144</td><td>262,142</td><td>4 في الأوكتت الثاني</td><td>مؤسسة كبيرة</td></tr><tr><td><code>/15</code></td><td>255.254.0.0</td><td>0.1.255.255</td><td>131,072</td><td>131,070</td><td>2 في الأوكتت الثاني</td><td>مؤسسة كبيرة</td></tr><tr><td><code>/16</code></td><td>255.255.0.0</td><td>0.0.255.255</td><td>65,536</td><td>65,534</td><td>1 في الأوكتت الثاني</td><td>شبكة محلية كبيرة</td></tr><tr><td><code>/17</code></td><td>255.255.128.0</td><td>0.0.127.255</td><td>32,768</td><td>32,766</td><td>128 في الأوكتت الثالث</td><td>كتلة VLAN كبيرة</td></tr><tr><td><code>/18</code></td><td>255.255.192.0</td><td>0.0.63.255</td><td>16,384</td><td>16,382</td><td>64 في الأوكتت الثالث</td><td>كتلة VLAN كبيرة</td></tr><tr><td><code>/19</code></td><td>255.255.224.0</td><td>0.0.31.255</td><td>8,192</td><td>8,190</td><td>32 في الأوكتت الثالث</td><td>كتلة VLAN كبيرة</td></tr><tr><td><code>/20</code></td><td>255.255.240.0</td><td>0.0.15.255</td><td>4,096</td><td>4,094</td><td>16 في الأوكتت الثالث</td><td>شبكة متوسطة</td></tr><tr><td><code>/21</code></td><td>255.255.248.0</td><td>0.0.7.255</td><td>2,048</td><td>2,046</td><td>8 في الأوكتت الثالث</td><td>شبكة متوسطة</td></tr><tr><td><code>/22</code></td><td>255.255.252.0</td><td>0.0.3.255</td><td>1,024</td><td>1,022</td><td>4 في الأوكتت الثالث</td><td>شبكة متوسطة</td></tr><tr><td><code>/23</code></td><td>255.255.254.0</td><td>0.0.1.255</td><td>512</td><td>510</td><td>2 في الأوكتت الثالث</td><td>شبكتان /24</td></tr><tr><td><code>/24</code></td><td>255.255.255.0</td><td>0.0.0.255</td><td>256</td><td>254</td><td>1 في الأوكتت الثالث</td><td>شبكة محلية شائعة</td></tr><tr><td><code>/25</code></td><td>255.255.255.128</td><td>0.0.0.127</td><td>128</td><td>126</td><td>128 في الأوكتت الرابع</td><td>نصف /24</td></tr><tr><td><code>/26</code></td><td>255.255.255.192</td><td>0.0.0.63</td><td>64</td><td>62</td><td>64 في الأوكتت الرابع</td><td>VLAN صغيرة</td></tr><tr><td><code>/27</code></td><td>255.255.255.224</td><td>0.0.0.31</td><td>32</td><td>30</td><td>32 في الأوكتت الرابع</td><td>شبكة فرعية صغيرة</td></tr><tr><td><code>/28</code></td><td>255.255.255.240</td><td>0.0.0.15</td><td>16</td><td>14</td><td>16 في الأوكتت الرابع</td><td>شبكة فرعية صغيرة جدًا</td></tr><tr><td><code>/29</code></td><td>255.255.255.248</td><td>0.0.0.7</td><td>8</td><td>6</td><td>8 في الأوكتت الرابع</td><td>مقطع مُوجَّه صغير</td></tr><tr><td><code>/30</code></td><td>255.255.255.252</td><td>0.0.0.3</td><td>4</td><td>2</td><td>4 في الأوكتت الرابع</td><td>نقطة إلى نقطة</td></tr><tr><td><code>/31</code></td><td>255.255.255.254</td><td>0.0.0.1</td><td>2</td><td>2 للنقطة إلى نقطة</td><td>2 في الأوكتت الرابع</td><td>وصلة نقطة إلى نقطة</td></tr><tr><td><code>/32</code></td><td>255.255.255.255</td><td>0.0.0.0</td><td>1</td><td>مسار مضيف واحد</td><td>عنوان IP واحد</td><td>مضيف واحد</td></tr></tbody></table>

## الحساب اليدوي

| خطوة                        | الصيغة                                                |
| --------------------------- | ----------------------------------------------------- |
| إجمالي عناوين IP            | `2^(32 - CIDR)`                                       |
| المضيفون القابلون للاستخدام | `الإجمالي - 2`، باستثناء `/31` و `/32` الحالات الخاصة |
| حجم الكتلة                  | `256 - أوكتت القناع المهم`                            |
| عنوان الشبكة                | قرّب الأوكتت المهم إلى الأسفل إلى أقرب كتلة           |
| عنوان البث                  | الشبكة التالية ناقص 1                                 |
| أول مضيف                    | عنوان الشبكة زائد 1                                   |
| آخر مضيف                    | عنوان البث ناقص 1                                     |

## أمثلة محلولة

<table data-view="cards" data-full-width="true" data-search="true"><thead><tr><th>IP/CIDR</th><th>الشبكة</th><th>أول مضيف</th><th>آخر مضيف</th><th>البث</th><th>ملاحظات</th></tr></thead><tbody><tr><td><code>192.168.1.37/27</code></td><td>192.168.1.32</td><td>192.168.1.33</td><td>192.168.1.62</td><td>192.168.1.63</td><td>تزداد كتل /27 بمقدار 32.</td></tr><tr><td><code>10.10.10.10/30</code></td><td>10.10.10.8</td><td>10.10.10.9</td><td>10.10.10.10</td><td>10.10.10.11</td><td>تزداد كتل /30 بمقدار 4.</td></tr><tr><td><code>172.16.44.201/26</code></td><td>172.16.44.192</td><td>172.16.44.193</td><td>172.16.44.254</td><td>172.16.44.255</td><td>تزداد كتل /26 بمقدار 64.</td></tr><tr><td><code>192.168.56.90/28</code></td><td>192.168.56.80</td><td>192.168.56.81</td><td>192.168.56.94</td><td>192.168.56.95</td><td>تزداد كتل /28 بمقدار 16.</td></tr></tbody></table>

## النطاقات المفيدة

| نطاق                          | CIDR             | استخدم        |
| ----------------------------- | ---------------- | ------------- |
| 10.0.0.0 - 10.255.255.255     | `10.0.0.0/8`     | شبكة خاصة     |
| 172.16.0.0 - 172.31.255.255   | `172.16.0.0/12`  | شبكة خاصة     |
| 192.168.0.0 - 192.168.255.255 | `192.168.0.0/16` | شبكة خاصة     |
| 127.0.0.0 - 127.255.255.255   | `127.0.0.0/8`    | حلقة رجعية    |
| 169.254.0.0 - 169.254.255.255 | `169.254.0.0/16` | محلي الارتباط |
| 224.0.0.0 - 239.255.255.255   | `224.0.0.0/4`    | متعدد الإرسال |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://hacking-notes.jord4n.pro/ar/hacking-tools/calculators/subnetting-calculator.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
