Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Chris Kanich <ckanich@cs.ucsd.edu>
To: netfilter@lists.netfilter.org
Subject: load balancing over a very large number of outgoing addresses?
Date: Thu, 26 Jul 2007 18:27:59 -0700	[thread overview]
Message-ID: <46A94A1F.4000107@cs.ucsd.edu> (raw)

Hi,
I have recently developed a need to multiplex connections from within a 
NAT over several (hundred, even thousand if possible) external IPs. I 
can have all of these IPs routed to a single interface on my NAT box, 
however I am not exactly sure how to set up a random/round robin load 
balancing scheme such that outgoing connections from my network each get 
a random source address from my source address pool.

I have come across this how-to:
http://lartc.org/howto/lartc.rpdb.multiple-links.html

However it seems that I cannot scale these routing rules past 255 
routes, and unlike the example, I am not multiplexing interfaces but 
only IPs in roughly a contiguous /16 range being routed to this linux 
machine.

Any suggestions on how to get this up and running would be greatly 
appreciated.

Many thanks,
Chris Kanich


             reply	other threads:[~2007-07-27  1:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-27  1:27 Chris Kanich [this message]
2007-07-31 15:01 ` load balancing over a very large number of outgoing addresses? Grant Taylor

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=46A94A1F.4000107@cs.ucsd.edu \
    --to=ckanich@cs.ucsd.edu \
    --cc=netfilter@lists.netfilter.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