netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Murali Karicheri <m-karicheri2@ti.com>
To: <netdev@vger.kernel.org>
Subject: Question on arping not updating the arp table in v3.10.61
Date: Wed, 21 Jan 2015 18:30:44 -0500	[thread overview]
Message-ID: <54C036A4.7000204@ti.com> (raw)

Hi,

I am facing an issue on my board that is using v3.10.61 Linux kernel. 
The arping -c 3 -f <IP address> doesn't update the arp table even though 
I get a proper response

root@keystone-evm:~# arping -b -c 3 -I eth0 -f 158.218.104.3
ARPING to 158.218.104.3 from 158.218.104.192 via eth0
Unicast reply from 158.218.104.3 [0:12:1:f7:d6:ff] 0.751ms
Sent 1 probe(s) (1 broadcast(s))
Received 1 replies (0 request(s), 0 broadcast(s))

root@keystone-evm:~# arp -n -a
? (158.218.104.1) at 00:00:0c:07:ac:68 [ether]  on eth0
? (158.218.104.233) at d4:be:d9:3d:b6:c1 [ether]  on eth0

But by enabling following sysfs entry, it works.

  echo 1 > /proc/sys/net/ipv4/conf/eth0/arp_accept

Is this the expected behavior? On my ubuntu Linux pc with v3.2 running I 
don't have to do this and it always update the arp table.

Thanks for your help.

-- 
Murali Karicheri
Linux Kernel, Texas Instruments

                 reply	other threads:[~2015-01-21 23:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54C036A4.7000204@ti.com \
    --to=m-karicheri2@ti.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).