CIDR calculator
CIDR calculator مقابل IPv4 وIPv6: network range وsubnet mask, wildcard mask, host العدد, وconversion من a start ومن end address إلى CIDR blocks.
حول CIDR calculator
CIDR calculator مقابل IPv4 وIPv6: network range وsubnet mask, wildcard mask, host العدد, وconversion من a start ومن end address إلى CIDR blocks.
جزء من قسم «البيانات والشبكات» في SmartCalcy. تعمل في متصفحك دون حساب، وتستخدم عملتك ووحداتك (غيّرها من أعلى الصفحة)، وتعطي تقديرات للعلم فقط، فتحقق من الإرشادات الرسمية قبل الاعتماد على نتيجة.
كيفية استخدام CIDR calculator
ما الذي يحسبه ومتى تستخدمه
Works out the المدى وsubnet mask, wildcard mask وsize من a CIDR block مقابل IPv4 أو IPv6 وaccepts an address with a dotted mask, وconverts a start وend address into the smallest list من CIDR blocks that cover them exactly.
طريقة الاستخدام خطوة بخطوة
- Choose “CIDR block” أو “Address المدى”.
- Enter a block such as 192.168.10.0/22 وor the first وlast address من a range.
- Read the first وlast address وmasks وnumber من hosts.
- For a المدى, نسخ the list من CIDR بلوكات.
معنى كل مُدخل
- CIDR block, أو address with mask – An IPv4 أو IPv6 address followed by /prefix وor an IPv4 address وa dotted mask such as 255.255.252.0.
- First وlast address – The two ends من a range, both IPv4 أو both IPv6.
كيف تقرأ النتائج
- Address المدى – The first وlast address من the block, وthe number من addresses.
- Masks – قناع الشبكة الفرعية وwildcard mask مقابل IPv4.
- Usable hosts – Addresses available مقابل devices: the total minus the network وbroadcast addresses وexcept /31 و/32.
- CIDR بلوكات – For a المدى, the الحد الأدنى set من بلوكات that covers it.
الصيغة
A /n block has 2^(بتّات − n) addresses وwhere bits هو 32 مقابل IPv4 و128 مقابل IPv6. The network address هو the given address with the host bits set to zero. For IPv4 the usable hosts are 2^(32 − n) − 2. IPv6 uses BigInt arithmetic مقابل exact results.
مثال محلول
من 192.168.10.0/22 covers 192.168.8.0 إلى 192.168.11.255 وwhich هو 1,024 addresses و1,022 usable hosts, with mask 255.255.252.0.
الافتراضات والحدود
- Usable hosts follow the usual convention من removing the network وbroadcast addresses. /31 links use both addresses و/32 هو a single host.
- IPv6 بلوكات have لا broadcast address.
- A المدى that does not لائق one block returns several بلوكات.
أخطاء شائعة
- Entering a host address ومن expecting it إلى be the network address. The tool shows the real network address.
- Using a non-contiguous mask such as 255.0.255.0, which هو not valid.
- Mixing an IPv4 first address with an IPv6 last address.
الأسئلة الشائعة
What هو CIDR notation?
A way من writing an address range as an address وa prefix length, such as 10.0.0.0/8, where the prefix هو the number من fixed leading bits.
How many hosts are في a /24?
256 addresses و254 مضيف قابل للاستخدام.
What هو a wildcard mask?
The inverse من the subnet mask, used في access lists. For 255.255.255.0 it هو 0.0.0.255.
What هو a /64 في IPv6?
The standard الحجم من one IPv6 subnet, with 2^64 addresses.
علبة a المدى always be one block?
Only if it starts on a boundary وits size هو a power من two. Otherwise it هو split into several blocks.
أدوات ذات صلة
Block التفاصيل
- عنوان الشبكة
- 192.168.8.0
- قناع الشبكة الفرعية
- 255.255.252.0
- قناع البدل
- 0.0.3.255
- أول مضيف قابل للاستخدام
- 192.168.8.1
- آخر مضيف قابل للاستخدام
- 192.168.11.254
- عنوان البث
- 192.168.11.255
- إجمالي العناوين
- 1,024
- Usable hosts
- 1,022
- الPrefix leng
- /22
- Mask في ثنائي
- 11111111.11111111.11111100.00000000