I'm running CentOS Linux release 7.0.1406 on a VPS server.
Attempted to use the "arp" command and found it was missing. I tried as root as well to make sure the command wasn't in sbin. Then I googled and found this command is part of the old net-tools package which was deprecated (I assume that is why I don't have it). I found the ifconfig command missing too which is also in the deprecated net-tools.
So instead of installing the old net-tools I decided to try the new equivalent arp command and looking at this article that should be
ip n show.
Well that command returns nothing. I also tried
ip -s n and
ip -s n show all return nothing. I know my arp cache isn't empty because I've been pinging stuff left and right.
What am I doing wrong?
Update: So I installed net-tools and did an
arp -a and found it also returns nothing! Now I know its not a problem with the ip command. This is a VPS I'm running. Is it possible that is why the arp cache is reporting empty? I didn't include that info at first because I didn't think it would make a difference, but now I'm thinking some virtual networking voodoo might be at play.