ndd -set /dev/arp arp_cleanup_interval 30000

ndd -set /dev/arp arp_cleanup_interval 30000

Post by Jeff » Sat, 25 Oct 1997 04:00:00



I am using Solaris 2.4 to test a controller board. All boards boot with the
same IP address (128.0.0.2), but each has a unique IEEE address. When a new
board is inserted into the system, I can't ping it, because the arp cache
still points to the IEEE address of the last board.  I can issue the
command arp -d 128.0.0.2. which wipes out the old entry in the arp cache,
and forces the cache to be refreshed. I would like to set the
arp_cleanup_interval to a lesser time than the default 5 minutes. I tried
the command:
ndd -set /dev/arp arp_cleanup_interval 30000
and
ndd /dev/arp arp_cleanup_interval
shows that it has been set to 30,000 (the default is 300,000)

Shouldn't the arp cache entries expire after 30 seconds?

also
ndd /dev/arp arp_cache_report
 doesn't seem to show the same results as
arp -a

Is there a way to clear the arp cache automaticially? Are there bugs in the
Solaris arp program?

--
The opinions expressed above are not those of Motorola.