Sign in with
Sign up | Sign in
Your question

Subnetting, How to calculate Network prefix(Vlsm)

Last response: in Networking
Share
December 21, 2011 10:41:05 PM

Hi people,

Me again, I am looking for the calculation needed to determine the network prefix for a network.I have had the following question on the ccna assesment (I failed) I know what vlsm is I just cannot find the formula or method to determine the right network prefix, I 've done some google'ing but I cannot get what I'm looking for,maybe my search is wrong but I don't know, please help
December 22, 2011 7:33:03 PM

We can't see the private image.
December 25, 2011 9:31:06 PM

" alt="" class="imgLz frmImg " />

I think it was a temporary mediafire error, it shows properly now here.Thanks in advance.
Related resources
December 26, 2011 1:32:02 PM

/27 is the correct answer. You want .37 and .62 in one network and .76 and .94 in the other network.
December 26, 2011 3:26:26 PM

I'm sorry but that doesn't tell me anything. How do I calculate that?
December 26, 2011 4:41:44 PM

Do you understand that /27 means that the mask is 255.255.255.224 and that the bits are 11111111 11111111 11111111 111000000? If the last 5 bits have a value of 31 (16+8+4+2+1), then a 27 bit mask allows for 8 networks having IP address ranges of 0-31, 32-63, 64-95, 96-127, etc. The goal is to make sure that each router is in a different netwok. You don't calculate it; you need to understand how it works.
December 27, 2011 1:10:39 PM

GhislainG said:
Do you understand that /27 means that the mask is 255.255.255.224 and that the bits are 11111111 11111111 11111111 111000000? If the last 5 bits have a value of 31 (16+8+4+2+1), then a 27 bit mask allows for 8 networks having IP address ranges of 0-31, 32-63, 64-95, 96-127, etc. The goal is to make sure that each router is in a different netwok. You don't calculate it; you need to understand how it works.


Yes I understand that the snm would be 224 having a /27 as you use 27 bits and the 5 left are for hosts.I also understood the values you mentioned. Why do you say a 27 bit mask allows for 8 networks with those ranges, how did you figure it out? Sorry for being a pain but it is my first time doing subnetting.
Thanks for the help so far.
December 27, 2011 1:24:01 PM

It's easy. Each subnet contains 32 addresses. 256 / 32 = 8.
!