37

Under what conditions does one start to consider subnetting a network?

I'm looking for a few general rules of thumb, or triggers based on measurable metrics that make subnetting something that should be considered.

8 Answers 8

33

Interesting Question.

Historically, prior to the advent of fully switched networks, the main consideration to breaking a network into subnets had to do with limiting the number of nodes in a single collision domain. That is, if you had too many nodes, your network performance would reach a peak and eventually would collapse under heavy load due to excessive collisions. The exact number of nodes that could be deployed depended on lots of factors, but generally speaking you could not regularly load the collision domain much beyond 50% of the total bandwidth available and still have the network be stable all the time. 50 nodes on the network was a lot nodes in those days. With heavy use users, you might have topped out at 20 or 30 nodes before needing to start subnetting things.

Of course, with fully switched full-duplex subnets, collisions are not a concern anymore and assuming typical desktop type users, you can typically deploy hundreds of nodes in a single subnet without any issues at all. Having lots of broadcast traffic, as other answers have alluded to, might be a concern depending on what protocols/applications you are running on the network. However, understand that subnetting a network does not necessarily help you with your broadcast traffic concerns. Many of the protocols use broadcasting for a reason - that is, when all the nodes on network actually need to see such traffic to implement the application level feature(s) desired. Simply subnetting the network doesn't actually buy you anything if the broadcasted packet is also going to need to forwarded over to the other subnet and broadcasted out again. In fact, that actually adds extra traffic (and latency) to both subnets if you think this through.

Generally speaking, today, the main reasons for subnetting networks has much more to do with organizational, administrative and security boundary considerations than anything else.

The original question asks for measurable metrics that trigger subnetting considerations. I am not sure there are any in terms of specific numbers. This is going to depend dramatically on the 'applications' involved and I don't think there is really any trigger points that would generally apply.

Relative to rules of thumbs in planning out subnets:

  • Consider subnets for each different organizational departments/divisions, especially as they get to be non-trivial (50+ nodes!?) in size.
  • Consider subnets for groups of nodes/users using a common application set that is distinct from other users or node types (Developers, VoIP Devices, manufacturing floor)
  • Consider subnets for groups of users that have differing security requirements (securing the accounting department, Securing Wifi)
  • Consider subnets from a virus outbreak, security breach and damage containment perspective. How many nodes get exposed/breached - what is an acceptable exposure level for your organization? This consideration assumes restrictive routing (firewall) rules between subnets.

With all that said, adding subnets adds some level of administrative overhead and potentially causes problems relative to running out of node addresses in one subnet and having too many left in another pool, etc. The routing and firewall setups and placement of common servers in the network and such get more involved, that kind of thing. Certainly, each subnet should have a reason for existing that outweighs the overhead of maintaining the more sophisticated logical topology.

7

If it's a single site, don't bother unless you've got more than several dozen systems, and even then it's probably unnecessary.

These days with everyone using at least 100 Mbps switches and more often 1 Gbps, the only performance related reason to segment your network is if you're suffering excess broadcast traffic (i.e. > 2%, off the top of my head)

The main other reason is security, i.e DMZ for public facing servers, another subnet for finance, or a separate VLAN/subnet for VoIP systems.

2
  • Several dozen meaning 50+? Also, broadcast activity - that's a good, easy measurable metric. How much broadcast activity do you think is acceptable?
    – Adam Davis
    May 1, 2009 at 16:44
  • yes, 50+ was what I was thinking, but even then security would still be the most likely reason.
    – Alnitak
    May 1, 2009 at 16:46
7

Limiting scope for any compliance requirements you may have (i.e. PCI) is a pretty good catalyst to segment off some portions of your network. Segmenting off your payment acceptance/processing and finance systems can save money. But in general subnetting a small network will not gain you much in the way of performance.

4

Another reason would be Quality of Service related. We run voice and data vlans separately so that we can easily apply QoS to the voip traffic.

You know, I;ve been thinking about this question more. There are a ton of good reasons to design a new network using distinct networks (performance, security, QoS, limiting DHCP scopes, limiting broadcast traffic (which can be both security and performance related)).

But when thinking of a metric for redesigning just to subnet, and thinking of networks I've had to handle in the past, all I can think of is "wow, that'd have to one really messed up network to make me completely redesign it for subnetting". There are lots of other reasons - bandwidth, cpu utilization of the devices installed, etc. But just subnetting itself on a pure data network wouldn't usually buy a ton of performance

3

Security and quality mostly (as long as the network segment in question can support the nodes in question of course). A separate network for printer traffic, voice/phone, isolated departments like IT Ops and of course server segments, internet-facing segments (one per internet-facing service is popular today, not just "one dmz will do") and so on.

3

If you expect to scale up (you are building a network, not just 5 servers and that will we that) start routing as soon as possible. Way too many networks are unstable and hard to grow because they grew organically and have way too much layer 2 stuff.

Examples:

  • you have two name servers on the same network segment. Now you can't move one of them to another city, because then you'll have to split that nice /24 or renumber the DNS. Much easier if they were on different networks. I'm not talking necessarily about these becoming separate BGP annoucements to the world. This example would be for a nation-wide ISP. Also note that some things in the service provider area aren't as easy as "just register the new DNS at the registrar".
  • Layer 2 loops suck ass. As does spanning tree (and VTP). When spanning tree fails (and there are many cases when it does), it will take everything down with it due to flooding taking switch/router CPU. When OSPF or IS-IS fails (or other routing protocols) it won't crash the whole network, and you can fix one segment at a time. Fault isolation.

So in short: when you scale up to where you think you need spanning tree, please consider routing instead.

3

Personally, I like to take the layer 3 segmentation as close to the access switches as possible, because

  • I don't like Spanning Tree (you can make it do very funny things if you're evil)
  • Especially on Windoze networks, broadcasts are a real problem.
  • On private networks, you have a lot of IP space to waste :)
  • Even cheaper switches have wire-speed routing-capabilities by now - why not use them?
  • Makes life easier when it comes to security (e.g. Auth and ACLs at the egde, etc)
  • Better QoS possibilities for VoIP and realtime stuff
  • You can tell the location of a client from its IP

If it comes to bigger/wider spread networks where two core switches/-routers are not sufficient, the normal redundancy mechanisms like VRRP have lots of drawbacks (traffic passes uplinks multiple times, ...) OSPF doesn't have.

There are probably a lot of other reasons to support the use-small-broadcast-domains-approach.

2

I think the scope of the organization matters a lot. If there are 200 hosts total or less on a network and traffic doesn't need to be segmented for any reason, why add the complexity of VLANs and subnets? But the larger the scope, the more it might make sense.

Splitting up networks that normally wouldn't need to be can make some things easier though. For instance, our PDUs that supply power to servers are in the same VLAN or subnet as the servers. This means our vulnerability scanning system used on our server range also scans PDUs. Not a huge deal, but we don't need PDUs to be scanned. Also it would be nice to DHCP the PDUs since they are a pain to configure, but since they are in the same VLAN as servers right now, that is not very feasible.

While we don't need another VLAN for the PDUs, it can make some things easier. And this gets into the whole more vs less VLANs argument that will continue on for ever.

Me, I just think have VLANs where it makes sense. If for instance we gave PDUs their own VLAN it doesn't mean we always have to give small groups of devices their own VLAN. But rather in this case it might make sense. If a group of devices doesn't need to have it's own VLAN and there are no advantages to doing so, then you might want to consider just leaving things as they are.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .