Subnetting


Definition of Subnetting in The Network Encyclopedia.

What is Subnetting?

Subnetting is the process of partitioning a single TCP/IP network into a number of separate networks called subnets. These subnets are then joined using routers. Advantages of subnetting a network include the following:

  • Reducing network congestion by limiting the range of broadcasts using routers
  • Enabling different networking architectures to be joined
Subnetting
Subnetting

How It Works

To subnet a TCP/IP network, you take the assigned network ID and borrow bits from the host ID to establish a group of subnet IDs, one for each subnet. The more bits you borrow, the more subnets you produce, but the fewer the number of possible hosts for each subnet. The borrowing process also defines a unique custom subnet mask for the network.

For example, consider a class B network that uses the network ID 172.16.0.0. If this network needs to be subnetted into six subnets, you can accomplish this using a custom subnet mask of 255.255.224.0. Each subnet can be shown to support a maximum of 8190 hosts. The IP address blocks for the six subnets are as follows:

  • 172.16.32.1 to 172.16.63.254
  • 172.16.64.1 to 172.16.95.254
  • 172.16.96.1 to 172.16.127.254
  • 172.16.128.1 to 172.16.159.254
  • 172.16.160.1 to 172.16.191.254
  • 172.16.192.1 to 172.16.223.254

Subnetting calculation

Manual calculation of custom subnet masks and subnet IDs is tedious. You can download numerous subnetting calculators from the Internet, some of them for free. To use these calculators to subnet your network, you must first determine how many subnets you need and the maximum number of hosts on each subnet.

Editor

Articles posted after being checked by editors.

Recent Posts