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: Tue, 05 Dec 2000 15:37:10 +0000	[thread overview]
Message-ID: <marc-lartc-98373938216999@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98373938216991@msgid-missing>

<PRE>On Tue, 5 Dec 2000, Rogerio Brito wrote:

&gt;<i> On Dec 04 2000, Arthur van Leeuwen wrote:
</I>&gt;<i> &gt; Second: set up /etc/ppp/ip-up.local scripts (not exactly sure what Mandrake 
</I>&gt;<i> &gt;         uses for that, but that's what RedHat uses) to dynamically reroute
</I>&gt;<i> &gt;         to the correct interfaces
</I>&gt;<i> 
</I>&gt;<i> 	Could you provide more information on what is meant by
</I>&gt;<i> 	&quot;dynamically reroute&quot;? By that you mean that ppp shouldn't add
</I>&gt;<i> 	default routes to the gateways?
</I>
Oh, no. By that I mean that the ip-up.local script should set the route
itself, depending on whether there are one or two ppp links up already. This
is relatively easy to figure out using 'ip addr' and some awk.

&gt;<i> &gt; Third: make a multipath route over the two ppp links. This will dynamically
</I>&gt;<i> &gt;        balance packets over the two links, based on the destination adresses.
</I>&gt;<i> 
</I>&gt;<i> 	Which way would I do this? Should I delete my default route
</I>&gt;<i> 	and use:
</I>&gt;<i> 
</I>&gt;<i> 	# ip route add default scope global nexthop dev ppp0 nexthop dev eth0
</I>
That is correct.

&gt;<i> 	(so that I can use both my ppp connection and my DSL?)
</I>&gt;<i> 
</I>&gt;<i> 	I tried the above and it &quot;partially&quot; works: I have problems
</I>&gt;<i> 	accessing some www sites (Netscape shows me &quot;No route to
</I>&gt;<i> 	host&quot;), while accessing others is fine (I can read slashdot
</I>&gt;<i> 	ok).
</I>&gt;<i> 
</I>&gt;<i> 	It seems that the problem only occurs with TCP based services
</I>&gt;<i> 	(UDP based ones seem to be fine -- ICMP echo also seems fine).
</I>&gt;<i> 
</I>&gt;<i> 	Any suggestion what I should be doing to correct this?
</I>
You should add gateways for the different outgoing devices and set up host
routes to those gateways specifying as the preferred source address the
address associated with the interface through which you route to the
gateway. Further, adding rulesets to deal with the case that packets already
have a source address set might greatly improve reliability. There's some
information on how to do that in some previous mails I made to the list.

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-05 15:37 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
2000-12-05  5:12 ` Rogerio
2000-12-05 15:37 ` Arthur [this message]

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-98373938216999@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.