Possible Duplicate:
How does Subnetting Work?

An organization is allocated the IP block of It has a head office and three branches each of which can have 500 to 4000 hosts. You are required to subnet their IP block and suggest suitable subnets for each location.

1) How many subnet bits should be used? For what ?

2) How many usable hosts can be there in each subnet? That depends on the answer to for what above

3) Assign a suitable subnet for each of the following locations which locations?

4) Write the subnet mask of the above subnets in dotted decimal format. which subnets?

please can someone explain procedure of calculating above things.

marked as duplicate by Iain, Scott Pack, Ben Pilbrow, Smudge, Mark Henderson Aug 6 '11 at 21:32

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

migrated from stackoverflow.com Aug 6 '11 at 17:20

This question came from our site for professional and enthusiast programmers.

  • 5
    Off topic. Also sounds like homework and, if it is, tag it as such. – pst Aug 6 '11 at 17:10
  • Actually I'm learning sub-netting and I got some questions regarding that so I need to check whether my answers are correct or not that's why I put this in Stack-overflow. – nirmal Aug 6 '11 at 17:17
  • 1
    As it is homework you don't get an answer from me. Homework is for exercise and not that others do it for you. But if you need to cheat then search for an online subnet calculator. This is at least half the way. – mailq Aug 6 '11 at 17:28
  • Read the question carefully it cannot be answered as it is incomplete. – Iain Aug 6 '11 at 18:00
  • @pst: No, meta tags are discouraged. – womble Aug 6 '11 at 22:53

This is my answer

1) we have to use 2 bits to represents the network

3) So three sub-nets will be


4) Subnet mask will be

  • -:
  • -:
  • -: