Re: unknown behaviour with ipv6
JINMEI Tatuya / 神明達哉 <[email protected]> Mon, 16 Oct 2006 16:50:24 +0900
| Newsgroups | gmane.ietf.ipv6,gmane.linux.ipv6.usagi.users |
|---|---|
| Organization | Research & Development Center, Toshiba Corp., Kawasaki, Japan. |
| Message-ID | <y7vac3wk8cf.wl%[email protected]> |
>>>>> On 11 Oct 2006 17:51:25 -0000, >>>>> "Amrit Soni" <[email protected]> said: > I'm doing testing of my ipv6 ported application on Fedora > Core4.0(kernel 2.6.11). I'm using two ipv6 enabled hosts connected > with a hub. And both of my hosts are having two addresses, > link-local and global addresses. > I assign global address explictly and then i run my application on > both the hosts. I bind all sockets with in6addr_any. When my first > host sends a packet to other host, it sends with the link-local > address. And the second host dicards that packet because it expects > the packet from global address. But after sometime around 5-10mins > later, the first host starts sending packets on global ip and > everything starts working. I don't understand this behavious. > I wanted to know why i'm getting this kind of behavious. Is it > beacuse it takes time to make the entry of global address somewhere. One possible scenario is that the global address was in the tentative state (see RFC2462) at the first invocation of the program. If so, the only usable address was the link-local one, and the kernel simply chose the only candidate. JINMEI, Tatuya Communication Platform Lab. Corporate R&D Center, Toshiba Corp. [email protected] p.s. this issue looks more like implementation specific, so I'd suggest dropping ipv6@ietf if we need to continue this discussion. -------------------------------------------------------------------- IETF IPv6 working group mailing list [email protected] Administrative Requests: https://www1.ietf.org/mailman/listinfo/ipv6 --------------------------------------------------------------------