Networking Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationNetworking Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 7th, 2012, 11:44 AM
msharma28 msharma28 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2012
Posts: 1 msharma28 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 26 m 19 sec
Reputation Power: 0
Need Some Subnetting Help Based On Hosts

Hi guys I have a subnetting question and I'm hoping you guys can help me. Lets say youre given a block of 192.168.10.0 and youre told to subnet this for 60 hosts one one network and then 40 hosts on another. You do the calculations for the 60 hosts and thats all fine but then here is my question. What IP block do you use for the next 40 hosts? How do you subnet for multiple block of hosts using one address block (192.168.10.0). Im sorry if my question is unclear but Im hoping someone can help me

Reply With Quote
  #2  
Old December 7th, 2012, 06:54 PM
E-Oreo's Avatar
E-Oreo E-Oreo is offline
Lost in code
Click here for more information.
 
Join Date: Dec 2004
Posts: 7,930 E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)  Folding Points: 945 Folding Title: Novice Folder
Time spent in forums: 2 Months 7 h 39 m 37 sec
Reputation Power: 6991
"192.168.10.0" by itself isn't a block, it's an address. But let's pretend that's your starting address.

Let's say that you first need to create a network for 40 hosts. How many bits do you need for 40 hosts? 6; because 2^5 is only enough for 32 hosts. You have 32 bits in the address though, so this means you have 26 bits left over. So the netmask is going to be 26 bits. This makes your netmask 255.255.255.192 because 0b11111111 is 255 in base 10 and 0b11000000 is 192 in base 10. And since this is your first subnet, your subnet address is 192.168.10.0. Since your network has 64 hosts in it, the last address in the subnet is 192.168.10.63.

Let's say your second network is only 25 hosts. Now you only need 5 bits for the hosts. So this time your netmask is going to be 27 bits. So 255.255.255.224, because 0b11100000 is 224 in base 10. If you want to position it immediately after your last network, then your subnet address is simply the next available address, 192.168.10.64.
__________________
PHP FAQ
How to program a basic, secure login system using PHP

Quote:
Originally Posted by Spad
Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationNetworking Help > Need Some Subnetting Help Based On Hosts

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap