From: "Прокопьев Евгений" <john@rmts.donpac.ru> To: community@altlinux.ru Subject: [Comm] Маршрутизация Date: Fri, 23 May 2003 11:45:28 +0400 Message-ID: <3ECDD198.8070002@rmts.donpac.ru> (raw) Здравствуйте! Есть 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 я делал, перегрузиться не могу. -- С уважением, Прокопьев Евгений
next reply other threads:[~2003-05-23 7:45 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-05-23 7:45 Прокопьев Евгений [this message] 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 ` Прокопьев Евгений
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=3ECDD198.8070002@rmts.donpac.ru \ --to=john@rmts.donpac.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