cancel
Community Member

## Simple IP question

Hi

What is the subnet for the host IP address 172.16.210.0/22?

Could somebody show me how they worked it out.

Thanks

Dan

8 REPLIES
Community Member

## Re: Simple IP question

16 -> 255.255.0.0

22 is for subnet 255.255.252.0

23 -> 255.255.254.0

24 -> 255.255.255.0

32 -> 255.255.255.255

255 - 252 = 3

thus gives you 3 more networks

so the ip range will be

172.16.210.1 to 172.16.213.254

172.16.210.0 -> Reserved for network adress (Do not confuse it with host address)

172.16.213.255 -> Reserved for nework broadcast

Community Member

## Re: Simple IP question

Hi

Is there some additions you did to get to that value?

Regards

Dan

Community Member

## Re: Simple IP question

Sorry ignore this question, my brain turned off for minute

Community Member

## Re: Simple IP question

CIDR Notation

172.16.208.0/22

CIDR Address Range Host range :

172.16.208.0 - 172.16.211.255

You can check the subnet range by using online subnet calculator.

http://www.subnet-calculator.com/cidr.php

Silver

## Re: Simple IP question

172.16.208.0= Subnet

172.16.208.1 ==> 172.16.211.254 = usable addresses

Community Member

## Re: Simple IP question

Hi

Without using a calculater how can you obtain the 208 number quickly in your head or on a peice of paper?

Thanks

Dan

Community Member

## Re: Simple IP question

Hi Dan,

252 = 128,64,32,16,8,& 4

Take 212 (start subtracting starting from 128 (MSD) to 4 (LSD)

ie: 212-128=82-64=18-16=2 (you can't subtract anymore so add up what you used)

Take care hope that help

A11izonme

Silver

## Re: Simple IP question

I'd like to share the methed I used which I call it as "fixed block size". Fortunately, the block size is always one of the following numbers:2,4,8,16,32,64,and 128, so this make thing easier.

Here we go:

Given the mask /22, I can conclude very quickly that the block size of each subnet will be "4" or, to be exact, "0.0.4.0" -- because 2 bits means 4 possibilities.

(Stop here and ask yourself "Do I need a caculator to derive 4 from 22?")

Now enumerate the numbers which are multiples of "4": 4,8,12,16...252. This means every subnet with mask /22 will begin with 4,8,12,...or 252.

(Stop here and ask yourself " Do I need a caculator to enumerate the multiples of "4"?)

Now look at the 22 again. It means the subnetting happen at the 3rd octect because [22/8]+1=3.

(Stop here and ask yourself " Do I need a caculator to derive 3rd from 22?")

Looking at the number show up at the 3rd octect :210 , I ask myself:" What is the number which is a multiple of 4 and is as close to (but less than) 210 as possible?" I get the number 208 very quickly, and this will be the network number that 210 resides in. Again, ask yourself "Do I need a calculator to do so?"

At last, I get the network address 172.16.208.0 no more than 5 seconds, though it takes me more than 20 minutes to write this article.

Every time you feel difficult to derive the result in each step, don't hestitate to pick up your calculator or a piece of paper to help you calculate. It's quite normal to use the calculator in the beginning. After several times of practicing, I believe you can also do subnetting very quickly without a calculator.

HTH

SSLIN

501
Views
5