A Tradeoff Between Hosts and Subnets
Depending on the network class (A, B or C), some number of bits are reserved for hosts and subnets, and these bits become a tradeoff. The more hosts, the fewer the subnets can be created; the more subnets, the fewer the hosts can be individually addressed.
A Subnet Mask Example
The subnet mask below is a Class C address, which uses the first 24 bits for network ID and the last 8 for host ID. These last 8 can be divided between hosts and subnets. In the default mask below, the 0 means there are no subnets and up to 254 hosts can be addressed.
In the second example, the 224 reserves the three high-order bits of that field for subnets, leaving the remaining 5 bits for hosts. This 224 pattern creates subnets in the range of 001 to 110 (000 and 111 are reserved). As such, 6 subnets of up to 30 hosts in the range of 00001 to 11110 can be addressed. Once again, 00000 and 11111 are reserved: all zeros mean "this" node, and all ones mean "all" nodes (broadcast), which is why calculations for maximum hosts and subnets are always subtracted by 2. For a list of all Class B and C subnet masks, see subnet mask tables.
Class C Default Submask 255.255.255.0 11111111.11111111.11111111.00000000 Class C Subnet Mask (6 Subnets/30 Hosts Each) 255.255.255.224 11111111.11111111.11111111.11100000
![]() | Reproduced with permission from Computer Desktop Encyclopedia. Copyright (c) 1981-2009 The Computer Language Company Inc. All rights reserved. |
Additional Resources
- IP Address Menu 6.0 (Mac)
- You want to display your current IP address in the menu bar? You want to display your user name, your computer name, the IP address, the subnet mask and the MAC address of each of your network interface at the same time? You want your Mac to automatically send an...
- Software downloads 2009-11-09
- IPMaster 1.5 (Windows)
- IPMaster is IP address management software. It provides visual IP address assignment network topology tree, automatic subnet calculation, mask calculation, subnetting, network segment scanning, host monitoring, ping, traceroute, telnet, and netsend. It supports VLSM and CIDR. The purpose of this software is to assign and manage IP address efficiently for...
- Software downloads 2009-10-22
- NetSetMan 2.6.2 (Windows)
- NetSetMan is a network settings manager which can easily switch between 6 different profiles including IP address, subnet mask, default gateway, DNS server, Win server, computer name, printer, DNS domain, workgroup, and scripts. It also can get current settings and do a FastSwitch from the tray bar. With only two...
- Software downloads 2009-10-21
- IPGadget 1.7 (Mac)
- IPGadget is a small calculator for verifying IPv4 address information. Given an IP address and network prefix size, IPGadget will show you: The subnet mask corresponding with the prefix size (eg "/24" = "255.255.255.0") The network address (ie, where the bits of the host portion are...
- Software downloads 2009-09-26
- Newt Professional 2.5 build 144 (Windows)
- A network inventory & discovery tool providing fast and easy scanning of over 200 items from NT-based machines with no user-deployment time. Gathered information is displayed in an easy-to-read spreadsheet-like format. Features include discovery & scanning by domain, workgroup, IP range, or by using the built-in network browser featuring real-time...
- Software downloads 2009-09-20
- CiscoKits CCNA Subnet Calculator 1.0 (Windows)
- CiscoKits is pleased to offer to you completely free our own CCNA Subnet Calculator that you can download and use to help you prepare for your Cisco certification exams. Subnetting is one of the key concepts on the Cisco CCNA certification exam. So you need to know it inside and...
- Software downloads 2009-09-19
- NetSetMan 2.6 (Windows)
- NetSetMan is a network settings manager which can easily switch between 6 different profiles including IP address, subnet mask, default gateway, DNS server, Win server, computer name, printer, DNS domain, workgroup, and scripts. It also can get current settings and do a FastSwitch from the tray bar. With only two...
- Software downloads 2009-08-19
- IP Shifter 2.3.6 (Windows)
- IP Shifter is a software tool that helps you to change your TCP/IP related settings easily and quickly. If you work dynamically at several locations in the network due to business, you need to be connected in different offices, or you need to use your computer in more than one...
- Software downloads 2009-07-18
- Pchsoft 1-Click IPConfig 1.50 (Windows)
- Are you a laptop user? Do you have multiple network adapters? Do you have multiple network connected simultaneously? Do you usually move from one network to another network? Then Pchsoft 1-Click IPConfig is the product for you. Whenever laptop user moves to different network, including laptop user has to change...
- Software downloads 2009-07-17
- Pocket IP 1.02 (Mobile)
- is an IP calculator for Pocket PC. It performs complex bit mask operations, making tedious operations simple. Features include:Decimal/hex/binary conversions subnet masks and IDs CIDR masks Copy subnet ranges to clipboard (for importing into Pocket Word, Excel, or Inbox) Class masks and bit usages
- Software downloads 2009-07-10
- IP Calc 1.0 (Mobile)
- Enter the desired IP Address, then use the slider to select your subnet mask and every subnet related item is immediately calculated and displayed on one simple screen. IP Calc features instant mobile CIDR IPv4 calculations, displays network and broadcast addresses, subnet and Cisco Wildcard masks, the host range (HostMin...
- Software downloads 2009-06-25
- IPViewer 1.5 (Windows)
- IPViewer allows users to view their IP address, subnet mask, and host name of their computer. You can park the application in the system tray or stick it above all other apps on the desktop. You can also copy and paste your ip address and host name to the clipboard....
- Software downloads 2009-06-24
- SwitchIP 3.5.6 (Windows)
- SwitchIP Address software allows you to modify the IP address of your local machine with a single click. Especially handy for laptop users who travel between sites and need to constantly switch IP address, gateway address, subnet mask. With switchIP you don't waste your time reconfiguring computer network settings every...
- Software downloads 2009-04-22
- Beware of the TrixBox
- For those of you thinking of cutting over to a packaged Asterisk solution, you'll want to read this account from Dr. Adrian Steele, the Managing Director of Mercian Labels, a UK SME specialising in short run label printing and...
- Blog posts 2009-02-09
- 40ò0of parents feel that writing on a computer makes their child more likely to use poor spelling and grammar
- 40ò0of parents feel that writing on a computer makes their child more likely to use poor spelling and grammarAgreed.Any time you let a machine do for you something you should be doing, whether it grammar, spelling, or in my case as a CPA letting a machine add a column of...
- Discussion threads 2008-06-29
- Whatmask 1.2 (Windows)
- Whatmask runs in a DOS shell Command Prompt. Whatmask is a small C program that will help you with network settings. Whatmask can work in two modes. The first mode which is how prior versions worked is to invoke Whatmask with only a subnet mask as the argument. In...
- Software downloads 2007-12-08
- Free IP Switcher 1 (Windows)
- Whenever mobile user moves to a different network, he needs to change particular IP address, gateway address, subnet mask, proxy server, and default printer to particular network environment. In order to do it, he needs to remember TCP/IP settings information of every network. Also, he has to reboot the computer...
- Software downloads 2007-11-28
- NetSetting 1.02 (Windows)
- NetSetting is a small program for creating and managing profiles for TCP/IP protocol setting (IP address, subnet mask, default gateway and DNS servers). The user can create profiles for every network adapter and then use these profiles as needed. The program goes into the tray after start, so it is...
- Software downloads 2007-10-30
- Windows CE Platform Builder 2.12 QFE 31 QFE31 (Windows)
- Fixes made in this QFE:Components: DHCPDescription: Windows CE 2.12 DHCP client fails when receiving a DHCPACK message with a subnet mask, but the previous DHCPOFFER didn't send such information. This version is the first release on CNET Download.com.
- Software downloads 2007-09-14
- Vonage floats new voice gateway test offer: they'll pay you, too!
- TechCrunch's Michael Arrington reports he has received an email from Vonage inviting him to test a new gateway device that will, according to the email, "inspire" consumers to proudly display their Vonage router rather than hide it under their desk."rnrnIf you are looking for this new device on the Vonage...
- Blog posts 2007-08-03
Neighboring Terms
Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
- New Online Dashboard for IT Leaders
-
Read about top issues IT decision-makers face every day, plus get cost-effective solutions to real-life IT problems.
- Learn more >>
- The best support in the Linux business
-
If Linux is going to power your mission-critical applications, you'd better have the best support known to business. Novell was rated the top provider of Linux technical support.

- Learn more >>
- Keep Up With The Latest In Document Management with The DocuMentor.
-
Doc delivers the scoop on today's enterprise content management, printer maintenance, and all other issues related to document management. It's the DocuMentor Blog.
- Learn more >>
- Reduce risk. Reduce complexity. Increase reliability.
-
A simplified IT environment isn't just less complex. It's also more reliable. Standardize on a single Linux platform with SUSE Linux Enterprise from Novell, and get the world's most interoperable Linux

- Learn more >>
Meet Doc
-
Here to help you with your Document Management Needs
- Check out Doc’s Blog on ZDNet
- Help your company, help the earth I want to share with you the Environmental Defense Fund Paper Calculator, which allows you to gauge your organization's environmental impact.
- Which is Greener: Paper or Digital? The Answer May Surprise You Anything we can do to reduce paper consumption is good. But what about the impact of digital waste?
-
Produced by
ZDNet and






