netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* load balancing between ppp0 and ppp1, private IPs
@ 2009-04-13  5:03 Lloyd Standish
  2009-04-13  6:50 ` Brian Austin - Standard Universal
  0 siblings, 1 reply; 3+ messages in thread
From: Lloyd Standish @ 2009-04-13  5:03 UTC (permalink / raw)
  To: netfilter

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-04-14  4:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-13  5:03 load balancing between ppp0 and ppp1, private IPs Lloyd Standish
2009-04-13  6:50 ` Brian Austin - Standard Universal
2009-04-14  4:50   ` Lloyd Standish

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).