Re: combining internet connections

From: Bill Rugolsky Jr. (brugolsky_at_telemetry-investments.com)
Date: 03/01/04

  • Next message: antonio montagnani: "Re: Rhytmbox unable to open /dev/dsp"
    To: fedora-list@redhat.com
    Date: Mon, 1 Mar 2004 16:58:26 -0500
    
    

    On Mon, Mar 01, 2004 at 02:08:43PM +0000, Craig Tinson wrote:
    > I was just having a thought... and wondered if anyone had any pointers
    > or even know if this is possible..
    >
    > I have a 1Mb cable connection.. and am getting a 2Mb DSL line installed
    > in a couple of days..
    >
    > I was wondering if I can use both connections... from one gateway
    > machine.. and combine them.. effectively have a 3Mb connection..
     
    They will live in different IP subnets, so you will have to
    direct individual flows to a particular ISP. The canonical starting
    point is here:

       http://www.lartc.org/lartc.html#LARTC.RPDB.MULTIPLE-LINKS

    The above section describes a basic configuration and links to
    Julian Anastasov's routing patches found here:

       http://www.ssi.bg/~ja/#routes

    Those patches are used to extend the kernel routing functionality for
    simpler (static) configuration and robustness. The patches
    prevent certain routes from being flushed when an interface goes down,
    and improves detection for dead gateways (i.e., your cable modem and
    ASDL router).

    On Julian's pages you will find Christoph Simon's Nano-Howto:

       http://www.ssi.bg/~ja/nano.txt

    There is a pre-packaged version of Christoph Simom's solution available
    under the GPL from:

       http://skypipes.com/

    If you are patching your kernel, you may also want to add some functionality
    such as connection marking (CONNMARK) from Netfilter patch-o-matic:

       http://www.netfilter.org/

    Beware that applying some of the patches requires that you also rebuild
    iptables against updated kernel headers. E.g., if you install the kernel
    source in /usr/src/linux-2.4, then you can install the iptables SRPM
    and change KERNEL_DIR=/usr to KERNEL_DIR=/usr/src/linux-2.4 in
    the spec file before rebuilding:

       perl -pi.orig -e 's!KERNEL_DIR=/usr!$&/src/linux-2.4!g' iptables.spec

    Change the release number in the spec file and build,

       rpmbuild -ba iptables.spec

    Additional documentation on Linux policy routing can be found here:

       http://www.policyrouting.org/

    On final cautionary note: you may encounter session-oriented services
    and protocols that will examine your IP address. In that case, all
    traffic for that session (which may consist of multiple TCP connections)
    needs to go through the same ISP, so that the connections originate from
    the same external IP address. One can address this with policy
    routing rules, netfilter, or a combination of both.

    Regards,

            Bill Rugolsky

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: antonio montagnani: "Re: Rhytmbox unable to open /dev/dsp"

    Relevant Pages

    • Re: Traffic NOT moving through the correct network interface?
      ... and the key is in the routing table. ... And why should the kernel use this in preference to eth0? ... Because the connections on eth1 and eth2 are INBOUND. ...
      (alt.os.linux)
    • Re: Traffic NOT moving through the correct network interface?
      ... connections. ... connected directly to cable modem #2 ... And why should the kernel use this in preference to eth0? ... Person who set up the routing doesn't understand the way networking uses ...
      (alt.os.linux)
    • The performance and behaviour of the anti-fragmentation related patches
      ... I've posted up patches that implement the two generally accepted approaches ... physical address space on the vanilla kernel because there is no effort made ... also that the huge page allocations always come from here as well. ... Vanilla Kernel List-base Kernel Zone-base Kernel Combined Kernel ...
      (Linux-Kernel)
    • Re: This is [Re:] How to improve the quality of the kernel[?].
      ... The -mm kernel already implements what your proposed PTS would do. ... If patch have no TS ID, ... Thus i can apply for example lguest patches and implement and test new ... How many open source projects use Bugzilla and how many use the Debian BTS? ...
      (Linux-Kernel)
    • Re: Scheduler Situation
      ... understand basic kernel operations like memory management or CPU ... I, like many people, had been using Con's patches for years and were ... Con here. ... other aspect, including offering a choice of IO schedulers, but not ...
      (Linux-Kernel)