Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Christoph Simon <datageo@terra.com.br>
To: lartc@vger.kernel.org
Subject: [LARTC] More Loadbalancing problems
Date: Fri, 19 Oct 2001 14:46:10 +0000	[thread overview]
Message-ID: <marc-lartc-100350282514808@msgid-missing> (raw)

I have two DSL links on a linux with three network cards, and would
like to use both at the same time. Following this list I though this
should work:

- compile a kernel with equalcost-multipath enabled
- I've set up two host routes to the IP and the gateway of each DSL, so I can
  test wether the gateway is alive even if it doesn't have a default route.
- setup the default gateway:

	ip route add default nexthop via IP-gw-DSL-1 dev eth0 \
			     nexthop via IP-gw-DSL-2 dev eth2

With this, I can ping out of the box, but I couldn't visit a single
webpage; all timed out (configuring just one of the two does work
however). Then I modified the default route to:

	ip route add default nexthop via IP-gw-DSL-1 dev eth0 weight 2\
			     nexthop via IP-gw-DSL-2 dev eth2 weight 1

Now it does work, but on eth2 I can observe only an increment in
outgoing packets, although there was not a really heavy load on the
line. I also noticed, that I'm able to access the machine from outside
on eth0 but not on eth2. I've not installed any firewall rules yet.

I remember to have read in this list that using the option equalize
would switch the devices not session but packet dependently, so I didn't
use it.

What am I doing wrong?

--
Christoph Simon
datageo@terra.com.br
---
^X^C
q
quit
:q
^C
end
x
exit
ZZ
^D
?
help
NO CARRIER
.

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

                 reply	other threads:[~2001-10-19 14:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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-100350282514808@msgid-missing \
    --to=datageo@terra.com.br \
    --cc=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox