How to configure Policy Routing on Omada Gateway via Omada Controller
Contents
Objective
This article introduces how to configure Policy Routing on Omada gateway via Omada Controller.
Requirements
- Omada Gateway series
- Omada Software Controller / Hardware Controller / Cloud Based Controller
Introduction
Policy Routing is a process whereby a device puts packets through a route map before routing the packets. The route map determines which packets are routed next to which device based on the IP address and port number in the packet. Policy Routing introduces a more flexible mechanism for routing packets than destination routing.
There is an example of daily use below showing how to configure Policy Routing on dual WAN gateway correctly:
A customer has an ER7206 and connects 3 computers to the LAN side of ER7206 with IP address 192.168.0.2-192.168.0.4. All computers are routed to the Internet by dual WAN ports; he plans to set policy routing rules for 2 computers that use 192.168.0.2 and 192.168.0.3, make WAN1 for web surfing, and WAN2 for other Internet activities.
In this example, you can configure Policy Routing as follows.
Configuration
Step 1. Log in to the Controller via web browser, go to Settings >Profiles >Groups to configure specific IP Group, as shown in the figure below.
Step 2. Go to Settings >Profiles >Groups to configure specific IP-Port Group (Web application use), as shown in the figure below.
Step 3. Go to Transmission >Routing >Policy Routing to set up the Policy Routing rules. The Gateway will check the rules in the list by turns from top to bottom. We can set up two rules to meet the needs of the customer. The first rule is for 192.168.0.2&192.168.0.3 to route the data whose destination port is 80 or 443 (Web application use) to SFP WAN/LAN1 only. The second rule is for route all ports of 192.168.0.2&192.168.0.3 to WAN2. The first rule is as follows.
The second rule is as follows.
Note: “Use the other WAN port if the current one is down” is usually enabled. When enabling “Use the other WAN port if the current one is down, " the router would check its status based on Online Detection before routing traffic to a specific WAN. If the WAN were offline, data would go through the other WAN with Internet access. While disabling “Use the other WAN port if the current one is down," the rule always takes effect, no matter whether the selected WAN is online or offline. Mostly, the “Use the other WAN port if the current one is down” should be enabled.
So, the customer could make sure that on the computers with IP addresses 192.168.0.2&192.168.0.3, data is transmitted via SFP WAN/LAN1 when his computers visit any website and via WAN2 when they download or enjoy some other Internet activities. No policy routing is set for 192.168.0.4, so the Internet activities on that computer are routed to both WANs randomly.
Conclusion
You have now successfully configured Policy Routing on the Omada Gateway.
Get to know more details of each function and configuration please go to Download Center to download the manual of your product.
Est-ce que ce FAQ a été utile ?
Vos commentaires nous aideront à améliorer ce site.