creating subnet from ip address

Status
Not open for further replies.

zak100

Newbie level 2
Joined
Apr 25, 2013
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,292
Hi,
Kindly guide me with the following question:
You are working with a network that has the network id 192.168.10.0. what subnet should you use that supports four subnets and a mximum number of hosts?

Somebody plz help me with this question.

Zulfi.
 

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:
 

Hi,
Thanks for providing me this great answer. I tried to search on the web but i got something like this but i could not understand

you want to add 2 - "1" bits to the default subnet

Now i am able to undertand that it means "to add two '1' bits".

However the answer in the book is 255.255.255.224.

Kindly explain me this.

Also i am not able to understand:



/26 and number of hosts per network is 64 including broadcast addresses, C class.

Kindly solve my problem.

Zulfi.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…