Kalkulator Subnet (IPv4 CIDR)

IPv4 punika dipundamel saking 40 sub-net, inggih punika: jaringan, broadcast, mask, wildcard, host range, lan count.

/
Kacamatan iki duwé wewengkon 2.255,55 km² lan populasi 255.000 jiwa.
Alamat jaringan —
Alamat broadcast —
Subnet mask —
Jajar —
Host kang bisa digunakake —
Jarak Host —

Hasil dioptimalake nalika sampeyan ngetik.

Did this calculator give you the right answer?

Ngendi kalkulator iki

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.

Takon kang asring diajukake

Apa ana host ing subnet?

Ing taun 2000, 256 bit digunakaké kanggo alamat IPv4 lan 256 bit kanggo alamat IPv6.

Apa iku maskapai penerbangan?

Topeng wilah aksara iku inversi bitwise saka topeng subnet (255.0 → 0.255). Daftar kontrol akses lan OSPF nggunakake kanggo nggabungake watara alamat.

Apa bedane antarané alamat jaringan lan broadcast?

Alamat jaringan (kabeh host bit 0) ngenalaken subnet; alamat broadcast (kabeh host bit 1) nyakup saben host ing subnet. Kabeh ora bisa ditugasaké ing piranti.

Apa tegesé prefiks CIDR (/24, /16)?

Iki ya iku jumlah bit utama kang ngwangun pérangan jaringan alamat. Prefiks kang luwih gedhé tegesé luwih akeh bit jaringan lan kurang bit host, mula subnet kang luwih cilik: /24 bakal menehi 254 host, /25 bakal menehi 126, lan saben bit tambahan bakal nyuda setengah blok.

Kepiye aku bisa ngresiki jaringan dadi subnet sing luwih cilik?

Pinjaman host bit kanthi nambahake prefiks. Ngresiki /24 dadi loro /25s bakal menehi loro blok 126 host; pindhah menyang /26 bakal menehi papat blok 62. Saben bit prefiks ditambahake bakal ngganda jumlah subnet lan nyuda ukurané setengah.

IP Address iku salah siji jinis alamat IP.

Klasifikasi iki dipérang dadi telung kelas, ya iku: Klasa A (1-126), Klasa B (128-191) lan Klasa C (192-223) kanggo unicast, plus D kanggo multicast lan E reserved.

13/32 subnets dipungunakaken kanggé punapa?

A /31 mung duwé loro alamat lan ora ana broadcast, digunakaké kanggo point-to-point link antar router. A /32 ya iku alamat host tunggal, umum kanggo loopback lan rute host. Kalkulator iki ngontrol loro kasus khusus.

❤️ Cinta Calculator.Free? Bagiaké

𝕏  X Facebook Reddit
API — gunakake kalkulator iki saka kode

Panggenan kalkulator iki minangka titik pungkasan JSON gratis - ora ana kunci sing dibutuhaké. Kirimi nilai medan ing ngisor iki minangka parameter pitakonan utawa JSON. Anything you omit uses the same default this page is pre-filled with; an unknown parameter is a 400, never a silent zero. Waca dokumen API lengkap →

Titik pungkasan

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);

Kajaba iku, ana uga sing ora bisa gawé gawéan, kaya ta dokter, insinyur, lan liya-liyané.