Subnetz-Rechner und VLSM-Designer
Planen Sie IPv4-Netzwerke schnell. Erhalten Sie Netzwerkadresse, Broadcast, Maske, Host-Bereich und einen vollständigen VLSM-Plan direkt in Ihrem Browser.
Subnetz berechnen oder VLSM-Plan entwerfen
192.168.1.0/24
32-Bit Binary Bitmask Breakdown
Every IPv4 address consists of 32 binary bits divided into 4 octets. The bitwise AND operation (IP AND Mask = Network) isolates the network ID from the host space:
Subnet Decomposition (Split /24 into 2x /25 Subnets)
Need to segment this network for guest isolation or separate VLANs? Borrowing 1 host bit divides 192.168.1.0/24 into two equal /25 subnets:
| Subnet CIDR | Usable Host Range | Broadcast Address | Usable Hosts | Action |
|---|---|---|---|---|
| 192.168.1.0/25 | 192.168.1.1 - 192.168.1.126 | 192.168.1.127 | 126 | |
| 192.168.1.128/25 | 192.168.1.129 - 192.168.1.254 | 192.168.1.255 | 126 |
Device CLI Configuration Generator
! Cisco IOS / Catalyst / Nexus Configuration ! VLAN Interface & DHCP Pool Definition interface Vlan100 description Purple-Managed Guest WiFi ip address 192.168.1.1 255.255.255.0 no shutdown exit ip dhcp excluded-address 192.168.1.1 ip dhcp pool GUEST_WIFI_POOL network 192.168.1.0 255.255.255.0 default-router 192.168.1.1 dns-server 1.1.1.1 8.8.8.8 lease 0 1 0 exit
Warum Subnetting weiterhin wichtig ist
Subnetting unterteilt einen IP-Bereich in kleinere, isolierte Netzwerke. So können Sie Gäste-, Mitarbeiter- und IoT-Traffic trennen, Broadcast-Domänen kontrollieren und Adressraum effizient nutzen. Dieser Rechner unterstützt sowohl Berechnungen für einzelne Subnetze als auch Variable Length Subnet Masking (VLSM) für Multi-Segment-Designs.
Was Ihnen dieses Tool bietet
- Netzwerk- und Broadcast-Adressen, Subnetzmaske, Wildcard-Maske und nutzbarer Host-Bereich für jedes CIDR-Präfix.
- Ein VLSM-Zuweisungsplan, der jedes Subnetz an die erforderliche Host-Anzahl anpasst – absteigend nach Größe und ohne Überschneidungen.
- Sofortige, private Ergebnisse. Jede Berechnung läuft lokal ab; es werden keine Daten an einen Server gesendet.
IPv4 CIDR Prefix, Subnet Mask, and Host Capacity Reference Table
Quick reference guide mapping CIDR prefix lengths (/1 to /32) to dotted-decimal subnet masks, wildcard masks, usable IP addresses, and common network engineering applications.
| CIDR | Subnet Mask | Wildcard Mask | Usable Hosts | Common Enterprise Use Case |
|---|---|---|---|---|
| /32 | 255.255.255.255 | 0.0.0.0 | 1 | Host route, loopback interface, single endpoint |
| /31 | 255.255.255.254 | 0.0.0.1 | 2 | Point-to-point router links (RFC 3021 standard) |
| /30 | 255.255.255.252 | 0.0.0.3 | 2 | Legacy point-to-point links (dedicated network/broadcast) |
| /29 | 255.255.255.248 | 0.0.0.7 | 6 | Small router links, firewall DMZ with static IPs |
| /28 | 255.255.255.240 | 0.0.0.15 | 14 | Server rack management subnet, lab environment |
| /27 | 255.255.255.224 | 0.0.0.31 | 30 | Small branch office, security camera / IoT VLAN |
| /26 | 255.255.255.192 | 0.0.0.63 | 62 | Departmental subnet (e.g. accounting, executives) |
| /25 | 255.255.255.128 | 0.0.0.127 | 126 | Medium department, secondary branch VLAN |
| /24 | 255.255.255.0 | 0.0.0.255 | 254 | Standard Class C LAN, default office subnet |
| /23 | 255.255.254.0 | 0.0.1.255 | 510 | Hotel guest WiFi, boutique venue, medium office |
| /22 | 255.255.252.0 | 0.0.3.255 | 1,022 | Corporate campus VLAN, medium venue guest WiFi |
| /21 | 255.255.248.0 | 0.0.7.255 | 2,046 | University student accommodation, large venue WiFi |
| /20 | 255.255.240.0 | 0.0.15.255 | 4,094 | Stadium, convention centre, airport guest WiFi scope |
| /19 | 255.255.224.0 | 0.0.31.255 | 8,190 | Metropolitan network, major transit hub infrastructure |
| /18 | 255.255.192.0 | 0.0.63.255 | 16,382 | Large enterprise site aggregation, regional network |
| /17 | 255.255.128.0 | 0.0.127.255 | 32,766 | Multi-campus enterprise block allocation |
| /16 | 255.255.0.0 | 0.0.255.255 | 65,534 | Standard Class B supernet, private cloud VPC |
| /12 | 255.240.0.0 | 0.15.255.255 | 1,048,574 | RFC 1918 172.16.0.0/12 private range block |
| /8 | 255.0.0.0 | 0.255.255.255 | 16,777,214 | RFC 1918 10.0.0.0/8 private major network block |
High-density WiFi subnetting and DHCP scope best practices
Designing IP subnets for wireless venues differs fundamentally from wired switching architectures. Wireless devices share physical RF airtime. When a device sends an Address Resolution Protocol (ARP) broadcast or multicast packet, the wireless access point must retransmit that frame at low base data rates across all associated radios.
1. Limit broadcast domain sizes
Never deploy large flat /16 networks (65,534 hosts) on guest SSIDs without client isolation. A /22 (1,022 hosts) or /23 (510 hosts) subnet provides sufficient lease room while preventing excessive multicast airtime consumption.
2. Tune DHCP lease durations
In transient environments like retail malls, cafes, and stadiums, set DHCP lease times to 30 to 60 minutes. Long 24-hour leases cause scope exhaustion as transient visitors retain IP leases long after leaving the venue.
3. Enable wireless client isolation
Enabling AP client isolation prevents peer-to-peer device traffic on public subnets, blocking internal network scanning and mitigating malicious ARP poisoning attacks.
For student accommodation, multi-dwelling units (MDUs), and build-to-rent (BTR) communities, traditional VLAN-per-user architectures exhaust switch VLAN tables (limited to 4,094 VLANs). Learn how Purple uses Identity Pre-Shared Keys (iPSK) and RADIUS-backed dynamic isolation to give every resident a private personal area network on a single shared SSID.
Download the high-density WiFi architecture & DHCP sizing guide
Get our reference architecture guide for multi-vendor campus networks. Includes DHCP scope sizing templates for Cisco Meraki, HPE Aruba, Ruckus, and Juniper Mist, plus VLAN security checklists.
Related network engineering tools and technical guides
Multi-Tenant iPSK Subnet Designer →
Design resident subnets and DHCP pools for student housing and BTR developments.
Access Point Calculator →
Calculate required AP density and client capacity across indoor and outdoor venue areas.
Captive Portal Guide →
Comprehensive architectural guide to guest onboarding, walled gardens, and RADIUS integration.
Enterprise WiFi Security Guide →
Deep dive into 802.1X, WPA3-Enterprise, certificate-based staff authentication, and network isolation.
Häufig gestellte Fragen zu IP-Subnetzierung und CIDR
Was ist der Unterschied zwischen einer Subnetzmaske und der CIDR-Notation?
Eine Subnetzmaske ist eine 32-Bit-Dezimalzahl mit Punkt-Notation (z. B. 255.255.255.0), die den Netzwerkanteil einer IP-Adresse vom Hostanteil trennt. Die CIDR-Notation (Classless Inter-Domain Routing) stellt dieselbe Maske als Schrägstrich dar, gefolgt von der Anzahl der aufeinanderfolgenden führenden binären Einsen (z. B. /24). CIDR hat die starren Grenzen der Klassen A, B und C abgeschafft, um flexible Netzwerkpräfixlängen zu ermöglichen.
Wie berechnet man die nutzbaren Host-Adressen in einem IPv4-Subnetz?
Die Formel für nutzbare IPv4-Hosts lautet 2^(32 - Präfix) - 2. Zwei Adressen sind durch RFC-Standards reserviert: Die erste Adresse (alle Host-Bits auf 0) ist die Netzwerk-ID, und die letzte Adresse (alle Host-Bits auf 1) ist die Directed-Broadcast-Adresse. Ein /24-Subnetz hat beispielsweise 32 - 24 = 8 Host-Bits, was 2^8 - 2 = 254 nutzbare Hosts ergibt. Point-to-Point-/31-Subnetze nach RFC 3021 und Single-Host-/32-Loopbacks sind Ausnahmen, die jeweils 2 bzw. 1 nutzbare Adresse zulassen.
Welche Subnetzgröße wird für Gäste-WiFi und Standorte mit hoher Benutzerdichte empfohlen?
Für hochfrequentierte Gäste-WiFi-Umgebungen wie Stadien, Hotels und Einkaufszentren wird ein /22-Subnetz (1.022 nutzbare Leases) oder ein /20-Subnetz (4.094 nutzbare Leases) zusammen mit einer kurzen DHCP-Lease-Zeit (z. B. 30 bis 60 Minuten) empfohlen. Dies verhindert die Erschöpfung des DHCP-Bereichs, während Client-Isolation ARP-Broadcast-Storms im gesamten drahtlosen Netzwerk verhindert.
Was ist Variable Length Subnet Masking (VLSM) und warum wird es verwendet?
VLSM ermöglicht es Netzwerktechnikern, einen IP-Adressblock basierend auf den spezifischen Host-Anforderungen des jeweiligen Segments (wie POS-Terminals, Unternehmens-Workstations, Gäste-WiFi und Router-Verbindungen) in Subnetze unterschiedlicher Größe aufzuteilen. Dies vermeidet die Verschwendung von Adressraum im Vergleich zur Subnetzierung mit fester Länge.
Warum sollten hochfrequentierte WiFi-Netzwerke große, flache /16-Subnetze vermeiden?
Flache /16-Subnetze erzeugen enorme Broadcast-Domänen mit bis zu 65.534 Hosts. In drahtlosen Netzwerken werden Broadcast- und Multicast-Frames (wie ARP-Anfragen und mDNS) mit niedrigen Legacy-Datenraten über alle Access Points übertragen, was Sendezeit (Airtime) verbraucht und den Durchsatz verringert. Die Segmentierung in kleinere /22- oder /23-VLANs mit AP-Client-Isolation erhält die Airtime-Effizienz aufrecht.
Wie arbeitet Purple mit Unternehmenssubnetzen und VLAN-Segmentierung zusammen?
Purple lässt sich in Ihre Unternehmensnetzwerkinfrastruktur (Cisco Meraki, HPE Aruba, Ruckus, Juniper Mist und Fortinet) integrieren, um Cloud-Captive-Portals, dynamische VLAN-Steuerung über RADIUS und für Bewohner isolierte iPSK-Netzwerke bereitzustellen, ohne dass eine Hardware-Rekonfiguration erforderlich ist.
Planning a venue network?
Subnetting is the foundation. Purple layers guest onboarding, captive portals, and location analytics on top of the network you design here, across Cisco Meraki, HPE Aruba, Ruckus, and Juniper Mist.
Book a 20-min demoNetforge Network Multi-Tool
Run offline network health checks, path analysis, and latency diagnostic scans directly from your desktop.
Download Multi-Tool