ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Maxim Tyurin <mrkooll@bungarus.info>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Роутинг через 2 канала
Date: Wed, 26 Dec 2007 19:49:31 +0200
Message-ID: <m3myrxgxck.fsf@bungarus.tdr.pibhe.com> (raw)
In-Reply-To: <47721ABD.8000008@ints.ru> (Alexei V. Mezin's message of "Wed\, 26 Dec 2007 12\:11\:25 +0300")

Alexei V. Mezin writes:

> Традиционный (баянистый) вопрос:
>
> два канала, один через сетевуху со статическим адресом и гейтом 
> (быстрый), второй через сетевуху с кабельным модемом и DHCP (медленный). 
> Хочется, чтоб по умолчанию все шло через быстрый канал, а при его 
> падении переключалось на медленный. Нашел тут 
> http://lists.altlinux.org/pipermail/sysadmins/2007-July/010784.html 
> совет сделать
>
> "
> ip r a 0/0 via gw1 metric 5 dev ppp0
> ip r a 0/0 via gw2 metric 20 dev eth0
>
> когда проекспайрится арп первого шлюза дефолт развернётся во второй
> шлюз.

Совсем не уверен. Оно как-то через одно место работает.
Вот если пропадет ppp соединение - то пропадет интерфейс ppp0 и тогда
оно точно пойдет по eth0.

А когда два ether интерфейса то переключаться оно у меня не хотело
никак. Хотя сосед был явно мертвый.
-- 

With Best Regards, Maxim Tyurin
JID:	MrKooll@jabber.pibhe.com
   ___                                 
  / _ )__ _____  ___ ____ _______ _____
 / _  / // / _ \/ _ `/ _ `/ __/ // (_-<
/____/\_,_/_//_/\_, /\_,_/_/  \_,_/___/
               /___/  


  reply	other threads:[~2007-12-26 17:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-26  9:11 Alexei V. Mezin
2007-12-26 17:49 ` Maxim Tyurin [this message]
2007-12-27  6:03   ` Sergey
2007-12-27  9:11     ` Alexei V. Mezin
2007-12-28 10:26       ` Gennadiy Redko
2007-12-28 10:36         ` Gennadiy Redko
2007-12-29 14:21         ` Alexei V. Mezin
2007-12-29 15:17           ` Gennadiy Redko
2007-12-30 15:24             ` Sergey
2007-12-29 15:40           ` Dmitry Lebkov
2007-12-29 16:15             ` Dmitry Lebkov
2007-12-29 16:33               ` Alexei V. Mezin
2007-12-30 15:26                 ` Sergey
2007-12-30 15:30             ` Sergey

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=m3myrxgxck.fsf@bungarus.tdr.pibhe.com \
    --to=mrkooll@bungarus.info \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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