Working with VLAN interfaces and static routing

NAVIGATION  Partner Portal > Networking Status > Network Manager > Manage > Switches

This article provides foundational knowledge and best practices for working with VLAN interfaces and static routing on your Datto switch.

VLAN interfaces

VLANs define logical (Layer 2) broadcast domains within a local area network (LAN). When hosts in one VLAN want to communicate with hosts in another VLAN, the traffic must travel between each network, a process known as inter-VLAN routing.

By defining VLAN interfaces on your switch, you can associate a Layer 3 subnet with a Layer 2 broadcast domain (which we encapsulate using VLANs) and allow for this type of routing. A Layer 3 switch must have an IP address (and, therefore, a presence) on each subnet for which it will facilitate inter-VLAN routing.

While not required, a convenient best practice is to structure your subnet IP addresses with a standard number format associated with your VLAN IDs. For example:

VLAN ID IP network
10 192.168.10.0/24
20 192.168.20.0/24

Prerequisites

To enable the VLAN interface and static routing configuration options on your Datto switch, your environment must meet the following prerequisites:

  • A DSW-series switch running firmware 1.00.19 or later must be present on your network.

  • You've enabled Layer 3 operating mode in the Switch Settings section of Datto Network Manager.

  • You've already configured one or more VLANs on a switch port from Datto Network Manager's Port Settings page.

Static routes

Routes define pathways for packets to flow from one network to another. Network appliances forwarding IP packets, such as routers and Layer 3 switches, inspect the destinations of packets upon their entry into the network, and then look up a route to advance that packet to its next or final destination.

When a VLAN interface is defined on a Layer 3 switch, a route for that new network is automatically defined within the switch's routing table. But for networks not directly connected to the switch, you'll need to provide directions about where the packets need to go. SMB networks accomplish this by defining static routes.

Static routes are entries placed manually into a Layer 3 device's routing table. Each route contains a destination network, normally expressed in classless interdomain routing (CIDR) notation, and a "next-hop:" an IP address of a router adjacent to that device that will be able to take the packet and forward it onto its next or final stop.

Because static routes are preconfigured, administrators must manually reconfigure them to adapt to changes in the network when they occur. Static routes are best leveraged in networks where administrators don't expect any changes.

Learn more

The following topics provide additional learning resources for managing your Datto switch: