Layer3life

Building Meraki – Branch from Zero to Production

In this lab, branch mirrors a real small-to-mid deployment: one branch with an MX, MS and MR, connected to a data center over AutoVPN, with RADIUS authentication and endpoint enrollment through Systems Manager. The goal is a repeatable pattern, so every decision below is made with the second, tenth and hundredth branch in mind.

The lab topology

The data center holds an AD/RADIUS server (10.100.100.53), an Ubuntu host (10.100.100.51), a VPN concentrator MX with dual WAN uplinks, and a gateway at 10.100.100.222 peering BGP with the wider network (AS 65530). The branch is a single MX, an MS switch and an MR access point, joined to the data center through the Meraki site-to-site VPN.

Branch VLAN plan:

Purpose

VLAN

Subnet

Voice

110

172.16.12.0/22

Management

155

10.155.155.0/24

Corporate

10

172.16.8.0/22

Limited

20

172.16.20.0/22

Guest

101

192.168.155.0/24

The subnets do not overlap with each other, with the data center, or with the BGP-learned ranges. That matters more than it looks: AutoVPN advertises every enabled subnet, so one overlap breaks routing at every site. Plan the address space for the entire estate before the first branch, not after.

Step 1: Create the networks

The Systems Manager network (SM_ORG)

Create this first. Its purpose is simple: identify which devices are company-owned. Everything later, especially the corporate SSID policy, depends on it.

  • Network name: SM_ORG
  • Type: Systems Manager, with EMM (enterprise mobility management) enabled

The branch network

  • Network name: Branch 1
  • Network type: Combined hardware (MX, MS and MR in one network, so one set of VLANs, firewall rules and SSIDs)
  • Network configuration: Default Meraki
  • Select the hardware to be claimed

Before touching any settings, do the next step. A configuration template is the single best practice in this entire post.

Step 2: Build the template

A template makes Branch 1 the pattern for every future branch. Anything you configure in the template applies to every network bound to it.

  1. Go to Organization > Configuration templates and click Create new.
  2. Name it branch_temp.
  3. Bind Branch 1 to it and save.

When you open the template you will notice there is no Monitor menu, only Configure. That is expected: a template holds configuration, and the bound networks hold the live data.

Addressing and VLANs

Define the five VLANs from the table above in the template. In a template, subnets are set per bound network using a range from the template’s pool, so you keep the VLAN IDs and policy uniform while each site gets its own addressing.

Group policies

Group policies turn a VLAN or a user role into a security profile.

  1. Network-wide > Group policies > Add group.
  2. Firewall and traffic shaping: use custom network firewall and shaping rules.
  3. Layer 7 firewall: block or deny application categories that do not belong on that role (for example, streaming or file sharing on the Limited VLAN).
  4. Apply the group policy to the VLAN or SSID that should inherit it.

Building policy by role instead of by IP address keeps the rule base small. When a branch grows, the policy follows the VLAN.

Step 3: Connect the branch to the data center

Under Security & SD-WAN > Site-to-site VPN:

  • Type: Spoke
  • Hub: the DC appliance (the concentrator MX)
  • Enable the VLANs that must be reachable over the VPN. Leave Guest out.

This is the AutoVPN pattern from part 1. Tunnels, keys and routes are automatic, and the spoke can use both of the hub’s WAN uplinks. Keep Guest out of the VPN: guest traffic should break out locally to the internet and never reach the data center.

Step 4: Switch profile

Create a switch profile in the template so the MS inherits port configuration automatically.

  • Name: MS220_Temp
  • Model: MS220-8P
  • Bind it to the switch in the branch network

Define port types here (access, trunk to the AP, uplink to the MX) so a new switch in a new branch needs no per-port work.

Step 5: Wireless, three SSIDs, three purposes

XYZ-Guest

Guests should get internet and nothing else.

  • Splash page: Click-through
  • Captive portal strength: Block all access until sign-on is complete
  • Addressing and traffic: Bridge mode (clients join the LAN, here the Guest VLAN)
  • VLAN tagging: 101
  • Band selection: Dual band operation with band steering
  • Configure the splash page content and terms

Pair this with a firewall rule on the MX that denies the Guest subnet access to every internal subnet.

XYZ-BYOD

Personal devices that authenticate but are not trusted like corporate ones.

  • Association requirements: WPA2-Enterprise with RADIUS server
  • RADIUS server: host, port and shared secret
  • Addressing and traffic: Bridge mode
  • VLAN tagging: the Limited VLAN (20)
  • Band steering: enable if older clients are in the mix

XYZ-Corporate

The most interesting one, because it ties wireless to identity and to device posture.

  • Association requirements: WPA2-Enterprise with RADIUS server
  • RADIUS server: host, port and shared secret
  • Addressing and traffic: Bridge mode
  • RADIUS override: allow the RADIUS response to set the VLAN tag, so the RADIUS server decides which VLAN each user lands in
  • Band steering: enable if older clients are in the mix
  • Systems Manager Sentry enrollment: set the strength to enforce on iOS, Android, macOS and Windows
  • Captive portal strength: block all access until sign-on is complete

Order matters here. Enroll devices into the SM_ORG network first, then turn on the Sentry requirement. If you enforce it first, you lock out the very devices you need to enroll.

Step 6: RADIUS with Windows NPS

The SSIDs above are only as good as the RADIUS behind them.

  1. Users and groups. In Active Directory, create groups that match your roles (for example Corp-Users and BYOD-Users) and add the users.
  2. Configure NPS. Register the NPS server in AD, add each Meraki network as a RADIUS client with the shared secret, then create a network policy per group using PEAP (MSCHAPv2) or certificate-based EAP.
  3. VLAN assignment. To make RADIUS override work, return the standard tunnel attributes in the policy: Tunnel-Type = VLAN, Tunnel-Medium-Type = 802, and Tunnel-Private-Group-ID = the VLAN ID.

Two gotchas in a multi-site design. First, the RADIUS request comes from the AP’s management address, so that subnet must be reachable from the data center over AutoVPN and must be allowed as an NPS client. Second, if every branch uses the same management range pattern, add the clients as subnets or ranges instead of single IPs, otherwise each new branch requires NPS changes.

Step 7: Systems Manager as the control point

Systems Manager gives you control over the endpoint, not just the network.

  • Sentry enrollment ties network access to enrollment: unenrolled devices cannot reach the corporate SSID.
  • App control: block specific apps from being installed on enrolled devices (for example speed-test or unauthorized VPN apps).
  • Posture and inventory: see which devices are corporate-owned, which OS they run, and whether they comply.

This is the answer to “who is on my network?” The corporate SSID admits a device because it is enrolled and the user is authenticated, not just because someone knows a password.

Build checklist

  1. Plan non-overlapping address space for the whole estate.
  2. Create SM_ORG and the branch network (combined hardware).
  3. Build the template and bind the branch.
  4. Define VLANs and group policies in the template.
  5. Configure the spoke VPN to the DC hub, excluding Guest.
  6. Create the switch profile.
  7. Build Guest, BYOD and Corporate SSIDs.
  8. Configure NPS, then enroll devices, then enable Sentry enforcement.
  9. Test each role: guest isolation, BYOD VLAN, corporate VLAN via RADIUS override.

What to verify before production

Menu names and options shift between dashboard releases, so check these against your current dashboard: which settings are inherited from the template versus set per network, how subnet pools are assigned to bound networks, and which Sentry options your licenses include. Test with a single pilot branch before binding the rest.

In the next part we will break the lab on purpose and read what the dashboard tells us.