#Configuration Guide# How to Configure Basic Policy-Based Routing
  

RegiBoy Lv5Posted 11 Oct 2022 16:56

Last edited by RegiBoy 11 Oct 2022 16:57.

#Configuration Guide# How to Configure BasicPolicy-Based Routing
*Product: NGAF
*Version:8.0.47
*1. Introduction
1.1 Scenario
There are two ISP (A and B) for internet connection
Topology:

6787363452ef275dd1.png

1.2 Requirements
1. Internal user access to internet bankingwebsite (TCP 443) need go through ISP B.
2. Internal user access to internet need to gothrough the two ISP but the distribution is base on bandwidth proportion (Load balance: Round Robin)

*2. Configuration Guide
2.1 NGAF Configuration

Step 1. Interfaceand Zone Configurations:
• Interface that connect to internet which isEth1 and Eth2 need configure as WAN attribute
route interface, Next-Hop IP, line bandwidthand enable link state detection, add Eth1 and
Eth2 in the WAN zone.
• Define “LAN Zone” , configure eth3 to “LANZone”.

Go to Network> Interfaces
4296563452f10ed0b8.png

4180363452f1db5cbc.png
1945163452f2dad5b5.png



Step 2: Policy Route configuration
• Add source-base route, source select “LAN Zone”, destination IPselect all, destination

port: TCP 443, select interface eth2.
6011263452f448e3a4.png


• Add a load balance route,source “LAN Zone”, destination IP select all, interface select

eth1 and eth2, load balance method select “Round Robin”.
9697163452f6532ee8.png


Step 3. Static Route configuration
• Add in a static route 0.0.0.0/0.0.0.0 , next hop IP point to eth2.

(The purpose to add in static route is to prevent policy route failed ,internal user still can access internet via static route.)
2070663452f7deea1c.png


Step 4: Display all routes

Go to Network > Routes > All Routes
4419563452f92d3b23.png


*3. Precaution
1. Link load-balancingroute interface must enable the link state detection function to achieve automaticline failure switching

2. Policy route isread from top to bottom.

Like this topic? Like it or reward the author.

Creating a topic earns you 5 coins. A featured or excellent topic earns you more coins. What is Coin?

Enter your mobile phone number and company name for better service. Go

RegiBoy Lv5Posted 11 Oct 2022 17:02
  
Hope this  could be useful
Zonger Lv4Posted 11 Oct 2022 17:42
  
Great share
Newbie517762 Lv5Posted 11 Oct 2022 17:47
  
Thank you for sharing !
Zonger Lv4Posted 12 Oct 2022 04:31
  
Thanks for sharing
rivsy Lv5Posted 12 Oct 2022 12:06
  
thank you for this information
Faisal P Posted 28 Oct 2022 22:17
  
Thank you very much for the information ...