Michael Hunter wrote:

On Thu, 25 May 2006 23:48:19 -0700
Darren Reed <[EMAIL PROTECTED]> wrote:


I was actually expecting the interface index to be tied in
(somehow) with the IPv6 scope identifier but I couldn't
easily find anything in Solaris to join those two concepts,
so I put that idea aside.  But I'm not in the least bit
surprised to see it show up here.

Via if_nametoindex() in getaddrinfo()/getnameinfo().  See get_addr() and
getscopeidfromzone().

The idea is that for link local (only unique to a link) addresses that
on machines with multiple links you probably needed to specify which
link to use when you were not using a global address.  So for example
'ssh ff02::1%13" would specify that you wanted to get to the host with
address ff02::1 on link 13 (aggr228002 on jurassic).  The onepager for
this called it "Multiple-Link Support Enhancement for
getnameinfo/getaddrinfo()" (PSARC 2004/720) and was integrated in s10
build 56 by Jason Goldschmidt.

I understand the need for the scope in IPv6, but is there any
need (or requirement) to actually change it during the lifetime
of a system?

SIOCSLIFINDEX appears to have been brought in with IPv6
bits and whilst it can generally be considered toxic, it would
be good to understand if there is actually a need for its
use outside of IPMP.

Darren

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to