ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dmitry Lebkov <dima@sakhalin.ru>
To: community@altlinux.ru
Subject: Re: [Comm] network configs
Date: Sat, 10 May 2003 02:13:43 +1100
Message-ID: <20030510021343.7abb05ab.dima@sakhalin.ru> (raw)
In-Reply-To: <3EBB9DB4.9080003@iop.kiev.ua>

On Fri, 09 May 2003 15:23:16 +0300
Andrii Dobrovolskii <dobr@iop.kiev.ua> wrote:

> Hi,

[вопросы по initscripts - скипнуты]

См. /usr/share/doc/initscripts-x.xx/* -- там все расписано подробно.

> Ну и протокол на static заменить. Что-то ещё сюда можно/нужно
> помещать? В каких случаях Тут что-то избыточно? Где прочесть?
> Какие ещё из лежащих там файлов требуют ручного вмешательства?
> В какие файлы нужно прописывать маршруты для статической маршрутизации

В /etc/sysconfig/static-routes. Описание есть в документации к
initscripts.

> если машина будет маршрутизатором? Скажем, в "Руководстве 
> администратора" вскользь упоминается static-routers, но где найти его 
> синтаксис?

/etc/sysconfig/static-routes:
eth1 net 192.168.0.0 netmask 255.255.0.0 gw 192.168.3.254

означает, что все 256 сетей блока 192.168/16 доступны через
шлюз 192.168.3.254.

> Скажем /etc/hosts я у нас вижу, а /etc/networks и /etc/gateways,
> которые тоже упоминаются в разной документации, - нет.

Два последних давно устарели (IMHO :)

> Вопрос возник по ходу настройки небольшого маршрутизатора и хотелось
> бы получить ответы, по возможности. Так, я сейчас прописал в
> zebra.conf статические маршруты к подсеткам и не указал default
> gateway. Однако, он установлен. Как я понимаю, из значений GATEWAY и
> GATEWAYDEW. Получается, что его в zebra можно не прописывать? А если
> создать static-routers то и zebra не нужна? Или как?

Все зависит от задачи. Зебру имеет смысл ставить для динамической
маршрутизации. Если можно обойтись static'ом -- лучше им и обойтись
(тем более - если идет настройка "небольшого маршрутизатора" ;)

--
WBR, Dmitry Lebkov


      parent reply	other threads:[~2003-05-09 15:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-09 12:23 Andrii Dobrovolskii
2003-05-09 14:52 ` ASA
2003-05-09 15:13 ` Dmitry Lebkov [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=20030510021343.7abb05ab.dima@sakhalin.ru \
    --to=dima@sakhalin.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