Q

## 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

• ### Viptela names former Cisco exec Akkiraju CEO amid SD-WAN market shift

Viptela, a startup in the SD-WAN market, taps former Cisco exec Praveen Akkiraju as its new CEO. Akkiraju's immediate goal for ...

• ### I2RS, Interface to the Routing System, remains viable SDN hybrid

One SDN blogger discusses I2RS, a hybrid model of SDN in the works, while another expert categorizes NFV and SDN vendors. Also, ...

• ### SDN can help unify wired and wireless campus networks

Campus networks can be difficult to manage, especially with the continuing need to unify Wi-Fi and Ethernet networks. But SDN's ...

## SearchEnterpriseWAN

• ### 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 ...

• ### Cloud-managed networking makes VPN a snap

Provisioning and deploying a WAN and VPN is an everyday function for engineers. But can you do that for an office 4,000 miles ...

• ### Three new takes on WAN optimization

Once considered new technology, WAN optimization is now widespread, and enterprises are including it in their networks from the ...

## SearchUnifiedCommunications

• ### A Skype for Business deployment requires plenty of planning

Here's some advice for a Skype for Business deployment: Plan, plan, plan. Doing your homework upfront and allotting enough ...

• ### Microsoft team collaboration software gains momentum

In UC news, Microsoft team collaboration tools garner more interest among organizations. Plus, email encryption services see ...

• ### Team messaging apps go mainstream, could have ripple effect

As team messaging applications such as Slack and Cisco Spark grow in popularity, they could decrease reliance on email, 1-800 ...

## SearchMobileComputing

• ### Surface Pro 4 vs. iPad Pro in the battle for enterprise supremacy

The Surface Pro 4 brings Windows 10 to the table. The iPad Pro offers a better user experience. Which one is the right fit for ...

• ### GE enlists Couchbase to enable offline mobile apps across industries

General Electric's implementation of Couchbase is a winner in the Modern Mobility Innovation Awards. The project involved ...

• ### At Southwest, iPads take flight with Stratix managed mobility services

Southwest Airlines' implementation of Stratix managed mobility services helped digitize in-flight manuals on iPads -- and win a ...

## SearchDataCenter

• ### Test yourself on modern data center networking architecture

Evolving business needs demand a new approach to data center networking. Keep yourself updated on SDN, VXLAN and other ...

• ### Five data center certifications admins need to know

Data center certifications, including those from VMware and Cisco, can provide a career boost for admins. Consider taking one of ...

• ### Data rides boomerang in on-premises vs. cloud computing battle

More technology companies and large enterprises find that cloud computing is not as cost-effective as hoped, and have moved at ...

## SearchITChannel

• ### Intermedia boosts support for channel ecosystem

Cloud company will invest in a sales enablement and engineering practice as well as system and tool capabilities to improve ...

• ### IBM gives DS8880 arrays an 'F,' as in flash

The expansion of the IBM DS8880 hardware line introduces all-flash models designed around the vendor's High-Performance Flash ...

• ### Dell takes open networking pitch to edge switches

Dell is pitching the open networking features of its new campus switches. The hardware's ability to run any of several network ...

Close