All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arthur van Leeuwen arthurvl@sci.kun.nl
To: lartc@vger.kernel.org
Subject: [LARTC] Load Sharing PPP Connections on an Masqed LAN
Date: Mon, 04 Dec 2000 08:05:22 +0000	[thread overview]
Message-ID: <marc-lartc-98373938216992@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98373938216991@msgid-missing>

<PRE>On Mon, 4 Dec 2000, Lisle Wilson wrote:

&gt;<i> My problem is whne i dial in with both connections, it only routes the 
</I>&gt;<i> internet through the last ppp connection i've made (usually 
</I>&gt;<i> ppp1). This means that although ppp0 and ppp1 are connected to 
</I>&gt;<i> the internet, my computers on the LAN (ip 192.168.1.x) are only 
</I>&gt;<i> connecting through one modem.  
</I>
You have set the `defaultroute' option to PPP. This is its intended effect.

&gt;<i> What I need is to know how to set up routing, or 
</I>&gt;<i> Loadsharing so that i can utilise both modems over my Masqed network.
</I>
&gt;<i> My Desired Set Up:
</I>&gt;<i> 
</I>&gt;<i> Internet  Internet
</I>&gt;<i>    |              | 
</I>&gt;<i>    |ppp0       |ppp1 
</I>&gt;<i>    |              | 
</I>&gt;<i>  _______________________________________
</I>&gt;<i> |    Linux Box                          |
</I>&gt;<i> | IP Masquerading                       |
</I>&gt;<i> | routing or lOadsharing                |
</I>&gt;<i> --------------------------------------------------
</I>&gt;<i>       |
</I>&gt;<i>       |eth0
</I>&gt;<i>       |
</I>&gt;<i>  The Rest of My Lan
</I>
Ooooooh, an ASCII-gram.

First: read up on the 'ip' tool that comes with iproute2.
Second: set up /etc/ppp/ip-up.local scripts (not exactly sure what Mandrake 
        uses for that, but that's what RedHat uses) to dynamically reroute
        to the correct interfaces
Third: make a multipath route over the two ppp links. This will dynamically
       balance packets over the two links, based on the destination adresses.

Hope this helps.

Doei, Arthur.

-- 
  /\    / |      <A HREF="mailto:arthurvl@sci.kun.nl">arthurvl@sci.kun.nl</A>      | Work like you don't need the money
 /__\  /  | A friend is someone with whom | Love like you have never been hurt
/    \/__ | you can dare to be yourself   | Dance like there's nobody watching



</PRE>

  parent reply	other threads:[~2000-12-04  8:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-04  3:33 [LARTC] Load Sharing PPP Connections on an Masqed LAN Hexxor
2000-12-04  3:48 ` Lisle
2000-12-04  8:05 ` Arthur [this message]
2000-12-05  5:12 ` Rogerio
2000-12-05 15:37 ` Arthur

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-98373938216992@msgid-missing \
    --to=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.