Lab 2 -- Meraki SD-WAN with AutoVPN¶

Building Meraki AutoVPN Fabric
In this lab, you will build and optimize an Auto-VPN SD-WAN fabric, using intuitive dashboard workflows and practicing performance-based routing for resilient connectivity.
Exercise A -- Establishing a Basic SD-WAN Fabric¶
-
Navigate to your DC1 network. From the Configure > Site-to-site VPN page, start by configuring your DC site as a "Hub (Mesh)"
-
Enable VPN for only the AppServers-DC1 network/subnet by selecting "Enabled" from the drop-down menu of the "VPN mode" column. This adds the subnet to the SD-WAN fabric.
-
Now navigate to your DC2 network and perform the same for the AppServers-DC2 network/subnet.
-
Navigate to Security & SD-WAN > Monitor > Route Table and review the routes that are present in the route table. What has happened?
-
Switch to your Branch_SA network and configure this site as a VPN "Spoke".
-
First add the DC1 site as a hub and make sure a full tunnel VPN is established by ensuring the 'IPv4 default route' box is checked for the hub. Then perform the same for the DC2 hub, adding it as the second priority hub.
-
Enable VPN for the Corp and Voice networks/subnets by selecting "Enabled" from the drop-down menu of the "VPN mode" column next to each of them.
Hint
Allow a few minutes to pass before performing the verification pings in the following instructions. You must allow time for the MX appliance to update/synchronize its configurations with the Dashboard and allow the VPN information to be propagated to the cloud VPN registry.
-
On the Branch security appliance verify that you have connectivity to both data center application networks/subnets. Navigate to Security & SD-WAN > Monitor > Appliance Status, and then click the Tools tab.
-
Using the ping tool and the source IP Address of VLAN 10, ping the default gateways of the AppServers subnet/network in each data center, i.e. 10.20.61.1 and 10.20.62.1. They should both be successful with low latency and no loss.
-
Now perform the same tests again but using VLAN 50 (the "Guest" network/subnet) as the source IP address. What happens? Is the path able to be traced, can you explain the outcome?
Exercise B -- SD-WAN Performance-based Routing¶
-
We have already configured the WAN uplinks for the Branch_SA network, and since we have two uplinks we need to enable load-balancing. Navigate to Configure > SD-WAN & Traffic Shaping and enable 'Load balancing'.
-
Our first Flow Preference to configure is for Internet traffic. The request is for "Guest" network traffic to traverse outbound across the asymmetric connection, i.e. WAN 2, when it is available.
Hint
Use the Guest subnet CIDR as the traffic source, and set the destination to Any.
-
Now create a custom performance class named "Acceptable Delay" with a setting of 200ms maximum latency. This performance class will be used to dynamically direct (or redirect) traffic depending on network conditions.
-
Under SD-WAN policies, we will now create some traffic rules. The first rule will use the custom performance class that we created previously. This rule will define how to treat outbound traffic destined for 8.8.8.8 (Google Public DNS) -- which should prefer WAN 2 unless its performance is worse than "Acceptable Delay". Use the following within a custom rule to define this:
| Traffic Filter (Layer 3) | Policy |
|---|---|
| Protocol | Any |
| Source | Any (Src port: Any) |
| Destination | 8.8.8.8/32 (Dst port: Any) |
| Policy | |
| Preferred uplink | WAN2 |
| Failover if | Poor performance |
| Performance class | Acceptable Delay |
- A second policy will also take advantage of the "Acceptable Delay" custom performance class but this time enforce that any traffic from the "Corp" subnet (10.10.10.0/24) should load balance on uplinks that meets the "Acceptable Delay" metrics:
| Traffic Filter (Layer 3) | Policy |
|---|---|
| Protocol | Any |
| Source | 10.10.10.0/24 (Src port: Any) |
| Destination | Any (Dst port: Any) |
| Policy | |
| Preferred uplink | Load balance |
| Performance class | Acceptable Delay |
- Finally, a third policy should enforce that any traffic from the Voice (10.10.30.0/24) network/subnet should use the best link for VoIP traffic:
| Traffic Filter (Layer 3) | Policy |
|---|---|
| Protocol | Any |
| Source | 10.10.30.0/24 (Src port: Any) |
| Destination | Any (Dst port: Any) |
| Policy | |
| Preferred uplink | Best for VoIP |
-
Navigate to the Tools page of the switch in the Branch_SA network: Switching > Monitor > Switches, click the "Branch-MS" switch, then the Tools tab. Initiate a ping from the 10.10.10.2 (Corp VLAN) interface to the AppServer-DC1 VLAN gateway, 10.20.61.1. This should prove consistent with low latency.
-
Now perform the same ping but to the AppServer-DC2 VLAN, 10.20.62.1 gateway. The result should be similar. Then do the same again but using the destination of 8.8.8.8.
-
Navigate to your branch MX security appliance Monitor > VPN Status page and scroll down to the Uplink Decision section/table to verify that these packets destined for 8.8.8.8 is in fact, using WAN 2. Also note the decisions made to send traffic to the data centers.
-
In the table immediately below the latency graph, click the line for DC1 (do not click on "DC1" itself), this will take you to the performance results for all the tunnels from the Branch MX to the DC1 MX. Mouse over the Custom performance class in the top left to high-light acceptable performance.
Note
Depending on how long the tunnels have been up, there may not be a latency graph - there may be a banner reading 'No data available for this VPN network during this time period'.
- Navigate to the Tools page of the switch in the Branch network and initiate a traceroute from the 10.10.10.2 interface to 'icmp.canireachthe.net'. Note the second hop in the path (the first hop is the Branch MX LAN interface). Investigate which WAN interface this is assigned to.
Hint
The second-hop IP corresponds to one of the hub MX appliances in your SD-WAN fabric. Navigate to Security & SD-WAN > Monitor > Appliance Status for the data center security appliances, then select the Uplink tab.
- Now on the Branch network, navigate to the Configure > Site-to-Site VPN page and change the order of the hubs. Perform the same test as the step above and observe any differences in the path.
Hint
This a lab environment and unfortunately the latency, jitter and loss will normally be zero, with the MOS correspondingly being 4.1. In a real-world environment this will vary depending on the quality of the WAN circuits.