ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Ivanov Maxim <ivanov@amos.ru>
To: "community@altlinux.ru" <community@altlinux.ru>
Subject: [Comm] Проблема сети (eth0 & eth1)
Date: Thu, 19 May 2005 12:40:41 +0400
Message-ID: <503628856.20050519124041@amos.ru> (raw)

Здравствуйте, community.


Такая очень странная проблема. Мастер 2.4, два сетевых интерфейса.
eth0 172.19.X.X/24
eth1 192.168.0.0/24
default GW 172.19.X.X

route
172.19.X.X  255.255.255.0 eth0
192.168.0.0 255.255.255.0 eth1
127.0.0.0   255.0.0.0     lo
default     172.19.X.X    eth0

/etc/sysconfig/network
NETWOKING=yes
FORWARD_IPV4=yes
HOSTNAME=server
DOMAINNAME=firma.ru
GATEWAY=172.19.X.X
GATEWAYDEV=eth0

В /etc/sysctrl.conf

Параметр net.ipv4.ip_forward = 1

С  самой машины инет пингуется, bind работает (адреса резолвятся), все
славно.  Внутренняя  сеть  не  видна  ВООБЩЕ. Т.е. не пингуется ничего
кроме самого интерфейса eth1.
С  какого-то  перепуга  в файле /etc/sysconfig/network поменял eth0 на
eth1. Внутренняя сеть заработала, интернет - тоже продолжил работу.
Однако  из внутренней сети доступа наружу нет, оно и понятно - шлюз не
на  том  интерфейсе. С самого сервера запускаю links - доступа по http
нет. С клиентских машин - доступа через squid - нет.

В логах - пусто.

Вопрос  такой: почему все так получается и что сделать, чтобы все было
как надо?
Немного сумбурно получилось, но я что-то важное упускаю...
________________
С уважением,
Максим Иванов

В любом из нас спит гений, и с каждым днем все крепче.



             reply	other threads:[~2005-05-19  8:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  8:40 Ivanov Maxim [this message]
2005-05-19 10:19 ` Andriy Dobrovol's'kii
2005-05-20  7:42   ` Re[2]: " Ivanov Maxim
2005-05-20  8:05     ` Andriy Dobrovol's'kii
2005-05-20  8:14       ` Re[2]: " Ivanov Maxim
2005-05-20  8:42         ` Andriy Dobrovol's'kii

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=503628856.20050519124041@amos.ru \
    --to=ivanov@amos.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