ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Маршрутизация
@ 2003-05-23  7:45 Прокопьев Евгений
  2003-05-23  8:45 ` Maxim.Savrilov
  2003-05-23  9:28 ` Dmitry Lebkov
  0 siblings, 2 replies; 18+ messages in thread
From: Прокопьев Евгений @ 2003-05-23  7:45 UTC (permalink / raw)
  To: community

Здравствуйте!

Есть 2 машины

1) Шлюз, у которой:

[root@john root]# cat /etc/sysconfig/network
NETWORKING=yes
FORWARD_IPV4=true
HOSTNAME=john.ewsd.donpac.ru
DOMAINNAME=ewsd.donpac.ru
GATEWAY=192.168.101.3
GATEWAYDEV=eth1

[root@john root]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.10.5
NETMASK=255.255.255.0
NETWORK=192.168.10.0
BROADCAST=192.168.10.255
ONBOOT=yes

[root@john root]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
BOOTPROTO=static
IPADDR=192.168.101.15
NETMASK=255.255.255.0
NETWORK=192.168.101.0
BROADCAST=192.168.101.255
ONBOOT=yes

[root@john root]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
192.168.101.0   *               255.255.255.0   U     0      0        0 eth1
192.168.10.0    *               255.255.255.0   U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         192.168.101.3   0.0.0.0         UG    0      0        0 eth1

[root@john root]# traceroute 192.168.101.3
traceroute to 192.168.101.3 (192.168.101.3), 30 hops max, 38 byte packets
  1  192.168.101.3 (192.168.101.3)  1.068 ms  0.338 ms  0.290 ms


2) Простая машина с одной сетевой картой, у которой:

NETWORKING=yes
FORWARD_IPV4=false
HOSTNAME=dbms.ewsd.donpac.ru
DOMAINNAME=ewsd.donpac.ru
GATEWAY=192.168.10.5

DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.10.6
NETMASK=255.255.255.0
NETWORK=192.168.10.0
BROADCAST=192.168.10.255
ONBOOT=yes

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
192.168.10.0    *               255.255.255.0   U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         192.168.10.5    0.0.0.0         UG    0      0        0 eth0

traceroute 192.168.101.3
traceroute to 192.168.101.3 (192.168.101.3), 30 hops max, 38 byte packets
  1  192.168.10.5 (192.168.10.5)  0.425 ms  0.371 ms  0.258 ms
  2  * * *
  3  * * *
  4  * * *

Вопрос: что я сделал не так?

service network restart и update_chrooted conf после установки 
FORWARD_IPV4=true я делал, перегрузиться не могу.

-- 
С уважением, Прокопьев Евгений



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2003-05-27  6:32 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-23  7:45 [Comm] Маршрутизация Прокопьев Евгений
2003-05-23  8:45 ` Maxim.Savrilov
2003-05-23  9:31   ` Прокопьев Евгений
2003-05-23 10:00     ` Andriy Dobrovol's'kii
2003-05-23 10:03       ` Прокопьев Евгений
2003-05-23 10:36         ` Mike Lykov
2003-05-23 10:55         ` Andriy Dobrovol's'kii
2003-05-23 11:14           ` Прокопьев Евгений
2003-05-23 12:09             ` Andriy Dobrovol's'kii
2003-05-23  9:28 ` Dmitry Lebkov
2003-05-23 10:13   ` Прокопьев Евгений
2003-05-23 12:07     ` Dmitry Lebkov
2003-05-26 12:56     ` Dmitry Lebkov
2003-05-27  4:36       ` Прокопьев Евгений
2003-05-27  5:00         ` Dmitry Lebkov
2003-05-27  5:44           ` Прокопьев Евгений
2003-05-27  5:54             ` Dmitry Lebkov
2003-05-27  6:32               ` Прокопьев Евгений

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