LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 06-10-2009, 04:52 AM   #1
sivareddy_jntu
LQ Newbie
 
Registered: Jun 2009
Posts: 6

Rep: Reputation: 0
When is ARP cache entry is changed from reachable to stale exactly???


hai all,
I want to know when ARP cache entry become STALE from reachable state.

In my system am using eth0 adapter and this interface settings are as follows.

base_reachabe_time=30
gc_stale_time=60
gc_first_probe_time=5
ucast_solicit=3
mcast_solicit=3

By having above settings i have observed the following.

Entry in ARP cache table becomes stale from reachable differently from time to time.
once it becomes for 60 sec,some other time it is 64 sec,some other time 50 sec and so on.

Why is it happening??

Any help would be appriciated highly.

Regards,
siva
 
Old 06-11-2009, 04:12 PM   #2
grepmasterd
Member
 
Registered: Aug 2003
Location: Seattle
Distribution: ubuntu, lately
Posts: 182
Blog Entries: 1

Rep: Reputation: 35
from 'man 7 arp':

Code:
base_reachable_time
    Once a neighbour has been found, the entry is considered to be valid
    for at least a random value between
    base_reachable_time "/2 and 3*" base_reachable_time /2.
    An entry's validity will be extended if it receives positive feedback
    from higher level protocols.
    Defaults to 30 seconds.

Last edited by grepmasterd; 06-11-2009 at 04:13 PM.
 
Old 06-13-2009, 01:23 AM   #3
sivareddy_jntu
LQ Newbie
 
Registered: Jun 2009
Posts: 6

Original Poster
Rep: Reputation: 0
hai,
First of all thanks for your replay.

As per man page the time taken by entry to change from reachable

to stale will be between 15 and 45 secs.But sometimes it takes more

than 60 secs. Moreover it is changing from time to time.

What is the reason for this behaviour??

Any help would be appreciated greatly.

Regards,
siva.
 
  


Reply

Tags
arp, cache, entry, from, stale


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
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
How to create an proxyarp entry in arp table by using arp command? himalayas Linux - Networking 0 06-04-2003 05:14 AM


All times are GMT -5. The time now is 07:59 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration