Back to learning

Subnetting is a technique used to divide a network into smaller, more manageable pieces, called subnets. It's a crucial aspect of network management and optimization.

What is a Subnet?

A subnet, or subnetwork, is a smaller network within a larger network. When a network is subnetted, it's divided into smaller networks, each with their own range of IP addresses.

Why Use Subnetting?

  1. Efficiency: Subnetting can reduce network congestion and increase transmission efficiency, as traffic can be confined to a particular subnet instead of being broadcast across the entire network.
  2. Security: It can also enhance security by isolating sensitive systems within a specific subnet, limiting their exposure to the wider network.
  3. Organization: Subnetting makes networks easier to manage and maintain, especially as they grow larger. Networks can be organized logically based on department, function, or geography.

How Does Subnetting Work?

Subnetting involves splitting an IP network into smaller parts by extending the network mask. For example, a Class C IPv4 network might have a subnet mask of 255.255.255.0, allowing for up to 254 usable hosts. If this network were subnetted into four smaller networks, the subnet mask might become 255.255.255.192, with each subnet supporting up to 62 hosts.

Here's a step-by-step process:

  1. Determine Your Needs: Identify how many subnets and hosts per subnet you need.
  2. Divide the Network: Modify the subnet mask to divide the network. For instance, to create four subnets from a Class C network, you'd borrow two bits from the host portion of the subnet mask, turning it from "255.255.255.0" to "255.255.255.192". This creates four subnets, each with up to 62 usable hosts.
  3. Assign the Subnets: Assign each subnet to a specific segment of your network.

Subnetting and CIDR

Subnetting is often used in conjunction with Classless Inter-Domain Routing (CIDR), a method for allocating IP addresses without the restrictions of classes. CIDR notation is a compact method of representing an IP address and its associated routing prefix. For example, the address "192.168.1.0/24" represents the IP address "192.168.1.0" with a 24-bit subnet mask (255.255.255.0).

© PEAKHOUR.IO PTY LTD 2024   ABN 76 619 930 826    All rights reserved.