Zum Hauptinhalt springen

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

Enterprise Venue Presets
Calculated Subnet

192.168.1.0/24

Network Address
192.168.1.0
Directed Broadcast
192.168.1.255
Subnet Mask
255.255.255.0
Wildcard Mask
0.0.0.255
Usable Host Range
192.168.1.1192.168.1.254
Usable Hosts / Total
254 (256 total)
IP Class & Scope
Class CPrivate (RFC 1918 - 192.168.0.0/16)
Hexadecimal Mask
0xFFFFFF00

32-Bit Binary Bitmask Breakdown

Network (24 bits) Host (8 bits)

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:

IP Address:
11000000101010000000000100001010
Subnet Mask:
11111111111111111111111100000000
Network ID:
11000000101010000000000100000000

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 CIDRUsable Host RangeBroadcast AddressUsable HostsAction
192.168.1.0/25192.168.1.1 - 192.168.1.126192.168.1.127126
192.168.1.128/25192.168.1.129 - 192.168.1.254192.168.1.255126

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.

CIDRSubnet MaskWildcard MaskUsable HostsCommon Enterprise Use Case
/32255.255.255.2550.0.0.01Host route, loopback interface, single endpoint
/31255.255.255.2540.0.0.12Point-to-point router links (RFC 3021 standard)
/30255.255.255.2520.0.0.32Legacy point-to-point links (dedicated network/broadcast)
/29255.255.255.2480.0.0.76Small router links, firewall DMZ with static IPs
/28255.255.255.2400.0.0.1514Server rack management subnet, lab environment
/27255.255.255.2240.0.0.3130Small branch office, security camera / IoT VLAN
/26255.255.255.1920.0.0.6362Departmental subnet (e.g. accounting, executives)
/25255.255.255.1280.0.0.127126Medium department, secondary branch VLAN
/24255.255.255.00.0.0.255254Standard Class C LAN, default office subnet
/23255.255.254.00.0.1.255510Hotel guest WiFi, boutique venue, medium office
/22255.255.252.00.0.3.2551,022Corporate campus VLAN, medium venue guest WiFi
/21255.255.248.00.0.7.2552,046University student accommodation, large venue WiFi
/20255.255.240.00.0.15.2554,094Stadium, convention centre, airport guest WiFi scope
/19255.255.224.00.0.31.2558,190Metropolitan network, major transit hub infrastructure
/18255.255.192.00.0.63.25516,382Large enterprise site aggregation, regional network
/17255.255.128.00.0.127.25532,766Multi-campus enterprise block allocation
/16255.255.0.00.0.255.25565,534Standard Class B supernet, private cloud VPC
/12255.240.0.00.15.255.2551,048,574RFC 1918 172.16.0.0/12 private range block
/8255.0.0.00.255.255.25516,777,214RFC 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.

Enterprise Network Planning Blueprint

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

FAQ

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 demo
Free Desktop App

Netforge Network Multi-Tool

Run offline network health checks, path analysis, and latency diagnostic scans directly from your desktop.

Download Multi-Tool