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
|