Parav, On 5/27/10 8:08 AM, Parav Pandit wrote: > Hi Miakel, > > Thanks for your quick inputs. > > Just confirming, > > In that case how reliable is it to perform ping6 and use the > scope_id(=interface_id) during starting the TCP connection? So that > TCP connect() is done only once.
You will need the scope_id in order to use ping6. In order to send any packet to a link-local address, you will need the scope_id first. > > My understanding is, RFC 4443 of ICMPv6 mandates ECHO request and > response processing. so I believe it should be o.k to rely on ping6 > to get the right interface_id. See above. Regards, Brian > > Regards, Parav Pandit > > > --- On Thu, 5/27/10, Mikael Abrahamsson <swm...@swm.pp.se> wrote: > >> From: Mikael Abrahamsson <swm...@swm.pp.se> Subject: Re: which >> interface to choose to send to destination link-local address - any >> RFC? To: "Parav Pandit" <paravpan...@yahoo.com> Cc: "Mohacsi Janos" >> <moha...@niif.hu>, ipv6@ietf.org Date: Thursday, May 27, 2010, 5:06 >> PM On Thu, 27 May 2010, Parav Pandit wrote: >> >>> I don't know on which vlan the destination link-local >> address is. >> >> Well, you pretty much know that to send packets to it. A link-local >> address is not just an address, you need to provide what interface >> you're referring to. It's of local signifance only. >> >>> 1. As a user am I supposed to do ping6 on all of them >> one by one? >> >> That is one way. >> >>> 2. How does the TCP will work? Open #19 connections to >> the destination link-local address with different scope id?? >>> How does the application running on top of TCP stack >> know about the physical interfaces of the system? >> >> Basically this is not how you're supposed to use LL, that's why >> your questions doesn't really "compute". LL is address+interface, >> otherwise it's not complete. >> >> -- Mikael Abrahamsson email: swm...@swm.pp.se >> > > > > -------------------------------------------------------------------- > IETF IPv6 working group mailing list ipv6@ietf.org Administrative > Requests: https://www.ietf.org/mailman/listinfo/ipv6 > -------------------------------------------------------------------- -------------------------------------------------------------------- IETF IPv6 working group mailing list ipv6@ietf.org Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6 --------------------------------------------------------------------