Bonding is a technology that allows to aggregate multiple ethernet-like interfaces into a single virtual link, thus getting higher data rates and providing failover.
If you want you can also mangle the packets between the three isp’s by using the Nth rule under mangle. Just mark the packets 1,2,3 and then route them.
This might be a problem with all the gateway’s having the same gateway.
It should work just fine in your network. If i understand correctly, you have 3 incoming lines coming in to three WAN’s. By bonding those interfaces together it will allow you to do the same thing as if you had three t1’s and you wanted to bond them together.
I’ve been playing with a similar problem. At my test site, I have one ADSL line, and I make use of 2 different ISP’s, both with dynamic IP’s. The one ISP is IS, and the other is SAIX. They both have different gateways.
The above is easy to do, but the problem is this:
Due to the fact that SAIX is good quality bandwidth, but capped at xGB, you need more than one account (unless your 3d tier ISP allows per GB billing).
When using ONE MT to dial both the IS account and SAIX account, you can route certain traffic over certain gateways, no problem. BUT, the problem comes in when you use more than one account from the SAIX network. These accounts always have the same gateway.
The only solution I got for this problem, was similar to XP2000’s. For each account I dial out, I have a MT NAT/Masq the traffic. All these MT’s plugs into the CORE router where all routing are done. This way routing is very simple and straight forward.
I would like to see the interface based routing to work, but I can see many NAT problems with it.
If someone manages to get interface based routing working in a similar case, is it possible to post the basic route planning and perhaps a part of your config?
you can do it as flow
address network broadcast
ISP1 192.168.0.2 192.168.0.0 192.168.0.255
ISP2 192.168.0.3 192.168.0.0 192.168.0.255
ISP3 192.168.0.4 192.168.0.0 192.168.0.255
then chage the ip address which your isp give to you
address network broadcast
ISP1 192.168.0.2 192.168.0.2 192.168.0.2
ISP2 192.168.0.3 192.168.0.3 192.168.0.3
ISP3 192.168.0.4 192.168.0.4 192.168.0.4
and then chang your route list
dst-add 0.0.0.0 gateway 192.168.0.2,192.168.0.3,192.168.0.4