Dividing VLANs to differente WANs on the same firewall?

I would like to know if is possible to make the scenario of the images bellow on my firewall Fortinet that has 2 WAN ports. I want to vlan 10 and 20 to pass throught the WAN ALPHA and vlan 30 and 40 to WAN BETA, and when the WAN ALPHA fails all the internet traffic goes to WAN BETA.

So it is two things to do: divide the vlans on each link and make the redundancy for vlan 10 + 20 to WAN BETA.

Is this possible?

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Not sufficiently familiar with fortunes, used one a while back.

Generally yes you can do what you are looking for.
Policy based routing.
Presumably each Vlan has its own ip segments.
You can have a routing rule anything from vlan10 and vlan20 goes via connection1 (interface) with a weight of 20 and through connection2 (interface) with a weight of 100.

The reverse for the other, when connection 1 interface drops, the second will be used after the routing entry is removed.

Though if there are incoming requests, you have to preserve the path to make sure traffic entering from the outside has to travel back over the same path.
Ssl connection will break if it comes in via 1 but the responce goes over 2.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AkinsdNetwork AdministratorCommented:
edu87Author Commented:

Works like a charm. The trick is to set the Policy Route poiting each VLAN to the WAN link that you want. I made the tests   removing the cable of WAN ALPHA, and all the vlans became to use the WAN BETA. And also, if you have the two WANs connected and you remove the WAN BETA cable, VLAN 30 and 40 pass to use the WAN ALPHA and if you plug the WAN BETA again, VLAN 30 and 40 back to use the WAN BETA.

Its very import to remember set different distances for each static routing of each WAN. In my case I set the WAN ALPHA as 10 and WAN BETA as 50.

Thanks a lot!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Hardware Firewalls

From novice to tech pro — start learning today.