Solved

Recommended size of Subnet

Posted on 2014-10-25
7
246 Views
Last Modified: 2014-10-26
I wonder what's the recommended size of each subnet. for instance how many hosts should be in each subnets, considering mapping Vlan to subnet.
Example:
let's say I have this network 172.16.0.0/16 that I will subnet and make it 172.16.0.0/24
This will give me 256 Subnets of 254 hosts each, and each Subnet will have it is own Broadcast address : example:
Network:   172.16.0.0/24          
Broadcast: 172.16.0.255          
HostMin:   172.16.0.1            
HostMax:   172.16.0.254          
Hosts/Net: 254                    


Network:   172.16.1.0/24          
Broadcast: 172.16.1.255          
HostMin:   172.16.1.1            
HostMax:   172.16.1.254          
Hosts/Net: 254

As know Best practice is to map each subnet to a specific Vlan. however I am not sure if 254 hosts in one  Vlan does not impact performance.

OR do I need to subnet it further:  to /25 or /26 in order to have smaller subnets ?

Thanks
0
Comment
Question by:jskfan
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 50

Accepted Solution

by:
Don Johnston earned 215 total points
Comment Utility
Unfortunately, there is no absolute answer.  It used to be the size of the network was limited by collisions. But now that we use switches, collisions are no longer a limiting factor.

Excessive broadcast can be a limiting factor (rule of thumb is more than 20% is excessive). But you have to have a lot of devices to hit that number.

So at the end of the day, the size of the subnet usually becomes a management/security issue.  Which means as large as a few thousand to as small as 2.
0
 
LVL 18

Assisted Solution

by:Akinsd
Akinsd earned 215 total points
Comment Utility
Avoid subnets larger than 510 hosts (/23) as much as possible
Cisco still recommends a maximum of 500 which is 510
I also recommended also to have QoS in place, but a MUST for networks with more than 500 hosts (all subnets combined) to ensure that 1 host does not hog traffic unecessarily.

/25 (126 hosts) or /26 (62 hosts) are good as long as you have enough IPs for hosts in respective subnets.

Broadcast storms may cause congestion, collisions and eventual packet loss. Mac Address flooding can cause a switch to function as a hub and will pass traffic in all directions.
0
 
LVL 25

Expert Comment

by:Fred Marshall
Comment Utility
I agree with Don Johnson.  One size does not fit all.  That answers your question pretty well.
It's important to first define what your problem is.
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:jskfan
Comment Utility
172.16.0.0/25 will give 512 Subnets with 126 Hosts each.

So if a VLAN has 126 hosts , will that be too much with regards to performance ?
0
 
LVL 25

Assisted Solution

by:Fred Marshall
Fred Marshall earned 70 total points
Comment Utility
As I said in other words: "it depends".

With 126 hosts AND smart switches AND typical office traffic then most certainly.
Without the smart switches - very likely yes.
But, if the traffic is unusual then ... how unusual is it?
0
 
LVL 18

Expert Comment

by:Akinsd
Comment Utility
You should be fine with /25.
2 subnets with 126 hosts each constitute 2 separate broadcast domains as they have a routed interface separating them. That's one of the main purpose of subnetting, to contain broadcast domains in small chunks.
It's like dividing a class of 510 grade 2 students into 2 classes. Imagine 126 students shouting (broadcasting) messages to everyone compared to 510 students shouting messages. There is more discombobulation in the class of 510 than 126.
You should however implement QoS on your core switch. Auto QoS should suffice
0
 

Author Closing Comment

by:jskfan
Comment Utility
Thank you
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

New Server 172.16.200.2  was moved from behind Router R2 f0/1 to behind router R1 int f/01 and has now address 172.16.100.2. But we want users still to be able to connected to it by old IP. How to do it ? We can used destination NAT (DNAT).  In DNAT…
There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now