Multiple gateways / Network load balancing

I have 2 dsl routers (hence 2 separate IPs) connected to 1 Linux box.  Right now, I have only one of the routers assigned as a gateway.  So I can only use the bandwidth of 1 of them to transmit data.  How can I set Linux up so that both can act as gateways (and also accurately channel traffic ie. requests coming from 1 router/IP will reply correctly from the same router/IP).  And can I use both of the routers to balance the load of outgoing requests from my server?

I am running Redhat 6.0.

Thanks!!
mavwongAsked:
Who is Participating?
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.

dcavanaughCommented:
I don't think you will be successful in getting the two DSL lines to balance your load, But...... If you had a substantial number of PCs on an inside private network, you could split them into two subnets set up Linux to route/masquerade each subnet via a different DSL line.
0
jlevieCommented:
Load balancing across two or more DSL's can be done, but not with Linux. You'd have to have a real router that can run a more sophisticated routing protocol such as OSPF (up to four paths) or BGP (lots of paths).  In your case the routing protocol should probably be configured for per-destination-routing to preserve packet order.
0

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
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
Linux Networking

From novice to tech pro — start learning today.