From: "Alex" <alex@hostingcenter.ro>
To: lartc@vger.kernel.org
Subject: [LARTC] multiple uplink which patch?
Date: Wed, 10 Sep 2003 01:59:35 +0000 [thread overview]
Message-ID: <marc-lartc-106315926006206@msgid-missing> (raw)
Do I need any patches for setting up load balancing between 2 uplinks? I
don't need NAT, I just have a squid proxy server and on the same linux rh9
computer I have 2 uplinks (adsl+cable modem) and all I want is squid to use
load balancing on these links.
I have kernel 2.4.21 now and I have done the setup for load balancing, even
put the "equalize" switch in the command to add default route and it works
and sometimes does not, routes stay in cache and if a try www.google.com 2
or 3 times I see that it goes out on the same interface as the first time.
If I try more addresses, eventually some will go out on the second interface
but it seems to me that the equlize flag doen't work if it does this, right?
Or maybe I need a patch or something for squid? Or maybe I need to
enable/disable some specific config option in squid.conf ? (I didn't enable
tcp_outgoing_address in squid conf so it's free to go out on any interface)
I don't need connection based balancing.... (one address going trough eth1
and another trough eth2, but packed balancing.. first packet trough eth1,
second trough eth2... that's why I have the equalize flag set but....)
Maybe I'm missing something...
Thanks for help.
Alex
btw, on lartc.org in the howto at split access section there is a mention
about
"Reader Rod Roark notes: 'If $P0_NET is the local network and $IF0 is its
interface, the following additional entries are desirable:
ip route add $P0_NET dev $IF0 table T1
ip route add $P2_NET dev $IF2 table T1
ip route add 127.0.0.0/8 dev lo table T1
ip route add $P0_NET dev $IF0 table T2
ip route add $P1_NET dev $IF1 table T2
ip route add 127.0.0.0/8 dev lo table T2
Do I need these entries if I don't use NAT ?
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
reply other threads:[~2003-09-10 1:59 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-106315926006206@msgid-missing \
--to=alex@hostingcenter.ro \
--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 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.