Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Feb 2004 00:29:11 +0200
From:      Tomas Verbaitis <tomasv@megalogika.lt>
To:        freebsd-current@freebsd.org
Subject:   5.2.1-RC if_gre problems
Message-ID:  <20040203222911.GA72285@megalogika.lt>

next in thread | raw e-mail | index | archive | help
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


-- 
Tomas "Verbaitis" Verbaitis ** http://megalogika.lt
* šita gudri beždžionė moka dirbti su kompiuteriu *



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