me to be lazy and ask some one to do it for me for who has sucessfully got it to work, i have 2 adsl lines possibly more if MT will work at all, there are 3 known methods that would worf for me:
Session
Weight round robin
Dymamic Traffic
I dont mind at all which of them they generaly create the same output
very fast speed when using download managers.
It works fine for me … however it might be that I’m not using NAT. We load balance 2 gigabit connections without problems.
For simple outbound load balancing just add both gateway IPs to your default route. If you want to start sending specific traffic out one gateway only you start getting into policy routing - but once its done it works fine.
So many people ask this question and for some reason can never figure it out. One of these days I will post a wiki with a few setups that I’ve got working - not that much time at the moment though - fighting bgp issues with MT : )
Ok well i guess thats 600 dollars in tottal any takers? nat would be needed I would have thought. I have a dual wan netcomm nb750 router it only works with NAT. but its only 2 wan ports and its not a MT router.
I tried this but when i use my threaded download manager 1 link only gets used. my whole plan is to use a download manager so when the second thread opens it most likly will be on the second wan port.
I cant explain why mine dont work, maybe it does partly but not very well at all, which brings me back to the original idea of a similar way the netcomm nb750 works it loads every new tcp session on a different wan port, OR it has option of link saturation, the netcomm actualy monitors sessions or link speed to change the route over to the other wan port with out breaeking downloads.
So what are we up to $600 dollars to whom will create this.
this “Load balance two ADSL lines” have been discussed a lot in the forum up to now, and no one have ever posted a solution. It has even been discussed at the first MUM in Praha.
The problem is the session persistence. One session (like a IM session, a HTTPS session) must be handled by one WAN port. Otherwise the server on the other side will get confused if he gets requests from one client but over two WAN ports (with different WAN IPs/Gateways/Providers).
To create two default routes is no solution. We need a solution for NAT’ed WAN connections like two PPPoE connections.
Yes i know about the ssl with online banking my netcomm router can specify a perticular route for port 443 ssl connections thats is easy fixed IM is UDP i think i never have a problem with IM in any way but im sure it can be fixed if we bind the IM to a wan port.
Now let’s talk the solution a bit. Never saw anything like that - even, odd packets, nice. So if I understand it correctly, the solution tries to equally divide traffic between two gateways, right?
You use one local interface. Is it possible to use single mangle rule, and instead of marking connection first, to decide upon source network address? Will that be sufficient?:
The problem with the setup discussed here is (could be) the following, if I’m not completely wrong:
For “normal” internet usage this will work. But it WILL eventually send out connections from the SAME user over DIFFERENT uplinks.
If you are now using a web application (like online banking, extranet, …), it might very well be (and that’s the way most of my online apps are coded) that for every action you take you login is checked for the source address.
That is, if you login in from source address 10.111.0.1 (to stay with the example addresses from the wiki), and one of your next requests is coming from 10.112.0.1, the app might consider that an attempt to spoof/hijack the session and will log you out (or do whatever the programmer intended to do).
Even “simply” using some webmail interface might show this problem.
And the solution in the wiki will NOT take care of that, as it is doing round-robin on every single connection(!).
I had done some tinkering around to get a solution that takes this into account, but never got around to testing thoroughly.
I will try to dig up my solution (which wasn’t perfect, either, of course) and put it up here for discussion…
I’m not trying to offend anyone here (especially not Eugene) - just want to point out to possible problems as I see them.