[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

multiple dialup connections in front of IPmasq, HOW?



I can't seem to conceptualise a workable solution, probably because I
don't know ipchains well enough, but here is the problem. Hopefully
someone finds it intriguing/potentially useful.

I have access to two ISPs, call them A and B, A being the primary ISP.
Link bonding cannot be used, because according to the HOWTO all the links
in the bond must be made to the same destination, typically a portmaster
or terminal server.

I have a network of machines on a private network (192.168.1.0/24) that
use an ipmasq gateway (192.168.1.1:A_address) Basically a normal ipmasq
network, taken care of by the ipmasq/ipchains packages.

What I would like to do is:

0) Bring up a connection to B, add static routes to the routing table for
B, handled transparently by masquerading. Example: set a route to
debian.midco.net on B, and traffic from internal machine 192.168.1.42 to
debian.midco.net will be routed through B instead of A. And no existing
connections through A will be affected by B coming up or going down.

1) full adaptive routing between A and B, such that arbitrary packets in a
connection between 192.168.1.42 and debian.midco.net can be transported by
either connection depending on connection load or other criteria.

I know how to set up either scenario SAVE FOR including IP masquerading.
Example: using a proxy on 192.168.1.1 and a static route on B, and
directing 192.168.1.42 to the proxy.


Unfortunately I don't know enough about ipchains to even begin
experimenting for a working solution (also I don't yet have the second
modem :) Don't want to purchase it until I have something concrete I can
try)

--
Beiad Ian Q. Dalton



Reply to: