From: Sergei Boudnik <sergei@boudnik.kiev.ua>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] Подскажите по маршрутизации.
Date: Tue, 23 Nov 2010 19:27:42 +0200
Message-ID: <4CEBF98E.9060002@boudnik.kiev.ua> (raw)
In-Reply-To: <4CEBA94A.4010109@pptk-mos.ru>
23.11.2010 13:45, Половников Денис пишет:
> Приветствую,
> Подскажите как сделать чтоб вовремя загрузки системы маршрут сам
> поднимался?
> Я сделал файлик с настройками route-breth1 и положил его в
> /etc/sysconfig/network-scripts но чего то нефига после рестарта он не
> поднимается. :-(
> Вот его содержимое:
> GATEWAY0=192.168.0.250
> NETMASK0=255.255.255.0
> ADDRESS0=172.20.10.0
>
> GATEWAY0=192.168.0.8
> NETMASK0=255.255.255.0
> ADDRESS0=10.20.0.0
>
В ALTLinux по-умолчанию используется etcnet, а не network-scripts.
Файлы конфигурации находятся в /etc/net
Вам необходимо в директории нужного интерфейса создать файл (если его
нет) ipv4route такого содержания:
---
172.20.10.0/24 via 192.168.0.250
10.20.0.0/24 via 192.168.0.8
---
--
WBR, Sergei Boudnik
--------------------------
SSB1-UANIC
==========================
Trap for spam & virii:
trap@boudnik.kiev.ua
next prev parent reply other threads:[~2010-11-23 17:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-23 11:45 Половников Денис
2010-11-23 16:50 ` Terechkov Evgenii
2010-11-23 16:54 ` Шенцев Алексей Владимирович
2010-11-23 17:27 ` Sergei Boudnik [this message]
2010-11-24 6:11 ` Половников Денис
2010-11-23 17:50 ` Sergey
2010-11-23 19:30 ` Motsyo Gennadi aka Drool
2010-11-23 19:41 ` Шенцев Алексей Владимирович
2010-11-24 6:39 ` Sergey
2010-11-24 7:32 ` Шенцев Алексей Владимирович
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=4CEBF98E.9060002@boudnik.kiev.ua \
--to=sergei@boudnik.kiev.ua \
--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