From: Sergey Solomonov <solic@codis.com.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] route add
Date: Thu, 10 Nov 2005 11:15:39 +0300
Message-ID: <200511101115.39751.solic@codis.com.ru> (raw)
In-Reply-To: <200511101003.15767.vt@kdtu.kr.ua>
10 Ноябрь 2005 13:03, Andrey O. Motrenko написал:
> Здравствуйте!
>
> Имею вопрос.
> Даю команду, приблизительно такую:
>
> route add -net 10.3.0.0 netmask 255.255.255.0 gw 10.10.3.100
> eth0
>
> маршрут начинает работать, но после перезагрузки этот
> результат пропадает. Пришлось написать это в файл скрипта
> автозагрузки "/etc/rc.d/init.d/local", но это же не выход?
>
> В связи с этим вопрос: как сохранить таблицу маршрутизации.
занести нужную строку (не команду route) в
/etc/sysconfig/static-routes
Что -то типа
eth0 net 10.3.0.0 netmask 255.255.255.0 gw 10.10.3.100
--
==========================
Соломонов Сергей Николаевич
ЗАО КОДИС
http://www.codis.ru
next prev parent reply other threads:[~2005-11-10 8:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-10 10:03 Andrey O. Motrenko
2005-11-10 8:09 ` Maxim Bodyansky
2005-11-10 8:09 ` Alexander Volkov
2005-11-10 8:15 ` Sergey Solomonov [this message]
2005-11-10 10:23 ` Andrey O. Motrenko
2005-11-10 8:28 ` Sergey Solomonov
2005-11-10 10:02 ` Шенцев Алексей Владимирович
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=200511101115.39751.solic@codis.com.ru \
--to=solic@codis.com.ru \
--cc=community@lists.altlinux.org \
--cc=sol@codis.shpl.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