LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-07-2010, 12:28 PM   #1
ramkernel
LQ Newbie
 
Registered: Feb 2010
Posts: 15

Rep: Reputation: 0
arp cache not showing anything


when i type arp -n it shows nothing
if i type arp -v
it shows
skipped :0 found :0
I want to look at my ip and mac addresses in arp cache
if i change my ethernet ip address it is not reflected or stored in the cache.
Please help
 
Old 03-07-2010, 12:43 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
The arp cache remains valid for 30 seconds. You just need to
be quick after your network activities ;}

Ping your router/server/neighbour & then arp.

ping -c 3 -t 5 <router> && arp -v



Cheers,
Tink
 
Old 03-07-2010, 01:08 PM   #3
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
Your mac and ip aren't stored in arp cache, so you can't check them there. Use ip address show or ifconfig -a.
 
Old 03-08-2010, 12:14 PM   #4
ramkernel
LQ Newbie
 
Registered: Feb 2010
Posts: 15

Original Poster
Rep: Reputation: 0
But when i do a arp -n under cygwin in windows.It shows the IP address of the different hosts of the machine can someone explain this please?
 
Old 03-08-2010, 12:34 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,336

Rep: Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895
Quote:
Originally Posted by ramkernel View Post
But when i do a arp -n under cygwin in windows.It shows the IP address of the different hosts of the machine can someone explain this please?
Yes..you're using Windows, not Linux.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
slow arp cache refresh dorian33 Linux - Networking 2 12-02-2009 12:26 PM
arp cache problem gr8paki Linux - Networking 9 04-26-2007 03:25 PM
arp cache shrishailnk Linux - Networking 2 04-29-2006 02:07 AM
arp cache entry............. shrishailnk Linux - Networking 2 04-22-2006 03:44 PM
ARP cache refreshing time ivanatora Linux - Networking 0 04-27-2005 07:00 AM


All times are GMT -5. The time now is 08:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration