Sungura wa "Letnet " (IPv4 CIDR)
Ukosefu kamili wa mfumo wa PIv4: mtandao, utangazaji, kinyago cha kufunika uso, safu za ndege mwitu, na nambari.
Matokeo yanakuwa bora zaidi unapochapa.
Kuhusu kifaa hiki cha kupigia hesabu
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.
Maswali yaliyoulizwa mara nyingi
Ni ndege wangapi walio katika eneo la ndege?
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.
Kisetiri cha kufunika uso chenye majani - mwitu ni nini?
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.
Kuna tofauti gani kati ya mawasiliano na anwani ya redio?
The network address (all host bits 0) names the subnet; the broadcast address (all host bits 1) reaches every host on it. Neither can be assigned to a device.
Je, jina CILD coms (/24, /16) linamaanisha nini?
Kiambishi kikubwa zaidi humaanisha vipande vingi vya mtandao na vingine vichache zaidi, kwa hiyo sehemu ndogo ya chini: /24 huwapa askari 254, /25 hutoa 126, na kila kipande cha ziada hugawanya sehemu hiyo.
Ninawezaje kugawanya mfumo wa kuunganisha shuka ndogo zaidi?
Borrow host bits by increasing the prefix. Splitting a /24 into two /25s gives two blocks of 126 hosts; going to /26 gives four blocks of 62. Each added prefix bit doubles the number of subnets and halves their size.
Ni nini darasa la IP obs?
The old classful scheme split addresses by their first octet: Class A (1–126), Class B (128–191) and Class C (192–223) for unicast, plus D for multicast and E reserved. CIDR replaced classes for allocation, but the calculator still reports the class the address falls in.
Ni nini /31 na /32 pennet hutumiwa kwa ajili ya nini?
A /31 ina anwani mbili tu na hakuna matangazo ya moja kwa moja, yanayotumiwa kwa ajili ya mawasiliano ya wazi kati ya waendesha - njia. A /32 ni anwani ya mkaribishaji, ya kawaida kwa ajili ya mipindo ya vipele na njia za dharura.
API bustanini hutumia kifaa hiki cha hesabu kutoka kwenye mfumo wa sheria
Ipigie simu kifaa hiki cha kupigia hesabu kama Junse É not doot toder. Chochote unachoacha kinatumia kiwango kilekile cha mwisho ambacho ukurasa huu haujakamilika; parameta isiyojulikana ni 400, si sufuri kimya kamwe. Soma habari kamili za API docs →
keyboard label
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);
Matokeo ni makadirio ya mwongozo wa ujumla, si wa kifedha, wa kitiba au wa kodi tu.