IP-subnetcalculator

Results
—
—

De IP-subnetcalculator neemt een IPv4-adres en een CIDR-voorvoegsel en leidt het subnetmasker, netwerkadres, broadcastadres, wildcardmasker, hostbereik en het totale en bruikbare aantal hosts af.

Formule
mask = ((1 << bits) − 1) << (32 − bits); network = ip & mask; broadcast = network | ~mask

Veelgestelde vragen

Waarom zijn slechts een deel van de hosts bruikbaar in een subnet?
Het netwerkadres en het broadcastadres zijn gereserveerd, dus bruikbare hosts = 2^(32−voorvoegsel) min twee.

Embed this calculator on your site

Cite this page

About these results

Every calculation on this page runs locally in your browser using published, standard formulas — nothing you enter is sent to a server. Results are estimates for planning purposes and can differ from real-world conditions; always follow your local building code and the advice of a qualified professional for final decisions. You can read more about who builds and maintains these tools on our About page. Over ons MateCalc.

Gerelateerde calculators