(usagi-users 03377) How to avoid automatic route creation?
Ignacy Gawedzki <[email protected]>
| Newsgroups | gmane.linux.ipv6.usagi.users |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm working on a routing daemon for ad hoc networks which performs routing table management by itself. Unfortunately the kernel seems to interfere with the daemon at times and routing becomes a mess. When some traffic goes to a 1-hop neighbor (i.e. a host that has a direct route without any gateway), the kernel adds an additional route (visible using route -A inet6 but not ip -6 route) for that destination with the destination itself as the gateway. If the route changes from direct to indirect (the destination is farther away and now we want another node to relay the paquets), it seems that the old additional route is preferred, which is clearly not wanted. Does anybody have any idea how such automatic addition could be prevented? Another point: is there a way to prevent routers from sending redirects (I actually use accept_redirect = 0 which make nodes ignore them, but they are still generated). Thanks. -- ouaou! fait le ouaou.