Subnet-beregner (IPv4)
Adresser og hosts ud fra præfikslængde
Vælg en præfikslængde (/0–/32) og få antal adresser, antal brugbare hosts og subnetmasken. Brugbare hosts = adresser − 2 (netværks- og broadcast-adresse).
254brugbare hosts
Subnetmaske255.255.255.0
Adresser i alt256
Præfiks/24
Formula
adresser = 2^(32 − præfiks)
brugbare hosts = adresser − 2 (net- og broadcast-adresse)
/31 bruges til punkt-til-punkt (2 hosts), /32 til en enkelt host.
Indicative
The result is indicative and an aid tool for estimates and learning. It does not replace design, applicable standards and legislation or a qualified professional's specific assessment. Always check against the source (IPv4 / CIDR) and actual conditions on the task. See sources & reservations.