VLAN and subnet planner

Pick the kinds of network you need and get a VLAN and subnet table, a deny-by-default rule matrix and the hardware that plan requires.

Updated

With JavaScript on, the calculation runs in your browser. Your figures are added to the page address so you can bookmark or share the result; the address sent to analytics leaves them out. Without JavaScript the form sends your figures over HTTPS for one calculation; the response is not cached and the figures are not sent to analytics. Every result says whether it comes from a standard, from arithmetic on your figures, from an estimate or from your own input.

Networks you need

If you ever join sites with a VPN, avoid 192.168.0.0 and 192.168.1.0, which many home routers use.

Gives each site its own range: 10.<site>.<VLAN>.0/24. Leave 0 for a single site.

Result

The result appears here after you select Calculate.

How this is calculated

Assumptions

  • Each network is one /24 (254 usable addresses), with the gateway at .1.
  • The third octet of each subnet is the VLAN ID, so subnets cannot overlap within a site.
  • VLAN 1 is left unused because it is the default untagged VLAN on most switches.
  • Traffic between networks is denied unless the table allows it; replies to allowed connections are let back.

Limits of this calculator

  • A network with more than 254 devices needs a larger subnet than this plan gives it.
  • The allowances are typical defaults. A point-of-sale network is governed by your payment processor's requirements, not by this table.
  • IPv6 addressing is not planned here.
  • How rules, VLANs and SSIDs are set up differs by maker; this is the plan, not the configuration.

Sources

Other calculators

Your privacy choices

RouterHaus uses Google Analytics to understand which pages help people. We don't sell personal information. Advertising cookies are off.

Until you save a choice here, analytics cookies are off for visitors in the EEA, UK and Switzerland and in browsers that send Global Privacy Control; elsewhere they're on. When they're off, Google may still receive cookieless pings without identifiers. A choice you save here applies in this browser wherever you are, and your analytics choice applies even if the browser sends Global Privacy Control.

Details are in our privacy policy.