GIven ROUTES
ISP1 distance=5
ISP2 distance=10
Bur our requirements are lets say we have lanA and lanB.
We want lanA to go out ISP1 but failover to ISP2
We want lanB to go out ISP2 but failover to ISP1
Can this be done without mangling is the challenge?
Ignoring fail over for now, if I add a third route to the above two routes......
ISP2 distance=10 Routing-Mark=UseISP2
and Route Rule
Source-address=lanB subnet
Action: Look-up only in Table
Table: UseISP2
The above scenario quickly becomes all traffic (all LANs) goes to ISP1 because of the lower distance, however if the traffic is originating on lanB, it will get routed out ISP2.
Can one somehow inject a fail over design within this type of construct without mangling?
I believe the case of lanA being routed to ISP2, should work in the sense that if ISP1 is not available will not the traffic automatically be routed to ISP2 via the second route rule?
The real and only problem is then only the reverse case, what to do if ISP2 is down.
How do we then ensure lanB traffic gets to ISP1????????
A. Is there a way to trick or nest route rules .................
B. Is there a way with a fourth Route and another route rule, so that if ISP2 is not available, to check if ISP one is available and then go toTable UseISP1
ISP2 distance=10 Routing-Mark=UseISP
and Route Rule
Source-address=lanB subnet
Action: Look-up only in Table
Table: UseISP1