From: "Lloyd Standish" <lloyd@crnatural.net>
To: netfilter@vger.kernel.org
Subject: load balancing between ppp0 and ppp1, private IPs
Date: Sun, 12 Apr 2009 23:03:56 -0600 [thread overview]
Message-ID: <op.usa60utux1lyi3@localhost> (raw)
Hello,
I want to use load balancing to allow simultaneous use of 2 relatively slow GPRS (ppp over GSM cellular phone) modems. I have a custom-compiled Ubuntu kernel 2.6.20.3 with Debian Etch, iptables v1.3.8.
The modems are seen by the system as regular serial modems, ppp0 and ppp1. I also have a LAN (eth0).
My interfaces, ppp0 and ppp1 have dynamically assigned *private* IP numbers. For example:
ppp0: 10.60.32.71
ppp1: 10.40.89.42
My strategy for load balancing is to use conntrack to save the mark of the *first* packet, and mark all subsequent packets for that connection the same way. Two custom routing tables are set up, each set to push traffic to one of the 2 interfaces, according to the packet mark:
TABLE INTERFACE MARK
rt_link1 ppp0 1
rt_link2 ppp1 2
My efforts to do load balancing between the 2 interfaces have not been successful. Before I go into details, a major question: Will load balancing work without public, routable IP numbers for my outward-facing interfaces?
--
Lloyd
next reply other threads:[~2009-04-13 5:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-13 5:03 Lloyd Standish [this message]
2009-04-13 6:50 ` load balancing between ppp0 and ppp1, private IPs Brian Austin - Standard Universal
2009-04-14 4:50 ` Lloyd Standish
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=op.usa60utux1lyi3@localhost \
--to=lloyd@crnatural.net \
--cc=netfilter@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).