(usagi-users 03814) Re: Tunneling problems

Masahide NAKAMURA <[email protected]> Wed, 21 Feb 2007 15:01:20 +0900
Newsgroups gmane.linux.ipv6.usagi.users
Message-ID <[email protected]>
Hello,

Your patch breaks MIPL2 about RFC specification.
We need the route entry by HA to support sending ICMP error/MH packet below:
 o destination address is a home-registered HoA
 o source address is HA
 o to home link

For the detail, see TAHI Project conformance test to understand it easier.
The items are e.g. HA_1_1_[567] and HA_3_3_X on the below web site:
http://cert.v6pc.jp/mipv6/doc-3.3/mipv6-ha-4.0.4/index.html


Thanks,


> Hi again,
> 
> below is a patch that fixes obsolete route in HA to MN which is in
> foreign network. After this fix, the packets from HA are correctly
> routed to MN. This partly solves the problems that I have had in my
> setup.
> One weird thing is that I cannot ping HA from MN when in foreign net.
> The ping goes to tunnel and to HA but HA does send any reply.
> 
> Regards, Jukka
> 
> 
> 
> Index: mipv6-daemon/src/ha.c
> ===================================================================
> --- mipv6-daemon.orig/src/ha.c  2007-02-20 13:25:39.000000000 +0200
> +++ mipv6-daemon/src/ha.c       2007-02-20 13:25:46.000000000 +0200
> @@ -795,14 +795,6 @@
>                 }
>                 bce->cleanup = home_cleanup;
> 
> -               if (route_add(bce->link, RT6_TABLE_MIP6,
> -                             RTPROT_MIP, 0, IP6_RT_PRIO_MIP6_OUT,
> -                             &bce->our_addr, 128, &bce->peer_addr, 128,
> -                             NULL) < 0) {
> -                       status = IP6_MH_BAS_INSUFFICIENT;
> -                       goto send_nack;
> -               }
> -
>                 if (proxy_nd_start(bce->link, out.dst, out.src,
>                                    bu_flags) < 0) {
>                         status = IP6_MH_BAS_INSUFFICIENT;
> 
> 
> 

-- 
Masahide NAKAMURA