Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Ryan D <netfilter@mandrake.us>
To: netfilter@lists.netfilter.org
Subject: round-robin aliases
Date: Fri, 17 Sep 2004 11:57:29 -0600	[thread overview]
Message-ID: <20040917175729.GF2579@dearing.us> (raw)

Ive been trying to find a way to do this... I have eth0 on the
192.168.2.0/24 network (eth0 has ip 192.168.2.10). I also have 5 aliases
on the same network with these ips:

eth0:1 192.168.2.11
eth0:2 192.168.2.12
eth0:3 192.168.2.13
eth0:4 192.168.2.14


Id like to round-robin the source ip on a per connection basis, meaning,
if I ssh to 192.168.2.100 it may come from eth0:1, if I then ssh to
192.168.2.110 it will come from eth0:2, etc.  So the destination ssh
machines will see different source IPs.

Is this possible with netfilter/iproute2?  The only potential problem I
see is with the arp table, but I also dont understand this stuff as well
as I would like.

-Ryan


             reply	other threads:[~2004-09-17 17:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-17 17:57 Ryan D [this message]
2004-09-17 18:20 ` round-robin aliases Jason Opperisano
2004-09-17 22:16   ` Ryan D

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=20040917175729.GF2579@dearing.us \
    --to=netfilter@mandrake.us \
    --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