Q
Problem solve Get help with specific problems with your technologies, process and projects.

## Learn how to calculate IP addresses and subnet masks in this Q&A with Chris Partsenidis.

in the networking community simply because they can be very confusing and require some time to sink in.

While it's not possible to fully analyze the topic in one page, I'll give you a bit of information to start off with and some guidance to help you move deeper into the subject.

An IP address is an address that helps us uniquely identify a network device or host.

When configuring a computer with an IP address we define the logical network it is part of. A logical network is not something we can touch or see, but a term used to describe the way certain things are perceived by the computer or network device.

The IP address given to the computer tells it which network it belongs to, and how it will identify itself to the rest of the computers that are part of the same network. The subnet mask sets the network's boundaries.

IP addresses exist in both public networks (the Internet) and private ones (LANs) and since there are millions of them, it was decided to put them in specific classes to help organize the IP addressing structure and make it more easy to work with.

Today all IP addresses can be categorized into five different classes, each class having a specific range:

 IP Classes Default Subnet Mask Class A: 1.0.0.0 to 127.255.255.255 255.0.0.0 Class B: 128.0.0.0 to 191.255.255.255 255.255.0.0 Class C: 192.0.0.0 to 223.255.255.255 255.255.255.0 Class D: 224.0.0.0 to 239.255.255.255 Class E: 240.0.0.0 to 255.255.255.255

Out of the five classes, the first three, A, B and C are used on the Internet by its users in order to communicate, while the rest, D and E, are reserved for other reasons. In most cases, you will always be working with Classes A to C.

Each Class was also given a certain subnet mask, called the "default subnet mask." The default subnet mask allowed us to define the range each network would have depending on the class it belonged to.

You might have read or hear people saying that Class C networks can hold up to 255 IP addresses, while Class A networks hold a lot more. While this is correct, they are really referring to the default subnet mask each class has, that determines the amount of networks these classes hold.

By using a different subnet mask, other than the default, we are able to further split the networks into smaller ones to suit our needs.

Instead of continuing on the analysis of subnets, I'll refer you to my Web site (www.firewall.cx/) which covers the topic in the best possible way using easy to understand diagrams to help you "see" what happens during the break down.

If you find the information overwhelming, it might comfort you to know that it took me some time to fully understand it back in the days I was introduced to the topic!

This was last published in March 2007

## Content

Find more PRO+ content and other member only offers, here.

#### Have a question for an expert?

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

#### Start the conversation

Send me notifications when other members comment.

## SearchSDN

• ### Talari adds SD-WAN appliance for smaller edge sites

With its recently added SD-WAN appliance, Talari aims for smaller branch locations, like retail and remote sites; Cradlepoint ...

• ### NFV disaggregates firewall appliance to increase scalability

A traditional firewall appliance can incorporate many services, but NFV can virtualize firewalls to offer individual services ...

• ### Cisco, Hyundai to add software-defined platform to vehicles

Cisco and Hyundai will release jointly developed software-defined vehicles in 2019. These connected cars will boast a Cisco-built...

## SearchEnterpriseWAN

• ### How to calculate network bandwidth requirements

Figuring out how to calculate bandwidth requirements is vital to ensuring your network runs smoothly, and it's best to get the ...

• ### How types of noise in data communication systems affect the network

Learn about the different types of noise in data communication -- including thermal, intermodulation, cross-talk, impulse and ...

• ### The best VPNs for enterprise use

This slideshow highlights the best VPNs used in enterprise wide-area networks (WANs) and offers principles for designing and ...

## SearchUnifiedCommunications

• ### Midmarket enterprises push UCaaS platform adoption

Cloud communications is growing in popularity among midmarket enterprises. UCaaS providers and enterprises must work together for...

• ### Avaya UC headed for SMB product bundles

Avaya plans to grow its customer base with SMB-friendly technology. The bundles will include Avaya UC and other features from the...

• ### Emerging technologies to fuel collaboration industry growth

Business communications is getting more contextual and intelligent, thanks to emerging technologies, such as AI and APIs. UCC ...

## SearchMobileComputing

• ### Simplify mobile app development for the enterprise

Without the right resources, app dev can be complicated. Start out the process on the right foot and have all the best tools in ...

• ### A roundup of the leading EMM providers in today's market

Just as identifying the need for EMM is important, so is selecting the right vendor. Here's a rundown of leading EMM vendors and ...

• ### Compare the main mobile app development languages

Developing an app is all about visualizing what the users need and what they'll see in the UI. Get visual with this infographic ...

## SearchDataCenter

• ### Three requirements for a hybrid cloud computing deployment

As the hybrid cloud computing approach gains steam, organizations will need to pay close attention to cross-cloud connectivity ...

• ### Five debunked myths about SSD issues

Solid-state drives are mature now, and the technology has eclipsed hard disk drives with superior performance, manageability and ...

• ### Future data center trends hinge on the edge, cloud and staffing

Edge computing, colocation, cloud and IT staffing issues lead the way as industry analysts make their predictions for the future ...

## SearchITChannel

• ### IBM results reveal plans to shift traditional analytics to SaaS

IBM boosts cognitive and blockchain businesses, but admits there is work needed on its traditional analytics products and some ...

• ### NVMe flash, new memory techs shake up storage in 2018

Storage executives and industry analysts predict NVMe, NVMe over Fabrics and new memory technologies will disrupt the storage ...

• ### Riverbed Rise channel program reinvents partner requirements

The Riverbed Rise program will focus on partner performance, which Riverbed will measure by customer acquisitions, account ...

Close