(usagi-users 03812) Re: Tunneling problems
"Jukka Rissanen" <[email protected]> Tue, 20 Feb 2007 13:33:55 +0200
| Newsgroups | gmane.linux.ipv6.usagi.users |
|---|---|
| Message-ID | <[email protected]> |
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;