Te tātaitai pūtoro-roto (IPv4 CIDR)
Ko te whakawehenga tīrihi-roto IPv4 katoa: te whatunga, te pāpāho, te mīhini, te pūrere, te awhe kaihautū me te tatau.
Ka whakahōutia ngā hua i te wā e tātuhi ana.
Mo tēnei tātaitai
subnet calculator is a simple, easy-to-use calculator that can be used to calculate the size of a subnet. The calculator uses the IPv4 address and the CIDR prefix to calculate the size of a subnet. The calculator uses the IPv4 address and the CIDR prefix to calculate the size of a subnet. The calculator uses the IPv4 address and the CIDR prefix to calculate the size of a subnet. The calculator uses the IPv4 address and the CIDR prefix to calculate the size of a subnet.The subnet calculator uses the IPv4 address and the CIDR prefix to calculate the size of a subnet.The subnet calculator uses the IPv4 address and the CIDR prefix to calculate the size of a subnet.The subnet calculator uses the IPv4 address and the CIDR prefix to calculate the size of a subnet.The subnet calculator uses the IPv4 address and the CIDR prefix to calculate the size of a subnet.The subnet calculator uses the IPv4 address and the CIDR prefix to calculate the size of a subnet.The subnet calculator uses the IPv4 address and the CIDR prefix to calculate the size of a subnet.The subnet calculator uses the IPv4 address and the CIDR prefix to calculate the size of a subnet.The subnet calculator uses the IPv4 address and the CIDR prefix to calculate the size of a subnet.The subnet calculator uses the IPv4 address and the CIDR prefix to calculate the size of a subnet.The subnet calculator uses the IPv4 address and the CIDR prefix to calculate the size of a subnet.The subnet calculator uses the IPv4 address and the CIDR prefix to calculate the size of a subnet.The subnet calculator uses the IPv4 address and the CIDR prefix to calculate the size of a subnet.The subnet calculator uses the IPv4 address and the CIDR prefix to calculate the size of a subnet.The subnet calculator uses the IPv4 address and the CI
Ko nga pātai e pā ana
He maha nga kaihautū i roto i tētahi whatunga iti?
He 2^(32−n) ngā ārai o te /n-rotoroto, e rua ngā ārai i whakaritea mō te whatunga me te pāpāhotanga. 256 ngā ārai me ngā kaihautū e whakamahia ana e te /24.
He aha te mārama pūkoro?
Ko te mātao pūkoro te kōaro bit-by-bit o te mātao whatunga iti (255.0 → 0.255). Ka whakamahia e ngā rārangi whakahaere uru ki te OSPF hei ōrite i ngā awhe ārai.
He aha te rerekētanga i waenganui i te whatunga me te tuakiri pāoho?
Ko te tuakiri whatunga (ngā aho kaihautū katoa 0) e kī ana i te whatunga iti; ko te tuakiri pāohotanga (ngā aho kaihautū katoa 1) e tae ana ki ia kaihautū i runga i a ia. Kāore e taea te whakawhiwhia ki tētahi pūrere.
He aha te tikanga o te tohu CIDR (/24, /16)?
Ko te tikanga o tētahi tohutoro nui ake he nui ake ngā tātai whatunga me ngā tātai kaihautū iti iho, nō reira he whatunga iti iho: /24 e tuku ana i ngā kaihautū 254, /25 e tuku ana i te 126, ā, ko ia tātai tāpiri e haurua ana i te kōpaka.
He pēhea te wehe i tētahi whatunga ki ngā whatunga iti iho?
Ka whakawātea ngā kōwaeawa kaihautū mā te whakanui i te tohu. Ko te whakawehenga o te /24 ki ngā /25s e rua e tuku ana i ngā kōwaeawa e rua o ngā kaihautū 126; e haere ana ki te /26 e tuku ana i ngā kōwae e whā o te 62. Ka rua ngā kōwaeawa i tāpiritia e te nuinga o ngā whatunga iti me te haurua o tō rātou rahi.
He aha te kāwai IP?
I wehea e te kaupapa ā-taurangi tahito ngā ārai e ō rātou tapawhā tuatahi: Kāreti A (1–126), Kāreti B (128–191) me te Kāreti C (192–223) mō te kotahitanga, tae atu ki D mō te maha me E i whakawāteatia. I whakahōutia e CIDR ngā kāreti mō te whakawhiwhinga, engari ka pūrongo tonu te tātaitai i te kāreti e pā ana ki te āhua o te āhua o te āhua o te āhua o te āhua.
He aha ngā whatunga iti /31 me /32 e whakamahia ana mō?
E rua anake ngā ārai o te /31, ā, kāore he pūwhitinga, e whakamahia ana mō ngā herenga ira-ki-ira i waenganui i ngā kaiarahi. Ko te /32 tētahi ārai kaihautū kotahi, e noa ana ki ngā huarere me ngā ara kaihautū. Ka whakahaeretia e te tātaitai ngā take motuhake e rua.
API — whakamahi tēnei tātaitai mai i te waehere
E kī ana tēnei tātaitai hei wāhi mutunga kore JSON - kāore he kī e hiahiatia ana. Ka tukuna ngā uara āpure i raro nei hei tohutoro pātai, JSON rānei. Ka pānui te papatono API katoa →
Whakamutunga
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);
Ko ngā hua he whakataunga mō te tohutohu ahuwhānui anake, ehara i te tohutohu moni, rongoā, tāke rānei.