From owner-freebsd-net@FreeBSD.ORG Fri Feb 22 06:48:50 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 876D916A404 for ; Fri, 22 Feb 2008 06:48:50 +0000 (UTC) (envelope-from fvl@mail.ru) Received: from inskaya.net.tomline.ru (inskaya.net.tomline.ru [213.183.100.173]) by mx1.freebsd.org (Postfix) with ESMTP id 78E0B13C469 for ; Fri, 22 Feb 2008 06:48:49 +0000 (UTC) (envelope-from fvl@mail.ru) Received: from vitalij (admin.inskaya.loc [10.0.0.75]) by mail.inskaya.loc (Postfix) with ESMTP id 3E89A2F17F0 for ; Fri, 22 Feb 2008 12:29:44 +0600 (NOVT) From: =?koi8-r?B?98nUwczJyiDmwcTFxdc=?= To: Date: Fri, 22 Feb 2008 12:29:12 +0600 Message-ID: <008f01c8751c$3d75e610$4b00000a@vitalij> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Thread-Index: Ach1HDzaedbJNdZvT36Dg7NV3BXFvw== X-Mailman-Approved-At: Fri, 22 Feb 2008 12:24:43 +0000 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Some gre troubles X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2008 06:48:50 -0000 Hi all! Does somebody can help me with this problem? HOST A: ptf-gw# netstat -rn | grep def default 81.16.137.1 UGS 1 66976 rl2 ptf-gw# ifconfig gre0 gre0: flags=b051 metric 0 mtu 1476 tunnel inet 87.103.215.125 --> 213.183.100.173 inet 192.168.5.1 --> 192.168.5.2 netmask 0xffffff00 ptf-gw# ping -c 2 213.183.100.173 PING 213.183.100.173 (213.183.100.173): 56 data bytes 64 bytes from 213.183.100.173: icmp_seq=0 ttl=56 time=92.372 ms 64 bytes from 213.183.100.173: icmp_seq=1 ttl=56 time=69.794 ms --- 213.183.100.173 ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 69.794/81.083/92.372/11.289 ms ptf-gw# ping -c 2 192.168.5.2 PING 192.168.5.2 (192.168.5.2): 56 data bytes --- 192.168.5.2 ping statistics --- 2 packets transmitted, 0 packets received, 100.0% packet loss ptf-gw# ifconfig ng0 ng0: flags=88d1 metric 0 mtu 1492 inet 87.103.215.125 --> 217.116.130.134 netmask 0xffffffff ptf-gw# route add -host 213.183.100.173 217.116.130.134 add host 213.183.100.173: gateway 217.116.130.134 ptf-gw# ping -c 2 213.183.100.173 PING 213.183.100.173 (213.183.100.173): 56 data bytes 64 bytes from 213.183.100.173: icmp_seq=0 ttl=54 time=127.367 ms 64 bytes from 213.183.100.173: icmp_seq=1 ttl=54 time=128.663 ms --- 213.183.100.173 ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 127.367/128.015/128.663/0.648 ms ptf-gw# ping -c 2 192.168.5.2 PING 192.168.5.2 (192.168.5.2): 56 data bytes --- 192.168.5.2 ping statistics --- 2 packets transmitted, 0 packets received, 100.0% packet loss ptf-gw# ifconfig gre0 gre0: flags=b051 metric 0 mtu 1476 tunnel inet 87.103.215.125 --> 213.183.100.173 inet 192.168.5.1 --> 192.168.5.2 netmask 0xffffff00 ptf-gw# ping -c 4 192.168.5.2 & && tcpdump -i gre0 -c 4 [1] 59080 PING 192.168.5.2 (192.168.5.2): 56 data bytes tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on gre0, link-type NULL (BSD loopback), capture size 68 bytes 64 bytes from 192.168.5.2: icmp_seq=0 ttl=64 time=131.373 ms 12:44:28.647565 IP 192.168.5.2 > 192.168.5.1: ICMP echo reply, id 51430, seq 0, length 64 12:44:29.517236 IP 192.168.5.1 > 192.168.5.2: ICMP echo request, id 51430, seq 1, length 64 64 bytes from 192.168.5.2: icmp_seq=1 ttl=64 time=136.633 ms 12:44:29.653840 IP 192.168.5.2 > 192.168.5.1: ICMP echo reply, id 51430, seq 1, length 64 12:44:30.518229 IP 192.168.5.1 > 192.168.5.2: ICMP echo request, id 51430, seq 2, length 64 4 packets captured 4 packets received by filter 0 packets dropped by kernel ptf-gw# 64 bytes from 192.168.5.2: icmp_seq=3 ttl=64 time=132.728 ms --- 192.168.5.2 ping statistics --- 4 packets transmitted, 3 packets received, 25.0% packet loss round-trip min/avg/max/stddev = 131.373/133.578/136.633/2.230 ms [1] Done ping -c 4 192.168.5.2