• Creator
  • #2141276

    Dumb VLAN Question

    by clairefromperth ·


    I’m trying to get my head around subnetting as I venture in VLAN setups home/small business network. I have an all-Ubiquiti network with a UDM-Pro gateway, Unifi 24-port switch, and UAC WiFi device – all rock solid so far. Here’s my really dumb question…

    I’m trying to sort out two different approaches.

    Approach A: Let’s say I start with a private Class C address like with a (/24) mask – that yields 254 usable addresses. Then I see folks assigning,,,… etc. addresses to their VLANs (VLAN10, VLAN20, VLAN30,… etc.). The subnets have a different address in the third octet.

    Approach B: What’s wrong with defining ( This yields 16 subnets with 14 addressable hosts per subnet with the first three octets the same. Why not assign VLAN10 to a range like –; VLAN20 to –, etc.

    I can understand why Approach A is a neat and organized framework, but you still only have 254 usable addresses, right? If is okay to go this way if you’re sure you won’t need more that 254 hosts? In Approach B, I can see inefficiency in losing addresses at the beginning and end of each subnet, but why is this an option folks don’t seem to use? Am I missing something fundamental about Layer 2 and 3 definitions?

    Thanks for helping to straighten me out.

You are posting a reply to: Dumb VLAN Question

The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our Community FAQs for details. All submitted content is subject to our Terms of Use.

All Answers

  • Author
    • #2415857

      What are you trying to achieve by segmenting the network?

      by spetryschuk ·

      In reply to Dumb VLAN Question

      I’d take a step back and try to understand what are you trying to achieve by segmenting your network.

      Typically, network admins will create different VLANs to segment the physical network into logical groupings. So what are you trying to achieve by having VLAN10, VLAN20, etc? Most often, the VLANs serve a purpose such as separating wired vs. wireless networks, data vs. voice networks, servers vs. workstations. How many VLANs need to be created will depend on how you want to segment your physical network. Remember that each VLAN is a “virtual LAN”, or intended to be a separate L2 network.

      Next, you’ll need to define which Layer 3 subnets are carried on each VLAN. The required size of the subnet will depend on how many devices you intend to connect to that network. Most SOHO and SMB environments use a /24 subnet mask as its easy, even if they don’t need all 254 available IPs. Unless you have a specific reason not to use a /24 subnet, I’d stick with that.

      As for putting on VLAN10, on VLAN20, etc, that’s just vanity. Easy to remember / document. As long as you’ve configured the routing correctly, there will be no difference in the performance of the network if you were to use a subnet on, for example, VLAN90.

Viewing 0 reply threads