Support Downloads Community

UniFi Video is an obsolete product line.

This application and its related devices will no longer receive any manner of technical support, including functional and security updates. Additionally, there will be no further updates to Help Center content pertaining to UniFi Video.

UniFi - USW: How to Enable L3 Routing on UniFi Switch


This article explains how to enable the L3 routing feature by selecting "Switch" as the Gateway Type on UniFi Switches that support this feature (USW-Pro Gen 2 series and US-XG-6POE).

This article applies exclusively to the USW-Pro Gen 2 series and US-XG-6POE running UniFi Network Controller version 5.13.9 and above.

Table of Contents

  1. Introduction
  2. Network Diagram
  3. How to Enable the L3 Routing Feature
  4. Related Articles


Back to Top

The layer 3 routing feature improves routing performance on large networks, offloading the inter-VLAN routing effort from the gateway resulting in a higher speed and lower network latency. As shown in the topology example below: all traffic between the VLAN 110 hosts and VLAN 120 hosts (the inter-VLAN traffic), would be handled by USW Pro 2 instead of the UDM-Pro.

Network Diagram

Back to Top


How to Enable the L3 Routing Feature

Back to Top

1. In the UniFi Network Controller go to the Settings section (in Classic Mode) and navigate to Networks > Create New Network.

2. Under Gateway Type select Switch.

3. Under Gateway select your UniFi Switch that will perform these gateway tasks. Remember to save and apply your changes at the bottom of the screen.

4. Once the L3 network is created, the network "Inter-VLAN routing" will be created automatically and appear in the Networks list under Settings > Networks, to define how the L3 switch forwards packets to the USG or UDM in your network. The gateway IP of this network will be the default gateway for all L3 networks.

Related Articles

Back to Top

UniFi - Using VLANs with UniFi Wireless, Routing & Switching Hardware

Was this article helpful?
61 out of 129 found this helpful