SmartCalcy.روزمرہ حساب کے فوری جوابات
/
ڈیٹا اور نیٹ ورکنگ

CIDR calculator

CIDR calculator کے لیے IPv4 اور IPv6: network range، subnet mask, wildcard mask, host تعداد, اور a start کے conversion اور end address سے CIDR blocks.

CIDR calculator کے بارے میں

CIDR calculator کے لیے IPv4 اور IPv6: network range، subnet mask, wildcard mask, host تعداد, اور a start کے conversion اور end address سے CIDR blocks.

SmartCalcy کے “ڈیٹا اور نیٹ ورکنگ” سیکشن کا حصہ۔ یہ آپ کے براؤزر میں بغیر اکاؤنٹ کے چلتا ہے، آپ کی اپنی کرنسی اور اکائیاں استعمال کرتا ہے (صفحے کے اوپر بدلیں)، اور صرف معلومات کے لیے اندازے دیتا ہے، اس لیے کسی نتیجے پر بھروسا کرنے سے پہلے سرکاری رہنمائی دیکھ لیں۔

CIDR calculator کا استعمال کیسے کریں

یہ کیا حساب کرتا ہے اور کب استعمال کریں

Works out the حد، subnet mask, wildcard mask اور a CIDR block کے size کے لیے IPv4 یا IPv6، accepts an address with a dotted mask, اور converts a start اور CIDR blocks that cover them exactly. کے end address into the smallest list

استعمال کا طریقہ، قدم بہ قدم

  1. Choose “CIDR block” یا “Address حد”.
  2. Enter a block such as 192.168.10.0/22، or the first اور a range. کے last address
  3. Read the first اور last address، masks اور hosts. کے number
  4. CIDR بلاک. کے For a حد, کاپی کریں the list

ہر ان پٹ کا مطلب

  • 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 – a range, both IPv4 یا both IPv6. کے The two ends

نتائج کیسے پڑھیں

  • Address حد – The first اور the block, کے last address اور addresses. کے the number
  • Masks – سب نیٹ ماسک اور wildcard mask کے لیے IPv4.
  • Usable hosts – Addresses available کے لیے devices: the total minus the network اور broadcast addresses، except /31 اور /32.
  • CIDR بلاک – بلاک that covers it. کے For a حد, the کم از کم set

فارمولا

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.

مفروضے اور حدود

  • removing the network کے Usable hosts follow the usual convention اور 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?

writing an address range as an address کے A way اور a prefix length, such as 10.0.0.0/8, where the prefix ہے fixed leading bits. کے the number

a /24? میں How many hosts are

256 addresses اور 254 قابلِ استعمال ہوسٹ.

What ہے a wildcard mask?

access lists. For 255.255.255.0 it میں the subnet mask, used کے The inverse ہے 0.0.0.255.

What ہے IPv6? میں a /64

one IPv6 subnet, with 2^64 addresses. کے The standard سائز

کین a حد always be one block?

Only if it starts on a boundary اور its size ہے two. Otherwise it کے a power ہے split into several blocks.

متعلقہ ٹولز

Address حد
192.168.8.0 – 192.168.11.255
1,024 addresses · /22

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
192.168.10.0 ہے the block. The network address کے not the first address ہے 192.168.8.0.