CIDR calculator
CIDR calculator für IPv4 und IPv6: network range, subnet mask, wildcard mask, host Anzahl, und conversion a start und end address bis CIDR blocks.
Über CIDR calculator
CIDR calculator für IPv4 und IPv6: network range, subnet mask, wildcard mask, host Anzahl, und conversion a start und end address bis CIDR blocks.
Teil des Bereichs „Daten & Netzwerke“ von SmartCalcy. Läuft in Ihrem Browser ohne Konto, verwendet Ihre eigene Währung und Einheiten (oben auf der Seite änderbar) und liefert Schätzungen nur zur Information; prüfen Sie daher offizielle Hinweise, bevor Sie sich auf ein Ergebnis verlassen.
So verwendest du den CIDR calculator
Was es berechnet und wann man es nutzt
Works out the Spannweite, subnet mask, wildcard mask und size a CIDR block für IPv4 oder IPv6, accepts an address with a dotted mask, und converts a start und end address into the smallest list CIDR blocks that cover them exactly.
So geht’s, Schritt für Schritt
- Choose “CIDR block” oder “Address Spannweite”.
- Enter a block such as 192.168.10.0/22, or the first und last address a range.
- Read the first und last address, masks und number hosts.
- For a Spannweite, Kopieren the list CIDR Blöcke.
Was jede Eingabe bedeutet
- CIDR block, oder address with mask – An IPv4 oder IPv6 address followed by /prefix, or an IPv4 address und a dotted mask such as 255.255.252.0.
- First und last address – The two Ende a range, both IPv4 oder both IPv6.
So lesen Sie die Ergebnisse
- Address Spannweite – The first und last address the block, und the number addresses.
- Masks – Subnetzmaske und wildcard mask für IPv4.
- Usable hosts – Addresses available für devices: the total minus the network und broadcast addresses, except /31 und /32.
- CIDR Blöcke – For a Spannweite, the minimum set Blöcke that covers it.
Die Formel
A /n block has 2^(Bits − n) addresses, where Bit ist 32 für IPv4 und 128 für IPv6. The network address ist the given address with the host bits set to zero. For IPv4 the usable hosts are 2^(32 − n) − 2. IPv6 uses BigInt arithmetic für exact results.
Ein Rechenbeispiel
192.168.10.0/22 covers 192.168.8.0 bis 192.168.11.255, which ist 1,024 addresses und 1,022 usable hosts, with mask 255.255.252.0.
Annahmen und Grenzen
- Usable hosts follow the usual convention removing the network und broadcast addresses. /31 links use both addresses und /32 ist a single host.
- IPv6 Blöcke have Nein broadcast address.
- A Spannweite that does not fit one block returns several Blöcke.
Häufige Fehler
- Entering a host address und expecting it bis be the network address. The tool shows the real network address.
- Using a non-contiguous mask such as 255.0.255.0, which ist not valid.
- Mixing an IPv4 first address with an IPv6 last address.
Häufige Fragen
What ist CIDR notation?
A way writing an address range as an address und a prefix length, such as 10.0.0.0/8, where the prefix ist the number fixed leading Bit.
How many hosts are in a /24?
256 addresses und 254 nutzbare Hosts.
What ist a wildcard mask?
The inverse the subnet mask, used in access lists. For 255.255.255.0 it ist 0.0.0.255.
What ist a /64 in IPv6?
The standard Größe one IPv6 subnet, with 2^64 addresses.
Gebinde a Spannweite always be one block?
Only if it Anfang on a boundary und its size ist a power two. Otherwise it ist split into several blocks.
Ähnliche Werkzeuge
Block details
- Netzwerkadresse
- 192.168.8.0
- Subnetzmaske
- 255.255.252.0
- Wildcard-Maske
- 0.0.3.255
- Erster nutzbarer Host
- 192.168.8.1
- Letzter nutzbarer Host
- 192.168.11.254
- Broadcast-Adresse
- 192.168.11.255
- Adressen insgesamt
- 1,024
- Usable hosts
- 1,022
- Prefix leng.
- /22
- Mask in Binär
- 11111111.11111111.11111100.00000000