Re: Connecting to remote IPv6 addresses from Linux machine requires local scope id

2006-07-25 Thread Daniel Wong
On 7/24/06, Vlad Yasevich <[EMAIL PROTECTED]> wrote:
On Mon, 2006-07-24 at 18:36 +0530, Dhiren Chandvania wrote:> Issues that I have: I]>> All outbound traffic from a Linux machine needs scope id. Why?Because linux does not implement the concept of "default interface".  If
you only have link-local addresses (the ones that start with fe80:) thenyou always have to specify a scope id.  If you configure addresses withlarger scope, you will _not_ need to always use scope id.
You always have to specify a scope id when you are using a link-local address, because the SAME link-local address might be used by different machines in different links (e.g., you are connected to multiple links - you might find that one machine in each of those links is using that link-local address). This ambiguity thus is resolved when you specify which interface you want to send your message to.
Now, a question I have: for site local addresses, windows machines know which interfaces to forward the packets to, based on matching the "site ID" (it forwards packets out on all interfaces for which the "site ID" is the same as that on the incoming interface). For linux, how does it solve the same problem, 
i.e., knowing which interfaces are considered to be still within the same site, and which are not?  thanks-- Dr. Daniel WongAssistant ProfessorMalaysia University of Science and Technology
** check out my book on wireless IP at http://www.must.edu.my/~dwong/book.html **


RE: Connecting to remote IPv6 addresses from Linux machinerequires local scope id

2006-07-25 Thread Vlad Yasevich
On Tue, 2006-07-25 at 17:47 +0530, Dhiren Chandvania wrote:
> Hi Vlad,
> Thanks a lot. Can you please let me know which version of kernel has
> this fix? Am using 2.6.9-22.EL #1 SMP.

Ahhh.  RHEL 4 ;)

Try any Fedora kernel.  Not sure the exact version it was fixed in,
but anything 2.6.15+ should have the fix.

-vlad

> 
> Regards
> Dhiren
> -Original Message-
> From: Vlad Yasevich [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, July 25, 2006 1:28 AM
> To: Dhiren Chandvania
> Cc: users@ipv6.org
> Subject: Re: Connecting to remote IPv6 addresses from Linux
> machinerequires local scope id
> 
> On Mon, 2006-07-24 at 18:36 +0530, Dhiren Chandvania wrote:
> 
> > Issues that I have: 
> > 
> >  
> > 
> > I]
> > 
> > All outbound traffic from a Linux machine needs scope id. Why? 
> 
> Because linux does not implement the concept of "default interface".  If
> you only have link-local addresses (the ones that start with fe80:) then
> you always have to specify a scope id.  If you configure addresses with
> larger scope, you will _not_ need to always use scope id.
> 
> > [II]
> > 
> > Linux-Linux communication on IPv6 does not work even on specifying the
> > scope
> > 
> > id. This is messy and shouldn't it work ? Please provide your
> > comments.
> 
> This is an old bug and has been fixed.  You need to update your kernel.
> The problem is with source address selection picking loopback interface,
> and then the scope id ends up mismatched.
> 
> -vlad
> 

-
The IPv6 Users Mailing List
Unsubscribe by sending "unsubscribe users" to [EMAIL PROTECTED]


RE: Connecting to remote IPv6 addresses from Linux machinerequires local scope id

2006-07-25 Thread Dhiren Chandvania
Hi Vlad,
Thanks a lot. Can you please let me know which version of kernel has
this fix? Am using 2.6.9-22.EL #1 SMP.

Regards
Dhiren
-Original Message-
From: Vlad Yasevich [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 25, 2006 1:28 AM
To: Dhiren Chandvania
Cc: users@ipv6.org
Subject: Re: Connecting to remote IPv6 addresses from Linux
machinerequires local scope id

On Mon, 2006-07-24 at 18:36 +0530, Dhiren Chandvania wrote:

> Issues that I have: 
> 
>  
> 
> I]
> 
> All outbound traffic from a Linux machine needs scope id. Why? 

Because linux does not implement the concept of "default interface".  If
you only have link-local addresses (the ones that start with fe80:) then
you always have to specify a scope id.  If you configure addresses with
larger scope, you will _not_ need to always use scope id.

> [II]
> 
> Linux-Linux communication on IPv6 does not work even on specifying the
> scope
> 
> id. This is messy and shouldn't it work ? Please provide your
> comments.

This is an old bug and has been fixed.  You need to update your kernel.
The problem is with source address selection picking loopback interface,
and then the scope id ends up mismatched.

-vlad


-
The IPv6 Users Mailing List
Unsubscribe by sending "unsubscribe users" to [EMAIL PROTECTED]