From: Vitalie Cherpec <vitalie@funlabs.com>
To: Murali Potla <murali.potla@softprosys.com>
Cc: linux-admin <linux-admin@vger.kernel.org>
Subject: Re: Gateway Switch script
Date: Thu, 28 Aug 2003 15:49:52 +0300 [thread overview]
Message-ID: <3F4DFA70.40908@funlabs.com> (raw)
In-Reply-To: <1062066265.19990.19.camel@krishna.softprosys.com>
>
>
>Does any body has a script to automatically switch the default gateway
>between two IPs. ?
>I have two ISP connections. I want to switch between them when one is
>down
>
>
You can set up your default route to be a multipath route. Then you
could use both connections simultaneously and continue to use the
other one if one is down. There is no need to switch default gateway
with a script. Your kernel will figure out when to stop using the dead
route and how to do NAT.
Check these urls:
http://lartc.org/howto/lartc.rpdb.multiple-links.html
http://www.ssi.bg/~ja/#routes
http://www.ssi.bg/~ja/nano.txt
Vitalie
prev parent reply other threads:[~2003-08-28 12:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-28 10:24 Gateway Switch script Murali Potla
2003-08-28 12:36 ` Jeff Largent
2003-08-28 12:49 ` Vitalie Cherpec [this message]
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=3F4DFA70.40908@funlabs.com \
--to=vitalie@funlabs.com \
--cc=linux-admin@vger.kernel.org \
--cc=murali.potla@softprosys.com \
/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;
as well as URLs for NNTP newsgroup(s).