Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




24 posts

Geek


# 18353 7-Jan-2008 20:18
Send private message



        Hello, guys how are you doing?


    i have a calss "C" network and i want to creat 15 subnets with at least 5 hosts per subnet for different offices.
    i don't know how to create subnets. so, could you please guys help me how to do this?


                 thanks

Create new topic
51 posts

Master Geek
+1 received by user: 4


  # 103459 7-Jan-2008 21:52
Send private message

Due to the fact that subnetting works by changing the 8 bits that "mask" each octet of the IP address, you have 2 options:

Netmask 255.255.255.240 (/28) will give 16 networks of 14 hosts.
Netmask 255.255.255.248 (/29) will give 32 networks of 6 hosts.

Every time you slice up the network, you lose more available host addresses to the network and broadcast components.

Assuming you go with the first option, and your class C network is 192.168.1.0, the subnets break down like this:

Subnet 1 = 192.168.1.0
Hosts for Subnet 1 = 192.168.1.1 to 192.168.1.14
Broadcast address for Subnet 1 = 192.168.1.15

Subnet 2 = 192.168.1.16
Hosts for Subnet 2 = 192.168.1.17 to 192.168.1.30
Broadcast address for Subnet 2 = 192.168.1.31

---

Subnet 16 = 192.168.1.240
Hosts for Subnet 16 = 192.168.1.241 to 192.168.1.254
Broadcast address for Subnet 16 = 192.168.1.255

I'll leave the intermediate math to you as a learning experience. (You should also review the "Subnetwork" page on wikipedia for a more detailed explanation).

So if you create a host with IP address 192.168.1.5 and netmask 255.255.255.240 it can directly connect to hosts 1-14 but will expect a route to see anything above 15.

To be honest, it actually makes more sense once you start doing the calculations in binary! You can then see the "bits in action" and how the "masking" actually works.

HTH and have fun!
Andy.

262 posts

Ultimate Geek
+1 received by user: 8

Trusted

  # 103462 7-Jan-2008 21:58
Send private message

A /29 will give you 6 usable addresses, one of these would need to be used by the router (assuming you require all the subnets to be able to talk to one an other.

so

192.168.0.1 - 192.168.0.6
192.168.0.9 - 192.168.0.14
192.168.0.17 - 192.168.0.22
192.168.0.25 - 192.168.0.30
192.168.0.33 - 192.168.0.38
192.168.0.41 - 192.168.0.46
192.168.0.49 - 192.168.0.54
192.168.0.57 - 192.168.0.62
192.168.0.65 - 192.168.0.70
192.168.0.73 - 192.168.0.78
192.168.0.81 - 192.168.0.86
192.168.0.89 - 192.168.0.94
192.168.0.97 - 192.168.0.102
192.168.0.105 - 192.168.0.110
192.168.0.113 - 192.168.0.118

They would all need to have a subnet of 255.255.255.248. 

If you require more that 6 usable addresses, the next step is to have 14 - they are basically two of the above blocks...  so

192.168.0.1 - 192.168.0.14
192.168.0.17 - 192.168.0.30
etc

You will notice for each subnet you are loosing two addresses, the subnet ID (the first address) and the broadcast address (the last address).  Technically a /29 is 8 IP Addresses and a /28 is 16 IP Address ie...

192.168.0.0 - 192.168.0.7 is the first address range in the /29 list above, however 192.168.0.0 becomes the Subnet ID and 192.168.0.7 becomes the Broadcast Address, for the /28 192.168.0.0 is also the Subnet ID but the broadcast address becomes 192.168.0.15

With subneting you will need something to route the required traffic between the subnets.

Good luck
David

 
 
 
 




24 posts

Geek


# 103488 8-Jan-2008 03:07
Send private message


          



                        Thank you very much guys, i really Appreciated

                                             God bless you

Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Porirua City Council first to adopt new council software solution Datascape
Posted 15-May-2019 12:00


New survey provides insight into schools' technology challenges and plans
Posted 15-May-2019 09:30


Apple Music now available on Alexa devices in Australia and New Zealand
Posted 15-May-2019 09:11


Make a stand against cyberbullying this Pink Shirt Day
Posted 14-May-2019 20:23


Samsung first TV manufacturer to launch the Apple TV App and Airplay 2
Posted 14-May-2019 20:11


Vodafone New Zealand sold
Posted 14-May-2019 07:25


Kordia boosts cloud performance with locally-hosted Microsoft Azure ExpressRoute
Posted 8-May-2019 10:25


Microsoft Azure ExpressRoute in New Zealand opens up faster, more secure internet for Kiwi businesses
Posted 8-May-2019 09:39


Vocus Communications to deliver Microsoft Azure Cloud Solutions through Azure ExpressRoute
Posted 8-May-2019 09:25


Independent NZ feature film #statusPending to premiere during WLG-X
Posted 6-May-2019 22:13


The ultimate dog photoshoot with Nokia 9 PureView #ForgottenDogsofInstagram
Posted 6-May-2019 09:41


Nokia 9 PureView available in New Zealand
Posted 6-May-2019 09:06


Motorola Solutions joins local partners to deliver advanced communications network in New Zealand
Posted 30-Apr-2019 21:50


Micron launches high-performance NVMe SSDs for cloud and enterprise markets
Posted 30-Apr-2019 10:27


Jaguar Land Rover trials in-vehicle smart wallet technology
Posted 29-Apr-2019 21:48



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.