All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joe Nuts <joenuts@gmail.com>
To: lartc@vger.kernel.org
Subject: [LARTC] public network redirection over multiple links to a client
Date: Fri, 26 Nov 2004 20:55:19 +0000	[thread overview]
Message-ID: <cfc690b704112612557e11f9df@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2305 bytes --]

Hi guys, I have a question about routing a (piece of a) public network
to a client, over multiple internet connections.
The server in question receives traffic for both public network x, and
public network y, and has one connection to the internet. The client
has three connections to the internet. I have no problems setting up a
multipath route so that outbound traffic from the client is split
between the three network connections with the ip route add scope
global nexthop... .
I would like for the server to send traffic it receives destined for
pub network x across the three links down to the client pc. the ip
route add ... nexthop ... command only seems to work with multiple
interfaces, and the server only has one interface. (see diagram, also
attached)

            Client
              PC
           |-----|
           |     |
  LAN      |eth0 |
(Pub Net X) |     |
           |     |              |---|           |---|           Server
           |eth1 | --- Pub IP A | I |           |   |             PC
           |     | -------------| n |           | R |          |-----|
           |     |              | t | Pub Net X-| o |          |     |
           |eth2 | --- Pub IP B | e |           | u | Pub IP Z-|eth0 |
           |     | -------------| r |-----------| t |----------|     |
           |     |              | n |           | e |          |     |
           |eth3 | --- Pub IP C | e | Pub Net Y-| r |          |     |
           |     | -------------| t |           |   |          |     |
           |-----|              |   |           |   |          |     |
                                |---|           |---|          |-----|
                                                          (receives
traffic for Pub Net X
                                                            and sends
it to Client PC
                                                            over Pub IP A, B, C)

I'm hoping I can come up with some kind of kernel level solution, but
the fact that i'm sending traffic back out to the internet with a
destination address that would normally be routed back to me, makes me
think that i need to use some kind of tunnel.

If anyone has any ideas of what utilities i should use to accomplish
this, your direction is much apprecitated.

Thanks!
-Joe Comeaux

[-- Attachment #2: diagram.txt --]
[-- Type: text/plain, Size: 1169 bytes --]

             Client
               PC
            |-----|
            |     |
   LAN      |eth0 |
(Pub Net X) |     |
            |     |              |---|           |---|           Server
            |eth1 | --- Pub IP A | I |           |   |             PC
            |     | -------------| n |           | R |          |-----|
            |     |              | t | Pub Net X-| o |          |     |
            |eth2 | --- Pub IP B | e |           | u | Pub IP Z-|eth0 |
            |     | -------------| r |-----------| t |----------|     |
            |     |              | n |           | e |          |     |
            |eth3 | --- Pub IP C | e | Pub Net Y-| r |          |     |
            |     | -------------| t |           |   |          |     |
            |-----|              |   |           |   |          |     |
                                 |---|           |---|          |-----|
                                                           (receives traffic for Pub Net X
                                                             and sends it to Client PC
                                                             over Pub IP A, B, C)


                 reply	other threads:[~2004-11-26 20:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=cfc690b704112612557e11f9df@mail.gmail.com \
    --to=joenuts@gmail.com \
    --cc=lartc@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.