Subnetting – Overlap for VLSM and FLSM

subnet

Is it easier to find subnet overlaps in VLSM and FLSM. I really don't see the difference. The algorithm to find overlaps in VLSM and FLSM is not different right?
Both of them involve finding the broadcast addresses and checking if they are different/same?

Best Answer

There is no possibility of an overlap with FLSM. There can only be an overlap with VLSM. To that end, it will be much easier to "find" an overlap in FLSM, since there never is one. Whereas "finding" a overlap in VLSM will involve some binary math. Let me explain.


FLSM, or fixed-length subnet mask implies every mask is the same across multiple subnets.

For example, breaking up a Class C network (aka, /24) into FLSM sub-networks of /27 would yield ONLY these results:

  • x.x.x.0/27
  • x.x.x.32/27
  • x.x.x.64/27
  • x.x.x.96/27
  • x.x.x.128/27
  • x.x.x.160/27
  • x.x.x.192/27
  • x.x.x.224/27

These are the only 8 possible /27's within a /24. Every NetID listed above represents a subnetwork that includes addresses of the NetID itself, and the following 31 addresses.

There is no such thing as a x.x.x.150/27 address, the NetID and mask do not pair, so there is no way to have a /27 range represent 150-181 (and would therefore introduce an overlap possibility).

As a result, in FLSM, there is no possibility of an overlap if you are using NetID's and Masks that pair properly.


VLSM, or variable-length subnet mask implies every mask is not necessarily the same across multiple subnets.

For example, there are countless ways to break up a /24 into multiple subnetworks, one of which might be...

  • x.x.x.0/27
  • x.x.x.32/28
  • x.x.x.48/29
  • x.x.x.56/29
  • x.x.x.60/30
  • x.x.x.64/27
  • x.x.x.96/28
  • x.x.x.112/28
  • x.x.x.128/26
  • x.x.x.192/28
  • x.x.x.208/28
  • x.x.x.224/27

To find overlaps, you would have to calculate the IP range for each subnet, and ensure that no IP addresses are "counted" twice. That involves doing the traditional subnetting math.

Since the masks differ for each subnetwork, in VLSM, there is absolutely a possibility that an overlap exists.


To close, I pose the question to you. Every NetworkID and SubnetMask above pair properly, which is to say they represent a valid subnetwork and subnet mask combination.

As we learned, with properly paired FLSM, there is no overlap. With properly paired VLSM, there might be an overlap.

In the Ssb-network list above, there is an overlap in the VLSM range above. Can you find which it is? How easy was it, comparatively?