[Comm] Маршрутизация

Dmitry Lebkov =?iso-8859-1?q?dima_=CE=C1_sakhalin=2Eru?=
Вт Май 27 09:00:30 MSD 2003


On Tue, 27 May 2003 08:36:41 +0400
Прокопьев Евгений <john на rmts.donpac.ru> wrote:

[skip]

> > Тогда на сервере и на клиенте: 'tcpdump -i eth0 -n 'host 192.168.10.6',
> > а на клиенте еще и: 'ping -n -c 5 192.168.101.3'.
> > 
> > И результат tcpdump - сюда.
> 
> Вот что было на клиенте:
> 
> # tcpdump -i eth0 -n 'host 192.168.10.6'
> tcpdump: listening on eth0
> 08:26:32.836122 192.168.10.6 > 192.168.101.3: icmp: echo request (DF)
> 08:26:33.847719 192.168.10.6 > 192.168.101.3: icmp: echo request (DF)
> 08:26:34.847795 192.168.10.6 > 192.168.101.3: icmp: echo request (DF)
> 08:26:35.847760 192.168.10.6 > 192.168.101.3: icmp: echo request (DF)
> 08:26:36.847768 192.168.10.6 > 192.168.101.3: icmp: echo request (DF)
> 08:26:37.827708 arp who-has 192.168.10.5 tell 192.168.10.6
> 08:26:37.827962 arp reply 192.168.10.5 is-at 0:10:4b:47:b7:ca
> 08:26:37.847731 192.168.10.6 > 192.168.101.3: icmp: echo request (DF)
> 
> 8 packets received by filter
> 0 packets dropped by kernel
> 
> Пинги до 192.168.101.3 не дошли.
> 
> На сервере:
> 
> # tcpdump -i eth0 -n 'host 192.168.10.6'
> tcpdump: listening on eth0
> 08:29:24.253207 192.168.10.6 > 192.168.101.3: icmp: echo request (DF)
> 08:29:25.264803 192.168.10.6 > 192.168.101.3: icmp: echo request (DF)
> 08:29:26.264878 192.168.10.6 > 192.168.101.3: icmp: echo request (DF)
> 08:29:27.264842 192.168.10.6 > 192.168.101.3: icmp: echo request (DF)
> 08:29:28.264848 192.168.10.6 > 192.168.101.3: icmp: echo request (DF)
> 08:29:29.244763 arp who-has 192.168.10.5 tell 192.168.10.6
> 08:29:29.244798 arp reply 192.168.10.5 is-at 0:10:4b:47:b7:ca
> 08:29:29.264808 192.168.10.6 > 192.168.101.3: icmp: echo request (DF)
> 
> # tcpdump -i eth1 -n 'host 192.168.10.6'
> tcpdump: listening on eth1
> 08:29:24.253239 192.168.10.6 > 192.168.101.3: icmp: echo request (DF)
> 08:29:25.264834 192.168.10.6 > 192.168.101.3: icmp: echo request (DF)
> 08:29:26.264904 192.168.10.6 > 192.168.101.3: icmp: echo request (DF)
> 08:29:27.264871 192.168.10.6 > 192.168.101.3: icmp: echo request (DF)
> 08:29:28.264877 192.168.10.6 > 192.168.101.3: icmp: echo request (DF)
> 08:29:29.264830 192.168.10.6 > 192.168.101.3: icmp: echo request (DF)

Т.е. icmp-запросы уходят, а ответы - не приходят. Тогда, для полного
"щастья" %), на машине с адресом 192.168.101.3:

iptables -L -n
ifconfig -a
netstat -rn
ping -n -c 5 192.168.101.15

--
WBR, Dmitry Lebkov



Подробная информация о списке рассылки community