CRS125-24G-1S 2 internet providers, and 2 networks setup

hy, i just bought this CRS125-24G-1S and i have no ideea how to configure what i need. so far i managed to make it work by default , on eth1 .

my setup is like this : i have 3 internet providers all on dhcp. so i need
eth1 ->provider one.
eth9-> provider two..
eth17->provider three.

then i need ports 2-8 to be on a network and goes to internet through eth1
ports 10-24 to be on a different network and goes to internet through eth9

computers on both network should see eachother.
if any of the providers fails , all computers on that network should go online using provider three.

wirreles is using eth1.
retea.png