LinuxQuestions.org
Visit Jeremy's Blog.
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 10-27-2013, 11:36 AM   #1
psycroptic
Member
 
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 349

Rep: Reputation: Disabled
setting gc_stale_time does not decrease ARP requests


in trying to reduce the frequency of ARPs sent from my router to modem, I would think setting gc_stale_time on the interface to a higher number would do it - 600 in this case for 10 mins. But I still have ARPs sent a few times every minute:

Code:
11:24:12.509865 ARP, Request who-has y.y.y.y tell x.x.x.x, length 28
11:24:12.510246 ARP, Reply y.y.y.y is-at b8:9b:c9:d9:a8:4a, length 46
11:24:54.456558 ARP, Request who-has y.y.y.y tell x.x.x.x, length 28
11:24:54.456919 ARP, Reply y.y.y.y is-at b8:9b:c9:d9:a8:4a, length 46
11:25:35.563199 ARP, Request who-has y.y.y.y tell x.x.x.x, length 28
11:25:35.563559 ARP, Reply y.y.y.y is-at b8:9b:c9:d9:a8:4a, length 46
11:26:15.229867 ARP, Request who-has y.y.y.y tell x.x.x.x, length 28
11:26:15.230238 ARP, Reply y.y.y.y is-at b8:9b:c9:d9:a8:4a, length 46
11:26:55.096522 ARP, Request who-has y.y.y.y tell x.x.x.x, length 28
11:26:55.096885 ARP, Reply y.y.y.y is-at b8:9b:c9:d9:a8:4a, length 46
is there some other reason for these requests to be sent?
 
Old 10-29-2013, 02:23 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,854

Rep: Reputation: 161Reputation: 161
It is complex to control ARP request interval. You can try change gc_stale_time and gc_interval under neigh and route directory.
 
Old 10-30-2013, 12:47 PM   #3
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
Whats the point? Is it causing a problem?
 
Old 10-30-2013, 09:22 PM   #4
psycroptic
Member
 
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 349

Original Poster
Rep: Reputation: Disabled
just trying to minimize unnecessary network traffic.

it actually did work after some time, although the cable modem it was connected to eventually lost access, after which changing it back to the default resumed normal operation. it's not a big deal.
 
Old 11-03-2013, 11:46 AM   #5
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
I've not seen an issue with normal ARP operation since we left the era of huge flat bridged networks behind (and good riddance!).
My rule of thumb, painfully learned over 25 years is, if it ain't broke don't fix it :-)

I KNOW, I think its Heinlein who talked about how people only ever learn the hard way......thats me...
 
Old 11-03-2013, 11:52 AM   #6
psycroptic
Member
 
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 349

Original Poster
Rep: Reputation: Disabled
me as well but thats the best way to learn.

actually somewhat interestingly, one time i set up a packet counter at my parents house (residential cable modem) on the linux router there, filtering for ARP packets, and left it running for ~2 weeks. the amount of data used by ARP traffic alone was >11GB! literally 50-100 arps a second.
 
Old 11-04-2013, 03:21 AM   #7
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
Ouch, that's NOT normal!
 
Old 11-04-2013, 05:59 PM   #8
psycroptic
Member
 
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 349

Original Poster
Rep: Reputation: Disabled
yeah, nearly all of them are "tell x.x.x.1", i'm assuming coming from comcast's routers. to top it all off, that 11GB most definitely counts towards the bandwidth cap, even though it's completely un-initiated from the user.
 
  


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
Strange ARP behavior : A linux server responds to all ARP requests Hdvd21 Linux - Networking 4 10-24-2013 05:02 AM
continuous ARP requests openmind Linux - Security 7 03-11-2010 04:55 AM
Can arp requests cause latency issues? mohtasham1983 Linux - Networking 3 10-14-2009 08:18 PM
How to create loop for arp requests jasonfrost Programming 1 09-11-2007 02:39 PM
a lot of ARP requests- why? zivota Linux - Networking 5 09-26-2005 08:06 AM

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

All times are GMT -5. The time now is 02:54 AM.

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