RevealTheme logo

ماشین‌حساب CIDR

کوچک‌ترین بلوک CIDR را که از N میزبان پشتیبانی می‌کند پیدا کنید. تخصیص‌های IP را به‌صورت کارآمد برنامه‌ریزی کنید.

کوچک‌ترین CIDR متناسب 50 میزبان/26
کل آدرس‌ها در /2664
میزبان‌های قابل‌استفاده62
فضای آدرس هدررفته12

نحوه استفاده از این ابزار

  1. 1

    Type the number of hosts you need to address into the 'Hosts needed' field.

  2. 2

    Read the 'Smallest CIDR fitting' row to get the prefix length (for example /26).

  3. 3

    Check the 'Total addresses' and 'Usable hosts' rows to confirm the block is big enough.

  4. 4

    Look at the 'Address space wasted' row to see how many addresses you would leave unused at that prefix.

ماشین‌حساب CIDR چیست؟

هنگام برنامه‌ریزی یک شبکه، از تعداد میزبان‌ها شروع می‌کنید و به‌صورت معکوس به یک پیشوند CIDR می‌رسید. زیرشبکه‌سازی به توان‌های ۲ نیاز دارد: برای جای دادن ۵۰ میزبان به دست‌کم ۶۴ آدرس نیاز دارید (۲ آدرس برای شبکه/پخش رزرو می‌شود)، که معادل یک /26 است. این ابزار کوچک‌ترین CIDR را که تعداد میزبان‌های شما را برآورده می‌کند محاسبه می‌کند.

موارد استفاده رایج

  • Sizing a new office VLAN by entering the expected device count and picking the prefix that leaves a little headroom.

  • Quickly checking whether a /24 is overkill for a subnet that only needs 30 hosts.

  • Comparing the wasted-address count across host estimates before you carve up a parent block.

  • Teaching subnetting students why 50 hosts needs 64 addresses and not 50.

  • Planning IP allocation for a fleet of IoT devices and confirming the block will not run out as you scale.

  • Sanity-checking a colleague's subnet proposal by reproducing the host-to-prefix math in seconds.

پرسش‌های متداول

چرا ۲ کم می‌شود؟
هر زیرشبکه IPv4 آدرس اول (شبکه) و آدرس آخر (پخش) را رزرو می‌کند. تنها آدرس‌های میانی می‌توانند به میزبان‌ها تخصیص داده شوند.

ابزارهای مرتبط