linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mikado <mikado4vn@yahoo.com>
To: linux-ppp@vger.kernel.org, linux-net@vger.kernel.org,
	linux-admin@vger.kernel.org
Subject: Multiple gateways linux router + Load balance
Date: Wed, 19 Jan 2005 06:57:22 -0800 (PST)	[thread overview]
Message-ID: <20050119145722.66698.qmail@web53708.mail.yahoo.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 743 bytes --]

I'm making a router with 2 adsl lines. How can I use
both lines with R-E-A-L load balancing on 2.4.x linux
box and share these lines for hosts on LAN?

I've got some guides show the way of using Multipath
routing + Equalizing between these routes but I cannot
get real advantage of load balancing because the
route-cache make connections to 1 address go the same
route as the first connection to that address.

Is there any patch for kernel 2.4.x outside the wild
to fix this situation?

Thank you, I need all your helps!

P.S: I attach a text file which shows my box structure
down here!

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[-- Attachment #2: box.txt --]
[-- Type: text/plain, Size: 1189 bytes --]


 [adsl-modem-1   ][adsl-modem-2   ]
 [192.168.1.150  ][192.168.1.150  ]
         +                +                    Hosts
         +                +                     on
         +                +                     LAN
=======eth0=============eth1========         ===  ===
=[192.168.1.10   ][192.168.2.10   ]=          +    +
=                                  =          +    +
=                                  =          +    +
=                 [192.168.0.10   ]eth2+++++[ switch ]
=                                  =
=                                  =
=[210.245.x.x    ][203.113.x.x    ]=
=======ppp0=============ppp1========
         +                +
         +                +
         +                +
         +                +
 [210.245.24.5   ][203.113.168.254]
 [isp1-gateway   ][isp2-gateway   ]
         +                +
         +                +
         +                +
         +                +
======================================================
              INTERNET ENVIRONMENT

- adsl-modem-1 is used to make ppp0
  adsl-modem-2 is used to make ppp1
- 210.245.x.x has network: 210.245.0.0/16
  203.113.x.x has network: 203.113.0.0/16


                 reply	other threads:[~2005-01-19 14:57 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=20050119145722.66698.qmail@web53708.mail.yahoo.com \
    --to=mikado4vn@yahoo.com \
    --cc=linux-admin@vger.kernel.org \
    --cc=linux-net@vger.kernel.org \
    --cc=linux-ppp@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;
as well as URLs for NNTP newsgroup(s).