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 balance/redundancy
Date: Mon, 11 Dec 2000 08:00:37 +0000	[thread overview]
Message-ID: <marc-lartc-98373938217021@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98373938217013@msgid-missing>

<PRE>On Sun, 10 Dec 2000, Paul wrote:

&gt;<i> Arthur,
</I>&gt;<i> 
</I>&gt;<i> Thanks for your help.  I tried what you suggested, here is the result:
</I>&gt;<i> 
</I>&gt;<i> # /sbin/ip route add default nexthop via 24.141.xxx.1 nexthop via
</I>&gt;<i> 64.229.xxx.1
</I>&gt;<i> RTNETLINK answers: Network is unreachable
</I>
You forgot to setup host routes to 64.229.xxx.1 and 24.141.xxx.1 over the 
correct interfaces.

&gt;<i> So instead, I tried:
</I>&gt;<i> 
</I>&gt;<i> # /sbin/ip route add default nexthop via 24.141.xxx.1 dev eth0 nexthop via
</I>&gt;<i> 64.229.xxx.1 dev ppp0
</I>
Well, that works as well. No host routes needed. :)

&gt;<i> # ip route ls
</I>&gt;<i> 64.229.xxx.1 dev ppp0  proto kernel  scope link  src 64.229.xxx.12
</I>&gt;<i> 24.141.xxx.0/22 dev eth0  proto kernel  scope link  src 24.141.xxx.89
</I>&gt;<i> 127.0.0.0/8 dev lo  scope link
</I>&gt;<i> default
</I>&gt;<i>         nexthop dev eth0 weight 1
</I>&gt;<i>         nexthop dev ppp0 weight 1
</I>
Ah, yes. You might get problems with the selection of the source address you
come from though. The situation that might occur is a route going over ppp0
using 24.141.xxx.89 as source address. That will probably *not* work.

&gt;<i> Now this seems to work.  Is there anything wrong with this?  Can you take
</I>&gt;<i> a guess at why what you suggested didn't work?  I think I tried all the
</I>&gt;<i> different permutations with addresses, I think the problem must come from
</I>&gt;<i> the pppoe interface.
</I>
I don't think the problem comes from the pppoe interface. I've set up stuff
like this with ppp over pptp over ethernet links (*silly* ADSL setup), and
that works as well.

&gt;<i> Now all I have to do is kludge something together for my redundancy, set
</I>&gt;<i> up firewalling, and masqerading.
</I>
Note: you may want to set up policy rules for dealing with packets that
already have a source or destination address. This will let servers running
on your system that bind to 0.0.0.0/0 answer to requests from both links
over the correct link. Browse through the mailinglist archives for some
hints on how to set that up.

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-11  8:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-10  5:22 [LARTC] load balance/redundancy Paul
2000-12-10 16:30 ` Arthur
2000-12-10 17:32 ` hesselsp
2000-12-10 17:57 ` Arthur
2000-12-10 23:50 ` Paul
2000-12-11  0:11 ` hesselsp
2000-12-11  8:00 ` Arthur [this message]
2000-12-11  9:56 ` dan_c

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