Operating System - HP-UX
1834346 Members
2129 Online
110066 Solutions
New Discussion

difference between arp -a & ndd -get /dev/arp arp_cache_report

 
Sven Bergmann
Frequent Advisor

difference between arp -a & ndd -get /dev/arp arp_cache_report

hi,

both commands have different output (with some identical entries). but basically the ndd-command has more output as arp -a.

it seems that for a complete "cache overview" i must use both commands.

whats the difference between these two commands?
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: difference between arp -a & ndd -get /dev/arp arp_cache_report

Shalom Sven,

Run them both, compare the output.

Two different utilities, ndd being HP-UX specific, arp working across platforms.

Both are known to be reliable, but they were designed and implemented by different people for different purposes.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sven Bergmann
Frequent Advisor

Re: difference between arp -a & ndd -get /dev/arp arp_cache_report

yes i know...in the past i always use both commands for a better overview.

but it interests me why both apps have different results. are there different places in hp-ux for arp cache information? use these two apps different parameters to catch the information?
mvpel
Trusted Contributor

Re: difference between arp -a & ndd -get /dev/arp arp_cache_report

Is there any pattern you can discern to the difference between the output? Perhaps the arp command filters out certain kinds of entries such as expired or otherwise invalid ones.