All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brian Austin - Standard Universal <brian@standarduniversal.com.au>
To: Lloyd Standish <lloyd@crnatural.net>
Cc: netfilter@vger.kernel.org
Subject: Re: load balancing between ppp0 and ppp1, private IPs
Date: Mon, 13 Apr 2009 16:50:54 +1000	[thread overview]
Message-ID: <49E2E0CE.8010203@standarduniversal.com.au> (raw)
In-Reply-To: <op.usa60utux1lyi3@localhost>

yes, it will.

b


Lloyd Standish wrote:
> 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
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>   

  reply	other threads:[~2009-04-13  6:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-13  5:03 load balancing between ppp0 and ppp1, private IPs Lloyd Standish
2009-04-13  6:50 ` Brian Austin - Standard Universal [this message]
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=49E2E0CE.8010203@standarduniversal.com.au \
    --to=brian@standarduniversal.com.au \
    --cc=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 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.