उपजाळ गणक (IPv4 CIDR)
ॲपल आयफोन ४ च्या बाबतीत, ॲपलने आयफोन ४एस, आयफोन ४, आयफोन ४एस प्लस, आयफोन ४ आणि आयफोन ४एस प्लस असे तीन नवीन फोन सादर केले.
तुम्ही टाइप करतेवेळी परिणाम अद्ययावत केले जातात.
या कॅल्क्युलेटरविषयी
This subnet calculator turns an IPv4 address and a CIDR prefix into the full structure of a subnet. An IPv4 address is 32 bits, usually written as four dot-separated octets like 192.168.1.10, and a CIDR prefix such as /24 splits those 32 bits into a network part (the leading bits, fixed for every host in the subnet) and a host part (the remaining bits, unique to each device). This calculator takes an address and a prefix length and derives the network address, broadcast address, subnet mask, wildcard mask and the range of usable host addresses, along with the IP class and total address count.
The size of a subnet is set by the prefix: a /n block holds 2^(32−n) addresses, of which two are reserved — the network address (all host bits 0, naming the subnet) and the broadcast address (all host bits 1, reaching every host). So a /24 has 2^8 = 256 addresses and 254 usable hosts, a /25 has 128 addresses and 126 usable hosts, and each extra prefix bit halves the block. As a worked example, 192.168.1.10/24 gives a network of 192.168.1.0, a broadcast of 192.168.1.255, a 255.255.255.0 mask, a 0.0.0.255 wildcard mask, and a usable host range of 192.168.1.1 to 192.168.1.254.
Subnetting is how networks are carved into manageable, secure segments — separating departments, sizing VLANs, planning address allocation and writing firewall and routing rules. The wildcard mask (the bitwise inverse of the subnet mask) is what Cisco access-control lists and OSPF use to match ranges of addresses. The /31 and /32 prefixes are special cases: /31 is used for point-to-point links with two usable addresses and no broadcast, and /32 describes a single host.
वारंवार विचारले जाणारे प्रश्न
यामध्ये किती प्रवासी बसू शकतात?
A /n subnet has 2^(32−n) addresses, minus two reserved for the network and broadcast. A /24 has 256 addresses and 254 usable hosts.
वाईल्डकार्ड मास्क काय आहे?
A wildcard mask is the bitwise inverse of the subnet mask (255.255.255.0 → 0.0.0.255). Access-control lists and OSPF use it to match ranges of addresses.
या योजनेत प्रवासी व मालवाहतूक यांचे काय संबंध आहेत?
संजाळ पत्ता (सर्व यजमान बिट 0) उपजाळचे नाव देतो; प्रसारण पत्ता (सर्व यजमान बिट 1) त्यावरील सर्व यजमानांना पोहचतो. दोन्ही साधन करीता निश्चित केले जाऊ शकत नाही.
What does the CIDR prefix (/24, /16) mean?
It is the number of leading bits that form the network portion of the address. A larger prefix means more network bits and fewer host bits, so a smaller subnet: /24 gives 254 hosts, /25 gives 126, and each extra bit halves the block.
संजाळ कसे छोट्या उपजाळ्यांमध्ये विभाजित करावे?
पूर्वपद वाढवून यजमान बिट्स उधार घ्या. /24 ला दोन /25 मध्ये विभाजित केल्यास 126 यजमानांचे दोन ब्लॉक मिळतात; /26 ला जाऊन 62 चे चार ब्लॉक मिळतात. प्रत्येक जोडलेले पूर्वपद बिट उपजाळची संख्या दुप्पट करते व त्यांचे आकार अर्धे करते.
आयपी पत्ता वर्ग काय आहे?
पूर्वी वर्गीकृत योजना त्यांच्या पहिल्या ऑक्टेटने पत्ता विभाजित करते: वर्ग A (1-126), वर्ग B (128-191) आणि वर्ग C (192-223) युनिकॅस्टसाठी, प्लस D मल्टीकास्टसाठी आणि E आरक्षित.
What are /31 and /32 subnets used for?
A/31 मध्ये फक्त दोन पत्ता आहेत व प्रसारण नाही, रुटर दरम्यान पॉइंट-टू-पॉइंट लिंकसाठी वापरले जाते. A/32 एकमेव यजमान पत्ता आहे, loopbacks व यजमान मार्गांसाठी सामान्य. कॅल्क्युलेटर दोन्ही विशेष प्रकरणे हाताळते.
API — कोड पासून हे कॅल्क्युलेटर वापरा
या कॅल्क्युलेटरला मोफत JSON अंतबिंदू म्हणून कॉल करा - कुठलीही कि आवश्यक नाही. खालील क्षेत्र मूल्ये क्वेरी पेरेन्ट किंवा JSON म्हणून पाठवा. तुम्ही गळविलेले सर्व काही हे पान पूर्वदाखल करीता वापरले जाते; अपरिचीत बाब 400 आहे, कधीही मंद शून्य नाही. पूर्ण API दस्तऐवजीकरण वाचा →
अंतबिंदू
GET https://calculator.free/api/v1/subnet/
curl
curl "https://calculator.free/api/v1/subnet/?ip=192.168.1.10&cidr=24"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/subnet/?" + new URLSearchParams({
"ip": "192.168.1.10",
"cidr": "24"
}));
const data = await r.json();
console.log(data.results);
याचे परिणाम केवळ सामान्य मार्गदर्शनासाठी आहेत, आर्थिक, वैद्यकीय किंवा कर सल्लागार नाही.