From: "Fábio Brito" <psychopenguin@gmail.com>
To: lartc@vger.kernel.org
Subject: [LARTC] Load balance and big downloads
Date: Mon, 30 Aug 2004 02:15:39 +0000 [thread overview]
Message-ID: <d6bc4e8904082919151d5275ad@mail.gmail.com> (raw)
Hi,
This is the first time I write to the list.
My english is not so good, but I hope I'll be understood.
I have 4 adsl routers, plugged on a linux box, and this box e used to
connect to a local network.
The linux box has 5 NICs.
eth0: local network
inet 10.0.0.56/24 brd 10.0.0.255 scope global eth0
eth1: adsl router 1
inet 192.168.254.1/24 brd 192.168.254.255 scope global eth1
eth2: adsl router 2
inet 192.168.253.1/24 brd 192.168.253.255 scope global eth2
eth3: adsl router 3
inet 192.168.252.1/24 brd 192.168.252.255 scope global eth3
eth4: adsl router 4
inet 192.168.251.1/24 brd 192.168.252.255 scope global eth4
The route table is:
netuno:~# ip rule show
0: from all lookup local
32762: from 192.168.251.0/24 lookup 5
32763: from 192.168.252.0/24 lookup 4
32764: from 192.168.253.0/24 lookup 3
32765: from 192.168.254.0/24 lookup 2
32766: from all lookup main
32767: from all lookup default
netuno:~# ip route show table 2
default via 192.168.254.254 dev eth1
netuno:~# ip route show table 3
default via 192.168.253.254 dev eth2
netuno:~# ip route show table 4
default via 192.168.252.254 dev eth3
netuno:~# ip route show table 5
default via 192.168.251.254 dev eth4
netuno:~# ip route show
10.0.0.0/24 dev eth0 proto kernel scope link src 10.0.0.56
192.168.251.0/24 dev eth4 proto kernel scope link src 192.168.251.1
192.168.252.0/24 dev eth3 proto kernel scope link src 192.168.252.1
192.168.253.0/24 dev eth2 proto kernel scope link src 192.168.253.1
192.168.254.0/24 dev eth1 proto kernel scope link src 192.168.254.1
default equalize
nexthop via 192.168.254.254 dev eth1 weight 1
nexthop via 192.168.253.254 dev eth2 weight 1
nexthop via 192.168.252.254 dev eth3 weight 1
nexthop via 192.168.251.254 dev eth4 weight 1
My NAT table is
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
SNAT all -- 10.0.0.0/24 0.0.0.0/0 to:192.168.254.1
SNAT all -- 10.0.0.0/24 0.0.0.0/0 to:192.168.253.1
SNAT all -- 10.0.0.0/24 0.0.0.0/0 to:192.168.252.1
SNAT all -- 10.0.0.0/24 0.0.0.0/0 to:192.168.251.1
The load balance is working with the 4 adsl links. But I'm having some
issues when machines inside the local network try download big files.
The download starts, but in an arbitrary amount of time it stops. I
think it is a problem with the return path of the TCP connection, but
i don't know how to solve this.
Hope somebody help me.
Thanks.
--
Fábio Brito d'Araújo e Oliveira
Registered Linux User
www.psychopenguin.com.br
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next reply other threads:[~2004-08-30 2:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-30 2:15 Fábio Brito [this message]
2004-08-30 5:22 ` [LARTC] Load balance and big downloads JasonB
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=d6bc4e8904082919151d5275ad@mail.gmail.com \
--to=psychopenguin@gmail.com \
--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.