ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Yuri Perelyaev <ynp@au.ru>
To: Community <community@altlinux.ru>
Subject: [Comm] gateway
Date: Sat, 12 Oct 2002 07:46:36 +0900
Message-ID: <200210120639.10413.ynp_home@mail.ru> (raw)

Привет, всем!
Помогите настроить шлюз. Что делаю не так?
Есть подсеть 192.168.2.0 с рабочими станциями (192.168.2.1...12), 
еще на одной рабочей станции - Х стоит два интерфейса 
192.168.2.100 и 192.168.5.2, первый смотрит в подсеть 
192.168.2.0,  второй на интерфейс следующего шлюза 192.168.5.1
Устанавливаю на Х АЛМ2, карты определяются, задаю шлюз по 
умолчанию 192.168.5.1 
Проверяю: 
ifconfig  все в норме,
route -n  говорит, что у подсетей  192.168.2.0 и 192.168.5.0 нет 
шлюза, шлюз по умолчанию - 192.168.5.1
Стартую демон routed - для всех подсетей в таблице маршрутизации 
прописывается шлюз по умолчанию 192.168.5.1, причем для 
192.168.2.0 и 192.168.5.0 две записи со шлюзом и без. Вручную 
убрать их не удается, говорит, что нет таких процессов.

С Х все нормально пингуется, пакеты ходят во все подсети, пакеты 
из 192.168.2.0 идут до 192.168.2.100 и 192.168.5.2, а через Х 
наружу на 192.168.5.1 не проходят.

Пробовал остановить routed и прописать в таблицу маршрутизации 
руками для 192.168.5.0 и 192.168.2.0 шлюз 192.168.5.1 - 
результат отрицательный

Как посмотреть и включить перенаправление пакетов между 
192.168.2.100 и 192.168.5.2?


-- 
WBR
Yuri Perelyaev
ICQ 8976542
http://yp.hypermart.net




             reply	other threads:[~2002-10-11 22:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-11 22:46 Yuri Perelyaev [this message]
2002-10-12  7:32 ` Sanja Byelkin
2002-10-12  7:39 ` Sergey Degtyaryov

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=200210120639.10413.ynp_home@mail.ru \
    --to=ynp@au.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