The subnet mask will determine the number of hosts. In your example, 192.168.1.1 255.255.255.252, since this is a class C address, we are ignoring the first 3 octets. So even if you have 192.168.10.1 255.255.255.252, you will still have the amount of hosts. Now say you had 192.168.11.1 and your mask was 255.255.0.0,we would be ignoring the first the 2 octets and we wold look at the 3rd and 4th in this case.
Main Topics
Browse All Topics





by: static-voidPosted on 2009-05-01 at 21:51:43ID: 24284872
ok the way subnetting works is that the subnet mask is a binary mask for the values of the address which are valid.
11111100
For example
255.255.255.0 == 11111111 11111111 11111111 00000000
this is a /24 and means that the first 24 bits of the specified address are within that subnet
255.255.255.252 = 11111111.11111111.11111111
that means that the last 2 bits (4 addresses) of the address are witin your subnet
for
192.168.1.1 gives 192.168.1.0-3 as .0 is reserved the valid addresses are 1-3 so a 192.168.10.1 subnet 255.255.255.252 just means 192.168.10.1-3