LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-13-2015, 06:13 AM   #1
sagar538
LQ Newbie
 
Registered: Sep 2015
Posts: 1

Rep: Reputation: Disabled
where can find my arp table in my pc?


please help me. i want see my arp table in my pc..i want to know where is my arp table is saved.
 
Old 09-13-2015, 08:29 AM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Yo!
issue this...
Code:
arp -a
in the console...and you're set
Thor
Edit - if you want to save this for prosperity, issue this:
Code:
arp -a > current_arp_list.txt

Last edited by ButterflyMelissa; 09-13-2015 at 08:31 AM. Reason: more info
 
Old 09-14-2015, 05:01 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Hello and welcome to LQ.

I took a different meaning on this question so I went to find the answer. Not sure I do know where arp stores the data exactly. Normally it is called arp cache but that seems to include both static and dynamic. Since arp is so old, I'd guess some whacky location for the cache is inside the program and not an externally searchable location. But that is just my guess.

Of course some extra idea's to look at and view it. http://askubuntu.com/questions/40679...cal-network-la

Last edited by jefro; 09-14-2015 at 05:04 PM.
 
Old 09-14-2015, 05:14 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
As far as I know the arp cache is /proc/net/arp
 
2 members found this post helpful.
Old 09-15-2015, 02:40 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Thanks michaelk. I couldn't find that. It lead me to this statement so it is as I suspected, a built in process.


"This holds an ASCII readable dump of the kernel ARP table used for address resolutions. It will show both dynamically learned and preprogrammed ARP entries. The format is: "

http://linux.die.net/man/5/proc

Much more info on that link too.

Last edited by jefro; 09-15-2015 at 02:43 PM.
 
Old 09-15-2015, 02:43 PM   #6
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Thanks for that, michaelk, I never knew I wanted to know that, but I did.
 
  


Reply



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
ARP table or routing table consulted first? YaMaHaBoB Linux - Networking 4 07-15-2011 04:56 PM
ARP table ddomiray Linux - Software 3 10-26-2009 01:52 PM
ARP table 98steve600 Linux - General 1 03-28-2005 03:25 AM
Outputting the ARP table spud Programming 2 03-09-2005 09:38 AM
How to create an proxyarp entry in arp table by using arp command? himalayas Linux - Networking 0 06-04-2003 04:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12: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
Open Source Consulting | Domain Registration