Hi,
Kindly guide me with the following question:
Somebody plz help me with this question.
Zulfi.
Hi Zak,
Fow network 192.168.10.0 and for 4 subnets subnet mask is 255.255.255.192 or /26 and number of hosts per network is 64 including broadcast addresses, C class.
Convert 192.168.10.0 and convert to binary: 11000000.10101000.00001010.00000000
Determining class of address :
If the first bit is 0 it is a Class A address
If the first two bits are 10 it is a Class B address
If the first three bits are 110 it is a Class C address
If the first four bits are 1110 it is a Class D multicast address
If the first four bits are 1111 it is a Class E experimental address
Your example is a Class C address. The default subnet mask for a Class C address is:
subnet mask: 11111111.11111111.11111111.00000000
The formula for figuring out the number of "network" bits in a subnet mask is
2^n=number of subnets (2^n means "2" to the power of "n")
Since you know the number of subnets, you need to find "n".
Because you want 4 subnet(s), you want to add 2 - "1" bits to the default subnet mask since 4 = 2 ^ 2.
This will give you the following subnet mask:
subnet mask: 11111111.11111111.11111111.11000000
;-)
- - - Updated - - -
I remmember one old pc game called "Zak McKracken". :smile: