From: Dmitry Nechaev <dima@academy.cap.ru>
To: community@altlinux.ru
Subject: Re: [Comm] M2.2 choosing of routing daemon
Date: Fri, 5 Dec 2003 15:09:53 +0300
Message-ID: <200312051509.53912.dima@academy.cap.ru> (raw)
In-Reply-To: <200312051504.44426.dima@academy.cap.ru>
В сообщении от Пятница 05 Декабрь 2003 15:04 Dmitry Nechaev написал(a):
> В сообщении от Пятница 05 Декабрь 2003 14:56 Slava Garelin написал(a):
> > > > Если все верно понял - routed - пыль веков, zebra - современный
> > > > модульный рут-менеджер.
> > > > gated в M2.2 я вообще не обнаружил. Стало быть -
> > > > особой альтернативы zebra - нет?
> > >
> > > А ядерный роутинг не устраивает? Нужен именно daemon?
> >
> > А как дефолт тягать с мертвых каналов на живые и назад, по воскрешению?
>
> Можно скриптами. Первое, что приходит в голову - пинговать дефолтный гейт,
> и если он не отвечает - ip route replace default ethX via yyy.yyy.yyy.yyy,
> а как стал отвечать - то вертаем взад - ip route replace default ethY via
> zzz.zzz.zzz.zzz
> ethX - интерфейс backup-канала, yyy.yyy.yyy.yyy - его IP
> ethY - соответственно интерфейс основного канала, zzz.zzz.zzz.zzz - его IP
>
> Если хорошенько погуглить - верю, что найдётся не одно готовое решени такой
> проблемы.
Сорри, ошибочка в синтаксисе.
ip route replace default via yyy.yyy.yyy.yyy dev ethX
ip route replace default via zzz.zzz.zzz.zzz dev ethY
можно добавить в конце каждой строки src aaa.aaa.aaa.aaa - исходящие пакеты
будут иметь этот адрес (адрес, соответственно, должен существовать на этом
хосте).
--
2.4.20-alt5-up GNU/Linux
next prev parent reply other threads:[~2003-12-05 12:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-05 11:43 Slava Garelin
2003-12-05 11:54 ` Dmitry Nechaev
2003-12-05 11:56 ` Slava Garelin
2003-12-05 12:04 ` Dmitry Nechaev
2003-12-05 12:09 ` Dmitry Nechaev [this message]
2003-12-05 12:24 ` Slava Garelin
2003-12-05 12:33 ` Dmitry Nechaev
2003-12-05 12:39 ` Slava Garelin
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=200312051509.53912.dima@academy.cap.ru \
--to=dima@academy.cap.ru \
--cc=community@altlinux.ru \
/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