From: Robert Kurjata <rkurjata@ire.pw.edu.pl>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Redundant Internet connections [Updated]
Date: Mon, 13 Oct 2003 17:58:30 +0000 [thread overview]
Message-ID: <marc-lartc-106606922711768@msgid-missing> (raw)
In-Reply-To: <marc-lartc-106606308103921@msgid-missing>
Witaj Seth,
W Twoim liœcie datowanym 13 paŸdziernika 2003 (18:24:08) mo¿na przeczytaæ:
SJB> Sorry, I really wasn't paying attention when I wrote this (i.e. I've had
SJB> no sleep).
SJB> I have the routing tables working properly for the internal network.
SJB> What I need to do is have the routing tables update the gateways when a
SJB> line is down.
SJB> i.e. intranet ----- firewall ----- router1 ----- internet
SJB> \-- router2 ----- internet
SJB> Currently, I have the gateway from the firewall being nexthops between
SJB> router1 and router2. This works fine. But what I need to do is have the
SJB> firewall check the links between router1/2 and the internet and switch
SJB> gateways if a line is down.
SJB> What I want to do, but can't figure out how to, is send out a packet
SJB> through router1 and see if it gets an arbitrary number of hops (probably
SJB> 3) out. If not, switch the default route to use the other gateway. This
SJB> needs to be done for both gateways, and there also needs to be a route
SJB> to restore the gateways when the line goes back up.
I have a load balancing setup for 3 uplinks (3 different providers and
technologies) w/failover set with http://www.ssi.bg/~ja/ Nano-HOWTO
(carefully done By-The-Book - any shortcut and it's gone).
When you need to check if the net is reachable with either of the
links just try to ping some machines outside (a set would be nice)
forcing an output address to be one or the other and decide if you
need to change normal multihop gateway to single hop one via link 1 or
2. Should work with nano, because it's preserving output address thus
preserving the routes. Works for me (after some sleepless nights, tons
of caffe :). I can pull the plug out and nothing bad happens
(only the traffic shaping needs some correction).
[cut the rest]
--
Pozdrowienia,
Robert
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2003-10-13 17:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-13 16:24 [LARTC] Redundant Internet connections [Updated] Seth J. Blank
2003-10-13 17:58 ` Robert Kurjata [this message]
2003-10-14 16:56 ` Seth J. Blank
2003-10-15 1:27 ` gypsy
2003-10-15 16:12 ` Seth J. Blank
2003-10-15 16:47 ` Seth J. Blank
2003-10-15 17:41 ` Diogo Nuno P. Gomes
2003-10-15 22:01 ` Seth J. Blank
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-106606922711768@msgid-missing \
--to=rkurjata@ire.pw.edu.pl \
--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.