Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
YouTube Security VideosAnonymous Official: I'm begging you to understand this..(20.09.2026 um 21:30 Uhr)
Sichere ProgrammierungHow to Monitor Cron Jobs with a Simple HTTP Health Check(20.09.2026 um 23:14 Uhr)
Sichere ProgrammierungWhy my builds don't run on my laptop(20.09.2026 um 23:15 Uhr)
Sichere ProgrammierungDesigning offline-first when there's no server(20.09.2026 um 23:16 Uhr)
Sichere ProgrammierungSearching for Better Game Recommendations with Jev(20.09.2026 um 23:19 Uhr)
Linux Tipps & HardeningUbuntu 26.10 stops low memory from killing your desktop session(20.09.2026 um 19:55 Uhr)
YouTube Security VideosAnonymous Official: I'm begging you to understand this..(20.09.2026 um 21:30 Uhr)
Sichere ProgrammierungHow to Monitor Cron Jobs with a Simple HTTP Health Check(20.09.2026 um 23:14 Uhr)
Sichere ProgrammierungWhy my builds don't run on my laptop(20.09.2026 um 23:15 Uhr)
Sichere ProgrammierungDesigning offline-first when there's no server(20.09.2026 um 23:16 Uhr)
Sichere ProgrammierungSearching for Better Game Recommendations with Jev(20.09.2026 um 23:19 Uhr)
Linux Tipps & HardeningUbuntu 26.10 stops low memory from killing your desktop session(20.09.2026 um 19:55 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Subnetting Basics Guide

Reagiere als Erste:r — dein Feedback zählt!

Understanding Subnetting: A Comprehensive Guide

Subnetting is a fundamental concept in computer networking that involves dividing a single network into smaller, more manageable sub-networks, or subnets. This technique enhances network performance and security, improves IP address allocation efficiency, and simplifies management. In this article, we will explore the basics of subnetting, the benefits it offers, and how to calculate and implement subnets.

What is Subnetting?

Subnetting is the process of taking a large network and breaking it down into smaller, logical sub-networks. Each subnet functions as an independent network, with its own range of IP addresses, but they all share the same network ID. This is achieved by manipulating the subnet mask, which is used to distinguish the network portion of an IP address from the host portion.

Image description
Chart Credit: gcore

Why Subnetting is Important

  1. Efficient IP Address Management: By dividing a large network into smaller subnets, IP addresses can be allocated more effectively, reducing wastage.
  2. Enhanced Security: Subnetting allows for better control over network traffic, enabling segmentation and isolation of sensitive parts of the network.
  3. Improved Performance: Smaller subnets reduce broadcast traffic, which can enhance network performance and reduce congestion.
  4. Simplified Troubleshooting: Managing and troubleshooting smaller networks is easier compared to handling a single large network.

Understanding Subnet Masks

Subnet Chart

A subnet mask is a 32-bit number that masks an IP address and divides it into network and host portions. It consists of a series of contiguous 1s followed by 0s. The number of 1s determines the network portion, while the 0s represent the host portion.

For example, in the subnet mask 255.255.255.0, the first 24 bits are set to 1, indicating that the first 24 bits of the IP address are the network part, and the remaining 8 bits are for host addresses.

Calculating Subnets

To create subnets, follow these steps:

  1. Determine the Required Number of Subnets or Hosts: Decide how many subnets or hosts per subnet you need.
  2. Calculate the Number of Bits Needed: Use the formula 2^n >= number of subnets to find the number of bits (n) required for subnetting.
  3. Adjust the Subnet Mask: Extend the default subnet mask by the number of bits calculated.
  4. Calculate the New Subnet Addresses: Use the extended subnet mask to determine the range of IP addresses for each subnet.

Network-and-host-bits

This example shows how a network mask divides an IP address into its network, subnet, and host portions.

Example Calculation

Let's assume we have a Class C network 192.168.1.0/24 and we need 4 subnets.

  1. Number of Subnets Needed: 4
  2. Calculate Bits Needed: 2^n >= 4n = 2
  3. Adjust Subnet Mask: The original mask is /24 (255.255.255.0). We add 2 bits for the subnet, resulting in a /26 mask (255.255.255.192).
  4. Calculate Subnet Addresses:
    • Subnet 1: 192.168.1.0 - 192.168.1.63
    • Subnet 2: 192.168.1.64 - 192.168.1.127
    • Subnet 3: 192.168.1.128 - 192.168.1.191
    • Subnet 4: 192.168.1.192 - 192.168.1.255

IPv4 Classes and Subnet Masks

Chart credit: gcore
check there in Depth article on What is a Subnet? | How it Works

Each subnet has 64 IP addresses (including network and broadcast addresses), providing 62 usable addresses for hosts.

Implementing Subnetting

To implement subnetting in a network:

  1. Plan the Subnet Structure: Define the number of subnets and the size of each subnet based on organizational needs.
  2. Configure Network Devices: Update routers and switches with the new subnet information.
  3. Assign IP Addresses: Allocate IP addresses to devices within each subnet.
  4. Update Documentation: Maintain updated network documentation reflecting the new subnet structure.

Conclusion

Subnetting is a core technique for network design and management. Subnetting provides many benefits for network efficiency, security, and performance. By learning and implementing subnetting techniques, network administrators can create networks that can be scaled and managed. Whether you are studying for a network certification exam or looking to improve your organization's network, mastering this skill is vital in computer networking.

                                Ilyas Filali
                                 @nayetwolf 
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Subnetting Basics Guide

Thematisch verwandte Begriffe: Subnetting, Basics, Guide · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-93956 | A flaw has been found in olivier-ls PHP-FTS up to 1.1.2. Affected by thi…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick