Skip to content

Static Routes

Dashboard Location: Security and SD-WAN > Configure > Addressing & VLANs > Static Routes

Static Route Management

Static route configuration in Meraki appliances provides comprehensive routing control for directing network traffic to specific destinations through designated gateways. This functionality enables organizations to implement complex network topologies, integrate with existing infrastructure, and ensure optimal traffic flow across multiple network segments. Static routes support advanced networking scenarios including multi-VLAN environments, remote site connectivity, and integration with legacy systems while maintaining centralized management and visibility.

Diagram

Diagram

Classes

appliance (meraki.domains.organizations.networks)

NameTypeConstraintMandatoryDefault Value
static_routesList[static_routes]No

static_routes (meraki.domains.organizations.networks.appliance)

NameTypeConstraintMandatoryDefault Value
nameStringmin: 1, max: 127No
subnetStringRegex: ^((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\/([1-9]|[12][0-9]|3[0-2])$No
gateway_ipIPNo
gateway_vlan_idAnyInteger[min: 1, max: 4094] or String[matches: `(?:[1-9][1-9][0-9][1-9][0-9]2

Examples

Example-1: The example below demonstrates static route configuration using tested YAML configuration from pipeline fixtures.

meraki:
domains:
- name: "!env domain"
administrator:
name: "!env org_admin"
organizations:
- name: "!env org"
networks:
- name: "!env network_name"
product_types:
- appliance
- camera
- switch
- wireless
- cellularGateway
appliance:
static_routes:
- name: Static Route 01
subnet: 10.0.0.0/16
gateway_ip: 192.168.10.1
gateway_vlan_id: 10
- name: Static Route 02
subnet: 192.168.0.0/24
gateway_ip: 192.168.20.1
gateway_vlan_id: 10