Quick reality check here. In thinking about how best to go about this redirection of frames to the default router, based on Dave M.s input, I think that the best solution would be in ndisc_send_ns. What I was thinking was that in ndisc_send_ns, we already detect if a source address is optimistic and squash the transmission of the frame there. What if in addition to that supression, we also immediately update the neighbor cache entry for the requested host, to reflect the mac address of the default gateway. That way any dst cache lookups for hosts we don't know the true link layer address for will get redirected to the default gateway. Then any ICMP redirect messages from the router will fix those entires up for us. Later, when DAD completes, normal neighbour garbage collection and/or timeouts will sort out the neighbor cache entries for us. Or alternatively we could flush the cache entirely, or scan the cache for entires that match the lladdr of the default gateway and do a selective purge. I'm going to start implementing this, but I wanted to post it here to make sure I'm not missing anything really big on this idea.
Thanks & Regards Neil - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html