ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Прокопьев Евгений" <john@rmts.donpac.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Маршрутизация
Date: Fri, 23 May 2003 14:13:27 +0400
Message-ID: <3ECDF447.6090006@rmts.donpac.ru> (raw)
In-Reply-To: <20030523202834.621a0e7b.dima@sakhalin.ru>

> На шлюзе:
> ifconfig -a
> iptables -L -n

[root@john root]# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:10:4B:47:B7:CA
           inet addr:192.168.10.5  Bcast:192.168.10.255  Mask:255.255.255.0
           IPX/Ethernet II addr:00003302:00104B47B7CA
           IPX/Ethernet 802.3 addr:00000032:00104B47B7CA
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:65581 errors:1 dropped:0 overruns:0 frame:1
           TX packets:18996 errors:0 dropped:0 overruns:0 carrier:0
           collisions:1208 txqueuelen:100
           RX bytes:9831742 (9.3 Mb)  TX bytes:2655095 (2.5 Mb)
           Interrupt:9 Base address:0xd000

eth1      Link encap:Ethernet  HWaddr 00:60:97:AE:F4:CA
           inet addr:192.168.101.15  Bcast:192.168.101.255 
Mask:255.255.255.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:2653 errors:0 dropped:0 overruns:0 frame:0
           TX packets:1640 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:100
           RX bytes:1230613 (1.1 Mb)  TX bytes:126166 (123.2 Kb)
           Interrupt:5 Base address:0xb800

lo        Link encap:Local Loopback
           inet addr:127.0.0.1  Mask:255.0.0.0
           UP LOOPBACK RUNNING  MTU:16436  Metric:1
           RX packets:59 errors:0 dropped:0 overruns:0 frame:0
           TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:3194 (3.1 Kb)  TX bytes:3194 (3.1 Kb)

[root@john root]# iptables -L -n
-bash: iptables: command not found


> На простой машине:
> ifconfig -a
> iptables -L -n
> ping -n 192.168.10.5
> ping -n 192.168.101.3

[root@dbms root]# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:01:80:09:48:CD
           inet addr:192.168.10.6  Bcast:192.168.10.255  Mask:255.255.255.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:10761 errors:0 dropped:0 overruns:0 frame:0
           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:100
           RX bytes:1660657 (1.5 Mb)  TX bytes:0 (0.0 b)
           Interrupt:10 Base address:0xc400

lo        Link encap:Local Loopback
           inet addr:127.0.0.1  Mask:255.0.0.0
           UP LOOPBACK RUNNING  MTU:16436  Metric:1
           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

[root@dbms root]# iptables -L -n
bash: iptables: command not found
[root@dbms root]# ping -n 192.168.10.5
PING 192.168.10.5 (192.168.10.5) 56(84) bytes of data.
64 bytes from 192.168.10.5: icmp_seq=1 ttl=64 time=1.30 ms
64 bytes from 192.168.10.5: icmp_seq=2 ttl=64 time=0.338 ms
64 bytes from 192.168.10.5: icmp_seq=3 ttl=64 time=0.357 ms
64 bytes from 192.168.10.5: icmp_seq=4 ttl=64 time=0.341 ms
64 bytes from 192.168.10.5: icmp_seq=5 ttl=64 time=0.364 ms

--- 192.168.10.5 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4002ms
rtt min/avg/max/mdev = 0.338/0.541/1.307/0.383 ms
[root@dbms root]# ping 192.168.101.3
PING 192.168.101.3 (192.168.101.3) 56(84) bytes of data.

--- 192.168.101.3 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 3999ms


> и результат - сюда.


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



  reply	other threads:[~2003-05-23 10:13 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-23  7:45 Прокопьев Евгений
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   ` Прокопьев Евгений [this message]
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=3ECDF447.6090006@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