From: max <max@zlt.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Запус ip route add unreachable при старте.
Date: Fri, 10 Dec 2004 19:38:02 +0500
Message-ID: <41B9B4CA.3000306@zlt.ru> (raw)
In-Reply-To: <41B9AC00.7040102@13.net.ru>
Alexander Markelov пишет:
> Доброго времени суток!
> Опытным путем удалось решить свою проблему:
> "Если на меня смаршрутизировали сеть на 256 адресов, а я ее нарезаю на
> части по мере необходимости. Так вот если идет пакет на ип из инета в
> мою сеть 256 адресов, а у меня этот ип еще ни в какую нарезанную сеть не
> попал. То этот пакет идет на дефаулт роут, тоесть обратно, ну и
> получается луп.
> Как правильно резать в таких случаях эти пакеты. В Циске вроде это все
> заворачивается на интерфейс null а в линухе как поступать ? Просто
> iptables настроить на это дело ? "
>
> решение(кому интересно):
> ip route add unreachable vvv.xxx.yyy.zzz/24
>
> А теперь собственно вопрос:
> Куда надо прописать это, что бы выполнялось при старте системы ?
>
Можно дописать последней строкой в
/etc/init.d/local
--
С наилучшими пожеланиями, Баукин Максим max@zlt.ru
prev parent reply other threads:[~2004-12-10 14:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-10 14:00 Alexander Markelov
2004-12-10 14:38 ` max [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=41B9B4CA.3000306@zlt.ru \
--to=max@zlt.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