🔧Toolify

IPv4 Subnet Calculator (CIDR, mask, hosts)

Optional CIDR के साथ IPv4 address type करें (जैसे 192.168.1.10/24)। Network address, broadcast, first/last usable host, total addresses, netmask, wildcard, IP class, public/private status, और binary representation return करता है।

Network
192.168.1.0/24
Usable hosts
254
IP address
192.168.1.10
Subnet mask
255.255.255.0 (/24)
Wildcard mask
0.0.0.255
Network address
192.168.1.0
Broadcast
192.168.1.255
First usable host
192.168.1.1
Last usable host
192.168.1.254
Total addresses
256
IP class
C
RFC 1918 private
Binary
11000000.10101000.00000001.00001010

कैसे काम करता है

CIDR notation का क्या मतलब है

CIDR (Classless Inter-Domain Routing) IP address के बाद slash + number है — '192.168.1.10/24'। Number यह है कि address की शुरुआत में कितने bits network portion से belong करते हैं। /24 का मतलब 24 bits of network = 8 bits of host = 256 total addresses, 254 usable।

Common CIDRs: /32 single host, /30 link (4 addresses, 2 usable), /29 small subnet (8/6), /24 LAN (256/254), /16 large network (65k), /8 ISP-scale block (16M)। Smaller CIDR number = larger network।

Network, broadcast, और usable hosts

Network address: subnet में पहला address, सभी host bits zero के साथ। Subnet को identify करने के लिए उपयोग; device को assignable नहीं।

Broadcast address: आखिरी address, सभी host bits one के साथ। Subnet के हर host को packet send करने के लिए उपयोग; assignable नहीं।

Usable hosts: total addresses minus network और broadcast = 2^(32−CIDR) − 2। Exception: /31 (point-to-point links) और /32 (single host) RFC 3021 के per सभी addresses usable treat करते हैं।

Public बनाम private addresses

RFC 1918 private internal networks के लिए तीन address ranges reserve करता है: 10.0.0.0/8 (16M addresses), 172.16.0.0/12 (1M), 192.168.0.0/16 (65k)। अधिकांश home और office routers इनका slice उपयोग करते हैं (typically 192.168.1.0/24 या 192.168.0.0/24)।

Public addresses global internet पर routable हैं और regional registries (ARIN, RIPE, APNIC, etc.) द्वारा assigned हैं। IPv4 exhaustion ने CIDR adoption और IPv6 deployment drive किया है।

Calculator detect करता है कि कोई address private ranges में fall करता है; network design verify करने या यह confirm करने के लिए useful कि कोई leak private addresses internet को नहीं भेज रहा।

अक्सर पूछे जाने वाले प्रश्न

Usable hosts total से 2 less क्यों हैं?

पहला address (सभी host bits 0) network identifier है और आखिरी (सभी 1s) broadcast है। दोनों reserved हैं और host को assign नहीं किए जा सकते।

/31 में 0 के बजाय 2 usable hosts क्यों हैं?

RFC 3021 /31 networks को point-to-point links के लिए allow करता है। दोनों addresses usable हैं; broadcast और network reservations apply नहीं होती।

Netmask और wildcard में क्या अंतर है?

Netmask में network bits में 1s, host bits में 0s हैं (255.255.255.0)। Wildcard inverse है (0.0.0.255) — Cisco ACLs और OSPF area definitions में उपयोग होता है।

Network को subnet कैसे करें?

Parent network लें और CIDR में bits add करके smaller blocks में split करें। /24 → /25 2 subnets में split, /24 → /26 4 में।

Smallest subnet क्या हो सकता है?

/32 — single IP address। /31 smallest 'normal' subnet है (2 addresses)। /30 router-to-router links के लिए common है (4/2 usable)।

क्या यह IPv6 के लिए काम करता है?

अभी नहीं — केवल IPv4। IPv6 subnets conceptually similar हैं लेकिन 128-bit addresses, hex notation, और different conventions उपयोग करते हैं।

Possible largest single subnet क्या है?

/0 सभी 4.3 billion IPv4 addresses cover करता है — पूरा IPv4 address space। /8 16M है।

क्या data मेरे browser से बाहर जाता है?

नहीं। Calculation locally चलती है; कुछ भी server को नहीं भेजा जाता।

संबंधित टूल्स

अंतिम अपडेट:

हमारे AI प्रॉम्प्ट आज़माएं →