From: Jon G. <jg...@us...> - 2003-04-15 18:49:30
|
Ah.. I think I see what the problem is. The rt6->rt6i_dst.addr returned from ipv6 is filled in with the routing entry, not the destination address (as it is with the ipv4 layer). When you are on the same LAN its coming back with the destination address, so it works. In the failing case, the address is for the destination network, so we put a bogus address (::0 in your case, 2000:: in mine) on the wire. I'll try to get a patch out by this evening for you to try out. -jon Jon Grimm wrote: > I'll play with this a bit this afternoon to see what I can see. Its > easy enough to dummy up a fake route for your scenario to see the INIT > generated. My first try showed a dst addr of 2000::, ethereal, but > that wasn't the address I'd intended sending too. Something seems > wrong. I need to reboot with more debugging enabled to see what can be > seen. > > BR, > jon > > > Pawel Hadam wrote: > >> Hi all >> >> I have 2 hosts in different LANs: >> >> 2001:688:1fa1:2:204:76ff:feef:931f chypre-vthd-ipv6 >> 2001:688:1f99:50:202:b3ff:feb2:ec9c atree-vthd-ipv6 >> >> As you may see below ping6 and traceroute6 works fine in both >> directions, so the connection is OK. >> >> But when I start my server on ATREE and client on CHYPRE, the packet >> from chypre are not well-formed. Here below you may see the begining >> of the connection. The first packet (INIT) from client has :: as a >> destination address. While running these both programs on the same LAN >> they work fine, and the destination is set to the given server address. >> >> >> >> [root@chypre ~]# tcpdump ip6 -i eth1 >> tcpdump: listening on eth1 >> >> 16:11:49.172100 chypre-vthd-ipv6 > ::: ip-proto-132 64 >> 16:11:49.174536 3ffe:302:11:1::7 > chypre-vthd-ipv6: [|icmp6] >> >> >> When I run my server on CHYPRE and the client on ATREE it looks >> similarily: >> >> [root@atree root]# tcpdump ip6 >> tcpdump: listening on eth0 >> 16:25:59.205953 atree-vthd-ipv6 > ::: ip-proto-132 64 >> 16:26:02.358028 atree-vthd-ipv6 > ::: ip-proto-132 64 >> >> >> Both machines run 2.5.65 with lksctp-tools-2_5_65-0_6_8. >> >> It seems to be a problem with setting up the destination address while >> not on the same LAN. As far as I investigated. >> Could you help me what to do? >> >> With best regards >> Pawel >> >> >> >> PS. ping6 & traceroute6: >> >> [root@chypre ~]# ping6 atree-vthd-ipv6 >> PING atree-vthd-ipv6(atree-vthd-ipv6) 56 data bytes >> 64 bytes from atree-vthd-ipv6: icmp_seq=1 ttl=57 time=20.0 ms >> 64 bytes from atree-vthd-ipv6: icmp_seq=2 ttl=57 time=20.0 ms >> 64 bytes from atree-vthd-ipv6: icmp_seq=3 ttl=57 time=20.0 ms >> >> [root@atree srv6]# ping6 chypre-vthd-ipv6 >> PING chypre-vthd-ipv6(chypre-vthd-ipv6) 56 data bytes >> 64 bytes from chypre-vthd-ipv6: icmp_seq=1 ttl=57 time=16.3 ms >> 64 bytes from chypre-vthd-ipv6: icmp_seq=2 ttl=57 time=16.2 ms >> 64 bytes from chypre-vthd-ipv6: icmp_seq=3 ttl=57 time=16.2 ms >> >> [root@chypre ~]# traceroute6 atree-vthd-ipv6 >> traceroute to atree-vthd-ipv6 (2001:688:1f99:50:202:b3ff:feb2:ec9c) >> from 2001:68 >> 8:1fa1:2:204:76ff:feef:931f, 30 hops max, 16 byte packets >> 1 2001:688:1fa1:2::fe (2001:688:1fa1:2::fe) 0.391 ms 0.344 ms >> 0.313 ms >> 2 ncgre001.vthd.prd.fr (2001:688:1f80:8002::1) 0.258 ms * 0.293 ms >> 3 2001:688:1f80:8001::2 (2001:688:1f80:8001::2) 1.763 ms * 2.115 ms >> 4 ncstl001.vthd.prd.fr (2001:688:1f80:8010::2) 10.624 ms 10.584 >> ms 10.7 ms >> 5 ncstl001.vthd.prd.fr (2001:688:1f80:4001::2) 10.713 ms 10.616 >> ms 10.628 m >> s >> 6 ncren001.vthd.prd.fr (2001:688:1f80:6002::2) 16.166 ms 16.189 >> ms 16.125 m >> s >> 7 2001:688:1f80:6012::2 (2001:688:1f80:6012::2) 16.339 ms 16.354 >> ms 16.3 ms >> 8 atree-vthd-ipv6 (2001:688:1f99:50:202:b3ff:feb2:ec9c) 16.167 ms >> 16.116 ms >> 16.144 ms >> >> [root@atree srv6]# traceroute6 chypre-vthd-ipv6 >> traceroute to chypre-vthd-ipv6 (2001:688:1fa1:2:204:76ff:feef:931f) >> from 2001:68 >> 8:1f99:50:202:b3ff:feb2:ec9c, 30 hops max, 16 byte packets >> 1 2001:688:1f99:50:290:6900:32c4:243e >> (2001:688:1f99:50:290:6900:32c4:243e) 1 >> .019 ms 0.563 ms 0.394 ms >> 2 ncren001.vthd.prd.fr (2001:688:1f80:6012::1) 0.909 ms 0.439 ms >> 0.465 ms >> 3 ncstl001.vthd.prd.fr (2001:688:1f80:6002::1) 6.45 ms 6.144 ms >> 6.051 ms >> 4 2001:688:1f80:4001::1 (2001:688:1f80:4001::1) 6.517 ms 6.122 ms >> 6.182 ms >> 5 2001:688:1f80:a001::1 (2001:688:1f80:a001::1) 16.728 ms 16.274 >> ms 16.553 >> ms >> 6 2001:688:1f80:8001::1 (2001:688:1f80:8001::1) 16.649 ms * 16.426 ms >> 7 nclyo001.vthd.prd.fr (2001:688:1f80:8002::2) 16.965 ms 16.371 >> ms 16.329 m >> s >> 8 chypre-vthd-ipv6 (2001:688:1fa1:2:204:76ff:feef:931f) 16.141 ms >> 16.392 ms >> 16.141 ms >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Lksctp-developers mailing list >> Lks...@li... >> https://lists.sourceforge.net/lists/listinfo/lksctp-developers >> > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Lksctp-developers mailing list > Lks...@li... > https://lists.sourceforge.net/lists/listinfo/lksctp-developers > |