All of lore.kernel.org
 help / color / mirror / Atom feed
From: K N <kamathnish@yahoo.com>
To: lartc@vger.kernel.org
Subject: [LARTC] Combining 2 DSL Links Using Linux Gateway
Date: Tue, 26 Feb 2002 08:27:12 +0000	[thread overview]
Message-ID: <marc-lartc-101471122213663@msgid-missing> (raw)

Hello All,

I am new to the field of linux networking and routing and therefore seek
your assistance. Please excuse me if my queries appear to be trivial. I
felt this would be the best forum to learn things.

I have two DSL connections in my office which terminate into my LAN through
separate DSL routers. Each of the DSL routers have been assigned an
external IP address and an internal IP address (belonging to the same
subnet as my LAN). At present we manually divide the internet traffic
between the routers by selecting one of the two gateways. However, I want
to set up a linux box as a gateway which would do load balancing and act as
an equalcost multipath router as shown in the figure below. This gateway
will also act as a firewall.

		                           
                                    --------------
                                    |            |
                                    |            |
	------------                |            |
	|          |                |            |
--------| DSL      |----------------| LINUX BOX  |
EXT IP1	| ROUTER 1 | INT IP1   eth1 |            |
	|          |                | EQUAL COST |
	------------                |     &      |
                                    |  MULTIPATH |eth0
                                    |            |----------LAN
	                            |  GATEWAY   |INT IP0
	------------                |            |
	|          |                |    AND     |
--------| DSL      |----------------|            |
EXT IP2	| ROUTER 2 | INT IP2   eth2 |  FIREWALL  |
	|          |                |            |
	------------                |            |
                                    |            | 
                                    ---------------

EXT IP1 and EXT IP2 are the two public IP addresses alloted by the DSL
provider while INT IP1 and INT IP2 are the respective internal IP
addresses. The new gateway should automatically divide the traffic between
the two DSL links and in case on of the links is down it should shift the
entire traffic to the other one. When the link is restored, it should again
start distributing traffic between the two links. I also intend to have an
IPChains or IPTables based firewall on this gateway. 



Please let me know if the above arrangement is technically feasible. If
yes, how should I go about implementing it. Please suggest suitable
references and web links. Since at present, the DSL links terminate into
the local LAN switch the two routers have been assigned internal IP
addresses belonging to my network. How do I go about assigning interface
addresses to interfaces eth1 and eth2 (which should be INT IP1 and INT
IP2), since the routers are programmed by the DSL provider. In the new
arrangement, can I give them the same addresses as earlier?

Thanking you in anticipation,

Kamath


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

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

                 reply	other threads:[~2002-02-26  8:27 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=marc-lartc-101471122213663@msgid-missing \
    --to=kamathnish@yahoo.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.