Simple IP question

Unanswered Question
Feb 9th, 2007

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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
evrendemirkan Fri, 02/09/2007 - 03:26

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

dan_track Fri, 02/09/2007 - 03:37

Hi

Thanks for your reply. How exactly did you know the network address is 172.16.210.1?

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

Regards

Dan

pciaccio Fri, 02/09/2007 - 03:40

the answer is:

172.16.208.0= Subnet

172.16.208.1 ==> 172.16.211.254 = usable addresses

172.16.211.255 = Broadcast

dan_track Fri, 02/09/2007 - 03:42

Hi

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

Thanks

Dan

a11izonme Sun, 02/11/2007 - 17:27

Hi Dan,

Subnet Mask = 22 (255.255.252.0)

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)

Answer: 128+64+16=208 (The network)

Take care hope that help

A11izonme

CSCO10892433 Mon, 02/12/2007 - 23:33

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

Actions

This Discussion