- DrayOS 5, imported, wan, route_policy, address_mapping, ip_alias
- DrayOS 5, WAN, Route Policy, Address Mapping, imported, Source IP, IP Alias, Primary Path, Multiple WAN, IP Routing
Address Mapping by Route Policy (DrayOS5)
-
To add more IP Addresses for the WAN interface, go to Configuration / WAN and click "Edit" of the WAN interface you are going to configure. Turn on Advanced Mode and find IP Alias settings.
-
For address mapping, go to Configuration / Routing / Route Policy page, click "Add" to create a Route Policy for specific IP Address to send from specific WAN IP Address.
-
Enable the policy profile.
- Enter Source IP as the local IP address to which the rule should apply.
- Leave the Destination IP and Protocol as "Any".
- Select Primary Path to WAN.
- Select the WAN interface and Interface IP from the drop-down list.
- You may enable Second Path or Last Resort Path so the traffic can take other interfaces when Primary Path failed. However, do not enable these options if you want the traffic only uses designated IP address.
- Click Apply to save.
-
With the configuration above, the outgoing traffic sourced from the range of 192.168.36.20 to 192.168.36.30 will use the WAN IP 172.17.1.1.