ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Gennadiy Redko <uit1@zaz.zp.ua>
To: altlinux@aaanet.ru, ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] 2 канала, менять шлюз
Date: Mon, 10 Apr 2006 13:40:13 +0300
Message-ID: <443A360D.9080709@zaz.zp.ua> (raw)
In-Reply-To: <443A2D27.8050503@aaanet.ru>

Igo пишет:
> Привет всем
> будет ли всё работать как я думаю (использоваться один канал и в случие 
> проподания его работать другой )
> есть 2 канала   (80.80.123.124 и 213.123.124.128) от разных провайдеров
> будут прописаны route
> add -net 80.80.123.1 netmask 255.255.255.255 dev eth0
> add -net 213.123.124.1 netmask 255.255.255.255 dev eth1
> скрипт в кроне будет переодически пинговать  213.123.124.1 и 80.80.123.1
> и менять  шлюз  в соответсвии с результатами
> route del default
> route add default gw ethX
> будет ли так работать?
Проще прописать два умолчательных маршрута с разными метриками.
(man route. Ключевое слово - metric)

Другое дело, что это не спасает от пропадания связи между
провайдером и Инетом или какой-то его частью...



  parent reply	other threads:[~2006-04-10 10:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-10 10:02 Igo
2006-04-10 10:09 ` Dmitriy L. Kruglikov
2006-04-10 10:39   ` Igo
2006-04-10 12:14     ` Dmitriy L. Kruglikov
2006-04-10 10:40 ` Gennadiy Redko [this message]
2006-04-10 11:09 ` hermit_lists

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=443A360D.9080709@zaz.zp.ua \
    --to=uit1@zaz.zp.ua \
    --cc=altlinux@aaanet.ru \
    --cc=community@lists.altlinux.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

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git