All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin A. Brown" <mabrown-lartc@securepipe.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Multiple internet providers
Date: Tue, 18 Mar 2003 16:47:40 +0000	[thread overview]
Message-ID: <marc-lartc-104800613324060@msgid-missing> (raw)
In-Reply-To: <marc-lartc-104798747003702@msgid-missing>

Kim,

 : I'm having a problem with multiple internet providers. According to all
 : the things I have found so far it should not be that uncomplicated to
 : set it up - however, I'm having some problems getting it to work.

You are correct.  It is not uncomplicated.  It is also not difficult.  :)

 : Firsth the scenario - I'm having 2 Internet providers, one fast with 32
 : static IP's and one slow with dynamic IP's. Internally we are using a
 : private net which is set up for 32 ip's. Now, we have to map all 32
 : static ip's to the private IP's so all machines can be reached
 : externally through the static net. The default route is suppose to be
 : the slow ISP.
 :
 : So far, I have found that I need to set up the routing using marking,
 : and then set up the rules so it work accordingly.

That's one approach, documented here:

  http://linux-ip.net/html/adv-multi-internet.html

This only works if you are not trying to perform link load balancing.  If
that is your intended goal, you'll need to check out the Nano-HOWTO (Hey
Julian--this appears to be missing right now):

  http://www.linuxvirtualserver.org/~julian/nano.txt

 : But this appears to just work with static routing, not when one of the
 : providers is dynamic!

It doesn't matter that the IPs are dynamic, just that you can alter the
affected routing table when you get a new dynamic IP.  If you are using
rp-pppoe, you'll want to perform your additional routing table
manipulations in ip-up.local.

And also, unless you have a routing daemon, you are using static routing.
A dynamic IP address is simply that--your network-connected machine is
still performing static routing, though it has a dynamic address.

Since you have a dynamic IP on one interface, you may wish to use the -j
MASQUERADE target instead of the -j SNAT target.

 : Does anyone have some suggestions for what to do?

Do the above suggestions help?

-Martin

-- 
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  reply	other threads:[~2003-03-18 16:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-18 11:36 [LARTC] Multiple internet providers Kim Jensen
2003-03-18 16:47 ` Martin A. Brown [this message]
2003-03-18 17:00 ` Julian Anastasov
2003-03-21 21:22 ` Kim Jensen
2003-03-21 21:29 ` Martin A. Brown
2003-03-22  5:57 ` Martin A. Brown
2003-03-22  8:28 ` Kim Jensen
2003-03-22 16:33 ` Martin A. Brown
2003-03-22 17:53 ` Kim Jensen
2003-03-22 23:02 ` Martin A. Brown

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=marc-lartc-104800613324060@msgid-missing \
    --to=mabrown-lartc@securepipe.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.