netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to make stack send broadcast ARP request when entry is STALE?
@ 2014-11-05  6:48 Ulf samuelsson
  2014-11-06 11:48 ` Sowmini Varadhan
  2014-11-07  9:54 ` Brian Haley
  0 siblings, 2 replies; 9+ messages in thread
From: Ulf samuelsson @ 2014-11-05  6:48 UTC (permalink / raw)
  To: Netdev

Have a problem with an HP router at a certain location, which
is configured to only answer to broadcast ARP requests.
That cannot be changed.

The first ARP request the kernel sends out, is a broadcast request,
which is fine, but after the reply, the kernel sends unicast requests,
which will not get any replies.

The ARP entry will after some time enter STALE state,
and if nothing is done it will time out, and be removed.
This process takes to long, and I have been told that it is
difficult to makes changes that will eventually remove it.

Have tried to change the state from STALE to INCOMPLETE, which failed,
and then tried to change the state to PROBE which also failed.

The stack is only sending out unicasts, and never broadcast.
Is there any way to get the stack to send out a broadcast ARP
without having to wait for the entry to be removed?

I think the recommended behaviour in IPv6 is to send out 3 unicasts
and if all fails, to send out broadcasts.

Anyone know any good literature on how the ARP + neigh state machine works
in the kernel.

I read in Herberts book about the Linux TCP/IP stack and it only discuss how to reply to 
ARP requests and not anything on how to generate ARP requests.

Best Regards
Ulf Samuelsson

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-11-12  8:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-05  6:48 How to make stack send broadcast ARP request when entry is STALE? Ulf samuelsson
2014-11-06 11:48 ` Sowmini Varadhan
2014-11-06 13:29   ` Ulf samuelsson
2014-11-07  9:54 ` Brian Haley
2014-11-07 10:11   ` Ulf samuelsson
2014-11-10 22:52     ` Brian Haley
2014-11-11 10:08       ` Ulf samuelsson
2014-11-11 16:36         ` Brian Haley
2014-11-12  8:46           ` Ulf samuelsson

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).