Thanks for reply. Unfortunately I don't get you. for example:
ip route main ISP distance=5 what do you mean with Main ISP? should i change "Main ISP" with its actual IP address or its interface? same goes for others as well.
Well unless you post your config its difficult to provide actual details, I was only noting the concept of what you should do, vice correct syntax or anything.
If you are experienced enough with MT, that advice would have been sufficient and since it was not best to post your config.
/export hide-sensitive file=anynameyouwish.
I think your request falls into Sindy's first category that if users want to go to certain sites they should go out WAN2, but for any other sites all users should use WAN1. Thus what I provided should suffice.
I think what he was saying is that there are two ways to skin the cat.
1. The way I noted,
a. ip route main ISP distance=5
b. ip route secondary ISP distance=10
c. ip route secondary ISP distance=10 route-mark=WAN2
IP route Rules
(i) destination address=externalWANIP1 action=lookup only in table=Wan2
(ii) destination address=externalWANIP2 action=lookup only in table=Wan2
(iii). destination address=externalWANIPN action=lookup only in table=Wan2
2. and another way which is to put the external WANIP right in as the destination and using the gateway of the second ISP...............
Here there is no use ip route rules, just routes.
a. Route to main ISP distance=5
b. Route to secondary ISP distance =10
c. Route to secondary ISP distance=2 destination address=external wanip1 gateway (of second ISP)
d. Route to secondary ISP distance=2 destination address=external wanip2 gateway (of second ISP)
e. Route to secondary ISP distance=2 destination address=external wanipN gateway (of second ISP)
I'd rather manage rats than software. Follow my advice at your own risk! (Sob & mkx forced me to write that!)
MTUNA Certified, by the Ascerbic Llama!