From: "Nizamov Shavkat" <shawkat@samdu.uz>
To: community@altlinux.ru
Subject: Re: [Comm] Вопрос к squid-team
Date: Thu, 2 Sep 2004 10:35:58 +0500 (UZT)
Message-ID: <45029.194.67.216.220.1094103358.squirrel@www.samdu.uz> (raw)
In-Reply-To: <4135EAAB.4010803@tut.by>
>
> Существуют ли способы балансировать http трафик при помощи сквида?
> В продолжение к первому вопросу, можно ли сквид заставить работать от
> двух адресов (tcp_outgoing_address)?
>
вот как я примерно это делаю (это не совсем балансировка, а просто
распределение пользователей по нескольким каналам)
acl net1 172.16.0.0/24 172.16.1.0/24
acl net2 172.16.4.0/24 172.16.5.0/24
tcp_outgoing_address xxx.yyy.zzz.111 net1
tcp_outgoing_address xxx.yyy.zzz.222 net2
tcp_outgoing_address xxx.yyy.zzz.333
то есть пользователи получают DHCP адреса равномерно в диапазоне
172.16.0.0-172.16.5.255
примерно треть из них идет через сквид через внешний адрес
xxx.yyy.zzz.111, треть через xxx.yyy.zzz.222, остальные (тоже треть) через
xxx.yyy.zzz.333
чем больше пользователей и внешних адресов тем лучше работает такая схема
next prev parent reply other threads:[~2004-09-02 5:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-01 15:28 Yury Levdansky
2004-09-02 5:35 ` Nizamov Shavkat [this message]
2004-09-02 5:38 ` Alex
2004-09-02 10:54 ` Yury Levdansky
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=45029.194.67.216.220.1094103358.squirrel@www.samdu.uz \
--to=shawkat@samdu.uz \
--cc=community@altlinux.ru \
/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
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git