Address Mapping by Route Policy

By using Route Policy, you can map a LAN client to one of the WAN IP in the IP Alias. This article introduces how to set up Route Policy for address mapping purpose.

1. To add more IP addresss for the WAN interface, go to WAN >> Internet Access >> WAN >> Details Page.

s acreenshot of DrayOS WAN IP alias settings

2. For address mapping, go to Routing > Load Balance/Route Policy: create a Route Policy for specific IP address to send from specific WAN IP Address.

  1. Enable this policy.
  2. Enter Source IP as the local IP address to which the rule should apply.
  3. Leave the Destination IP and Port as "Any".
  4. Select Interface as the outing WAN, then select Interface Address from the drop-down list. (These are the IP addresses configured atbWAN IP Alias.)
  5. Enable Auto Failover to other WAN so the traffic can take other interfaces when the path fails. But do not enable this option if you want the traffic only use the designated IP address.
  6. Click OK to save.
 a screenshot of DrayOS route policy configuration

3. With the configuration above, the outgoing traffic sourced from the range of 192.168.1.20 to 192.168.1.30 will use the WAN IP 172.17.1.1



Click to learn more applications about Route Policy.

1. To add more IP addresses for the WAN interface, go to WAN >> General Setup, double-click on the WAN profile, enter the available IP address in IP Alias, and Apply.

a screenshot of WAN IP alias settings on Vigor3900

2. For address mapping, go to Routing >> Policy Rule to add a new rule as follows:

  1. Give a Profile name and check Enable
  2. At Source, enter the IP Address/Range/Subnet that you want to specify the outgoing IP
  3. Set Out-going Rule to "User-Defined"
  4. Select Enable for Use IP Alias and select the IP address you want to use.
  5. Click Apply to save the settings.
a screenshot of Route Policy configuation on Vigor3900

3. With the configuration above, the traffic that sent to the Internet sourced from IP address 192.168.1.1 will always use the WAN IP 10.0.0.3.

Published On: May 13, 2016 

Was this helpful?     


Related Articles