In my local area network I have two routers that provide internet connection using two different ISPs. I can choose which ISP to use by configuring the appropriate router as default gateway.
The internet connections are both asynchronous - both have lot's of downstream capacity and only little upstream capacity. Unfortunately I need plenty of traffic for uploading videos to Youtube. I want to use both internet connections simultaneously in order to speed up my Youtube uploads.
Many questions on serverfault link to this document which describes how to setup route based load balancing. But since most of my traffic goes to the same destination (Youtube) this won't help.
I imagine it should be quite simple to alternate sending packages over one or the other gateway. If all packages have the same IP adress as source address (meaning that incoming traffic will always use the same interface) there should be no problem, is there? The only show stopper I can think of is NAT which may keep me from setting the source IP adress. Unfortunately I have no ipv6 connection yet and have to live with NAT.
- How can load balancing of outbound traffic be done (Linux)
- Can this be done while using NAT?