Some gre troubles
Виталий Фадеев
fvl at mail.ru
Fri Feb 22 06:48:50 UTC 2008
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<UP,POINTOPOINT,RUNNING,LINK0,LINK1,MULTICAST> 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<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> 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<UP,POINTOPOINT,RUNNING,LINK0,LINK1,MULTICAST> 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
More information about the freebsd-net
mailing list