Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Feb 2004 11:18:51 +0200
From:      Maxim Sobolev <sobomax@portaone.com>
To:        tomasv@megalogika.lt
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: 5.2.1-RC if_gre problems
Message-ID:  <4020B8FB.80203@portaone.com>
In-Reply-To: <20040204084717.GB72285@megalogika.lt>
References:  <20040204084717.GB72285@megalogika.lt>

next in thread | previous in thread | raw e-mail | index | archive | help
I've committed a fix several days ago, please try to upgrade to current 
and see if it helps.

-Maxim

Tomas Verbaitis wrote:

> ahoj!
> 
> i had 5-CURRENT as of Dec 10, and if_gre tunnel to some unknown Cisco
> router was running ok. then i upgraded to 5.2-RELEASE and the tunnel
> went down. 5.2.1-RC is no better as well (perhaps, because of the same
> 1.14 revision of sys/net/if_gre.c). the only symptom making sense to me
> is that tcpdump shows mostly some weird fragments and shows a 'proper'
> packet going out only rarely (right after an ifconfig gre0):
> 
> 00:19:43.595205 0:c:f1:8a:e1:f1 0:a0:c9:92:cd:4c ip 98: margo > om-vlvpn0: gre margo-omni-smsc > omni-margo-tun: icmp: echo request [ttl 1] (id 33753, len 60) (ttl 30, id 4101, len 84)
> 00:19:43.599861 0:a0:c9:92:cd:4c 0:c:f1:8a:e1:f1 ip 98: om-vlvpn0 > margo: gre omni-margo-tun > margo-omni-smsc: icmp: echo reply (ttl 255, id 33753, len 60) (ttl 252, id 46495, len 84)
> 00:19:43.600197 0:c:f1:8a:e1:f1 0:a0:c9:92:cd:4c ip 98: margo > om-vlvpn0: gre (frag 4105:64@56192) (ttl 30, len 84)
> 00:19:48.607214 0:c:f1:8a:e1:f1 0:a0:c9:92:cd:4c ip 98: margo > om-vlvpn0: gre (frag 4129:64@64) (ttl 30, len 84)
> 
> help?.. :)
> 
> ifconfig:
> gre0: flags=b051<UP,POINTOPOINT,RUNNING,LINK0,LINK1,MULTICAST> mtu 1476
>         tunnel inet 213.226.139.60 --> 195.22.176.207
>         inet 193.110.9.78 --> 193.110.9.77 netmask 0xffffff00 
> 
> routing table:
> omni-margo-tun     gre0               UHS         0        0   gre0
> margo-omni-tun     localhost          UGHS        0        0    lo0
> 
> 
> omni-margo-tun is the other end of the tunnel
> margo-omni-tun is the local end of the tunnel
> 
> gre0 creation:
> /sbin/ifconfig gre0 create
> /sbin/ifconfig gre0 margo-omni-tun omni-margo-tun link0 up 
> /sbin/ifconfig gre0 tunnel margo om-vlvpn0
> 
> /sbin/route add -host margo-omni-tun localhost
> /sbin/route add -host omni-margo-tun margo-omni-tun
> 
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4020B8FB.80203>