What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Dual Wan selecting routing

vino_rock

New Around Here
Firstly, my apolozises if this has already discussed in this forum.

I am looking to route selecting devices thru secondary wan and majority of the devices on Primary Wan. I dont want load balance option. Is there an option? if yes, please help with simple steps. thanks
 
Firstly, my apolozises if this has already discussed in this forum.

I am looking to route selecting devices thru secondary wan and majority of the devices on Primary Wan. I dont want load balance option. Is there an option? if yes, please help with simple steps. thanks

You will need to be in Load-Balance mode to have both interfaces concurrently ACTIVE, so simply specify Load-Balance 1:1 in the Dual-WAN GUI - just in case ;)

Then you should be able to modify the RPDB rules to 'pre-empt' the Load-Balance RPDB rules.

e.g. Force the default for your LAN devices outbound via WAN0 (rather than delete/modify the route weighting for now)
Code:
ip rule add from 192.168.1.1/24 table wan0 prio 99
...now add the LAN devices you wish to route via WAN1

e.g. Both 192.168.1.111 and 192.168.1.222 will be the exceptions outbound via WAN1

Code:
ip rule add from 192.168.1.111 table wan1 prio 98
ip rule add from 192.168.1.222 table wan1 prio 98
ip route flush cache
NOTE: You can also specify a subnet CIDR range to reduce the amount of typing!
e.g. four devices (192.168.1.16-192.168.1.19) will also be routed outbound via WAN1

Code:
ip rule add from 192.168.1.16/30 table wan1 prio 98
ip route flush cache
 
Last edited:

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Staff online

Back
Top