Link to home
Start Free TrialLog in
Avatar of acl-puzz
acl-puzzFlag for India

asked on

VLSM Questions!

Hi EEpeeps,

I want to learn tough VLSM but iam confuse on these a friend on cisco forum asked me some question so that i can practice for it but iam only able to answer easy ones.

Pls tell me what can be answer of "Not so easy ones" and "MUST" describe/explain how you solved it yourself this is what real question is :)



You are given an address of 76.222.112.64/22

 First easy ones.

 

1. What are the network  and broadcast addresses of this network?

2. How many hosts can be in the network?

 

Now not so easy.

 

3. Suppose you need to subnet that network. You need 6 subnets with at least 30 addresses each, 4 subnets with at least 100 addresses each, and 1 subnet with no more than 6 and no less than 4 host addresses. Is that possible? If so, how would you do it?

4. You are asked to summarize your network with a 76.216.232.111/17 network. What will the summary address be like provided you need the smallest summary possible?

 
Avatar of collins23
collins23

Answer to easy ones first.


You are given an address of 76.222.112.64/22

 First easy ones.

 

1. What are the network  and broadcast addresses of this network?

next boundary is 24 .

24-22 = 2

2^2 = 4

Block Size is 4  ( counting in block size using 3rd octect )

76.222.0.0
76.222.4.0
.......etc
76.222.100.0
76.222.104.0
76.222.108.0
76.222.112.0 - subnet (network address )

76.222.115.255 ( broadcast address )

76.222.116.0





2. How many hosts can be in the network?

32-22 = 10 ( 22 bits used for network so the rest are host addresses )

2^10 number of hosts :)


Let me scratch my head for the hard ones..
Avatar of Istvan Kalmar
HI,

the easyest way if you don't want to compute:

http://www.subnet-calculator.com/
Avatar of acl-puzz

ASKER

@ikalmar

I desperately want to compute/learn the hard ones and thats the real question is.
You are given an address of 76.222.112.64/22

3. Suppose you need to subnet that network. You need 6 subnets with at least 30 addresses each, 4 subnets with at least 100 addresses each, and 1 subnet with no more than 6 and no less than 4 host addresses. Is that possible? If so, how would you do it?

You need these ranges:
1) 30 addresses each, times 6 -> 192 addresses total
2) 100 (128!) addresses each, times 4 = 512
3) 8 addresses (a range of 8 addreses gives you 6 host addresses available since the first address is the network address and the last is a broadcast address).

Sounds easy. First place the biggest chunks, 4x128 addresses:
76.222.112.0/25 (half of a c-class network)
76.222.112.128/25 (half of a c-class network)
76.222.113.0/25 (half of a c-class network)
76.222.113.128/25 (half of a c-class network)

Next chunks of 32 addresses:
76.222.114.0/26 (one quarter of a c-class network, from 0 to 64)
76.222.114.64/26
76.222.114.128/26
76.222.114.192/26
76.222.115.0/26
76.222.115.64/26

Now what we have left is the 115-network from .128 up to .255. That would easily fit the 8-addresses scope we need.
76.222.116.128/28

The addresses from 136 (128+8) are left for future uses.


4. You are asked to summarize your network with a 76.216.232.111/17 network. What will the summary address be like provided you need the smallest summary possible?

My network is 76.222.112.0/22, right. That is 76.222.[112-115].x. Now we want to summarize this with 76.216.232.111/17 which is 76.216.[232-233].x. So we need to find a common subnet for 76.216.[112-233].x which isnt that easy. If we start with a /16 we have 76.216.[whatever].x, which might be too easy. If we split that in halves (/17) we have 2 networks, 76.216.[0-127].x and 76.216.[128-255].x. We see that our span of third octet, 112-233 would be split by this netmask, so the smallest summary address would be /16, that is 76.216.0.0/16.



I wouldnt recommend anyone to use tools for this. If you want to master subnetting you must be able to use nothing else than perhaps a pen to solve any questions like these...

/Kvistofta
Yes I agree with you, but if you want to check your computing you need this tool!
@Kvistofta

I did understand most of the part of yours answer except 4th answer ..actually i still dont understand this question yet how/why the hell we would summarize 76.222.112.64 with 76.216.232.111 i mean are we counting 76.0.0.0 as a common subnet and what is the need?

one more thing when we are dealing with this type of questions which given requirement we shold give preference if it says "500 hosts required per subnet" or  "10 subnets required" within same question.


Thanks
ASKER CERTIFIED SOLUTION
Avatar of Jimmy Larsson, CISSP, CEH
Jimmy Larsson, CISSP, CEH
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
its ok ;-)

So all except 4th were right?

And let me also tell you how i understands process of solving 4th question

1.Firstly we need to know what is classful network which is 76.0.0.0 then we need to consider right most octect comes after 76.X

2.Then we need to find common bits in binary in this first right-most octect and conclusion is 11011 then you added default classful network bits for the given network in question+common bits which is 8+5=13 is the answer

pls rectify me so that i wont have any confusion as iam studying for certification and is there any faster method for 2nd step u know binary method takes time and we have just 1:30 for everything

Thanks
Exactly. See a subnet-mask as it is a boundary between all 1:s (to the left) and all 0:s (to the right). Where is that boundary? With /16 (255.255.0.0) it is between octet 2 and three for example. With /15, the rightmost bit in the 2:nd octet is turned into a 0 which means that that bit is part of the host-address, not the network-address. And so on.

I think you are pretty well on the spot. The exact way of thinking is different between all ov us. Each tech-guy has his own way of seeing/thinking/calculating stuff like this. It doesnt matter which method you use as long as the result is the correct. :)

Best way to do this is practice, practice and practice.

/Kvistofta
i wish there is other method then that u used in 4th question so that i can solve it faster during exam if any pls let me know :)
You just need practice. That m.ethod would let you solve it within 30 seconds with some practice.

/Kvistofta
ok man thanks for help