From: Dmitry Lebkov <dima@sakhalin.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Маршрутизация
Date: Mon, 26 May 2003 23:56:16 +1100
Message-ID: <20030526235616.6c6baf10.dima@sakhalin.ru> (raw)
In-Reply-To: <3ECDF447.6090006@rmts.donpac.ru>
On Fri, 23 May 2003 14:13:27 +0400
Прокопьев Евгений <john@rmts.donpac.ru> wrote:
[skip]
> > На простой машине:
> > 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
Я что-то сразу не обратил внимания - а почему TX packets = 0? Как-то
же пакеты уходят, если есть RX и машина получает ответы на ping?
>
> 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
>
Тогда на сервере и на клиенте: 'tcpdump -i eth0 -n 'host 192.168.10.6',
а на клиенте еще и: 'ping -n -c 5 192.168.101.3'.
И результат tcpdump - сюда.
--
WBR, Dmitry Lebkov
next prev parent reply other threads:[~2003-05-26 12:56 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 ` Прокопьев Евгений
2003-05-23 12:07 ` Dmitry Lebkov
2003-05-26 12:56 ` Dmitry Lebkov [this message]
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=20030526235616.6c6baf10.dima@sakhalin.ru \
--to=dima@sakhalin.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