Erik Nordmark wrote: > On 02/17/10 01:42 AM, Vladimir Kotal wrote: >> >> While trying to reproduce a bug, I've failed to find how to easily get >> expiration info for entries in NDP table or delete a particular NCE. >> Being used to do that on *BSD with /usr/sbin/ndp all the time this >> surprises me. Surely there must be a way how to get there in Solaris. >> Any clues ? > > Are you asking when a Neighbor Cache Entry would expire, i.e., the same > question as when an ARP entry would expire based on a 1 minute or 20 > minute timer? > > Or are you asking when the IPv6 address prefixes would expire based on > what lifetimes the routers advertise? > > According to the RFCs there is no expiry time for the NCEs; they get > removed when NUD declared a destination unreachable, or otherwise when > the kernel wants to reclaim some memory.
For v6, those entries don't strictly "expire," but knowing how long a REACHABLE entry has left until it becomes STALE might be useful information, and is roughly analogous to the IPv4 20 minute timer. I think the bigger question here is why Solaris is missing BSD's /usr/sbin/ndp command, which does for Neighbor Discovery what /usr/sbin/arp does for ARP, and whether it should be added. -- James Carlson 42.703N 71.076W <[email protected]> _______________________________________________ networking-discuss mailing list [email protected]
