Kalkulačka podsiete (IPv4 CIDR)
Úplný rozpis IPv4 podsiete: sieť, broadcast, maska, wildcard, host range a count.
Výsledky sa aktualizujú počas písania.
O tejto kalkulačke
the IPv4 address is 192.168.1.10, the CIDR prefix is /24. The 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 /24 is the prefix of the IPv4 address. The /24 is the prefix of the IPv4 address. The /24 is the prefix of the IPv4 address. The /24 is the prefix of the IPv4 address. The /24 is the prefix of the IPv4 address. The /24 is the prefix of the IPv4 address. The /24 is the prefix of the IPv4 address. The /24 is the prefix of the IPv4 address. The /24 is the prefix of the IPv4 address. The /24 is the prefix of the IPv4 address. The /24 is the prefix of the IPv4 address. The /24 is the prefix of the IPv4 address. The /24 is the prefix of the IPv4 address. The /24 is the prefix of the IPv4 address. The /24 is the prefix of the IPv4 address. The /24 is the prefix of the IPv4 address. The /24 is the prefix of the IPv4 address. The /24 is the prefix of the IPv4 address. The /24 is the prefix of the IPv4 address. The /24 is the prefix of the IPv4 address. The /24 is the prefix of the IPv4 address. The /24 is the prefix of the IPv4 address. The /24 is the prefix of the IPv4 address
Často kladené otázky
Koľko hostiteľských počítačov je v podsiete?
Podsieť /n má 2^(32−n) adries, mínus dve rezervované pre sieť a broadcast, /24 má 256 adries a 254 použiteľné hostiteľské počítače.
Čo je maska zástupného znaku?
Zástupná maska je bitová inverzia masky podsiete (255.0 → 0.255), ktorú používajú Access-control listy a OSPF na hľadanie rozsahov adries.
Aký je rozdiel medzi sieťovou a vysielacou adresou?
Sieťová adresa (všetky hostiteľské bity 0) pomenúva podsietu, vysielacia adresa (všetky hostiteľské bity 1) dosiahne každého hostiteľa v nej, ani jedna nemôže byť priradená k zariadeniu.
Čo znamená predpona CIDR (/24, /16)?
Ide o počet predchádzajúcich bitov, ktoré tvoria sieťovú časť adresy. Väčšia predpona znamená viac sieťových bitov a menej hostiteľských bitov, takže menšia podsiete: /24 dáva 254 hostiteľských počítačov, /25 dáva 126, a každý ďalší bit znižuje blok o polovicu.
Ako rozdelím sieť na menšie podsiete?
Rozdelenie /24 na dve /25s dáva dva bloky 126 hosts; prechod na /26 dáva štyri bloky 62 hosts. Každý pridaný bit predpony zdvojnásobuje počet podsieťí a znižuje ich veľkosť o polovicu.
Čo je trieda IP adresy?
Stará triedová schéma rozdeľovala adresy podľa ich prvého okteta: trieda A (1-126), trieda B (128-191) a trieda C (192-223) pre unicast, plus D pre multicast a E rezervované.CIDR nahradil triedy pre prideľovanie, ale kalkulačka stále hlási triedu, do ktorej adresa patrí.
Na čo slúžia podsiete /31 a /32?
A /31 má len dve adresy a žiadne broadcast, používa sa pre spojenie medzi routermi. A /32 je jediná hostiteľská adresa, ktorá je bežná pre loopbacky a hostiteľské trasy. Kalkulačka zvládne oba špeciálne prípady.
API — použite túto kalkulačku z kódu
Zavolajte túto kalkulačku ako voľný koncový bod JSON – nevyžaduje sa žiadny kľúč.Odoslať hodnoty polí nižšie ako parametre dotazu alebo JSON. Prečítajte si celú dokumentáciu API →
Koncový bod
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);
Výsledky sú odhady len pre všeobecné usmernenie, nie finančné, lekárske alebo daňové poradenstvo.