netdev
[Top] [All Lists]

Re: IPv6 implementation...

To: Fabrizio Morbini <fabrizio.morbini@xxxxxxxxxx>
Subject: Re: IPv6 implementation...
From: Yuji Sekiya <sekiya@xxxxxxxxxxxxxx>
Date: Sat, 23 Feb 2002 02:07:07 +0900
Cc: netdev@xxxxxxxxxxx
In-reply-to: <3C75FD1B.AC1999B5@assyrus.it>
Organization: Keio University
References: <3C75FD1B.AC1999B5@assyrus.it>
Sender: owner-netdev@xxxxxxxxxxx
User-agent: Wanderlust/2.8.1 (Something) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (Unebigoryōmae) APEL/10.3 Emacs/20.7 (i386-debian-linux-gnu) MULE/4.1 (AOI)
At Fri, 22 Feb 2002 09:11:07 +0100,
Fabrizio Morbini <fabrizio.morbini@xxxxxxxxxx> wrote:

Hello, 

> The strange behaviour is:
> [IPv6 icmp6 packet] ->from the client to the gateway-> the gateway open
> the packet see the destination address: 2001:750:2:0:202:a5ff:fefb:49ec
> see it's routing table and then respond to the client:
> From 3ffe:b80:8a9:1::1: Destination unreachable: Address unreachable
> (3ffe:b80:8a9:1::1 is the gateway)
> But if the packet is generated by the gateway (change only the source
> address): the kernel add the necessary routing line into the
> routing table and all runs fine. Why the kernel doesn't add this line
> also when the source address of the packet isn't one of it's
> network interfaces?

It is a specification of Linux kernel.
If you would like to change the behavior,
please try to use USAGI kernel, you can get it from
http://www.linux-ipv6.org/.

Enabling CONFIG_IPV6_EN_DFLT, your linux router can
forward packets to the nexthop of default route.

I made the change before, but it didn't work correctly.
Then I have impremented the change again and I have got correct
behavior. Please try our patch and report the result.

Thanks.

-- Yuji Sekiya



<Prev in Thread] Current Thread [Next in Thread>