Which packets are dropped during ARP-resolution?

March 27th, 2012 - 08:54 am ET by dspfun | Report spam
Hi,

Lets say an application sends 100 packets to IP-address X. The Linux
ARP-table does not have the corresponding MAC-address and hence have
to find the MAC-address and sends out an ARP-request. During the MAC-
address resolution the Linux IP-stack drops packets towards IP-address
X.

The question is which packets are dropped and which are kept?

Lets say the application has sent 50 packets while the MAC-address is
unknown, and when it's time for the Linux kernel/IP-stack to send
packet number 51 the MAC-address is known.

What packets are dropped and what are sent? Are all 50 packets
dropped, and the first packet being sent is packet 51?

Or, is the first packet stored/saved by the Linux kernel, and sent
out, and then packet number 51 is sent (this is the behavior I would
like to have for my specific application).

Or is this configurable in the Linux kernel/IP-stack somehow?

Brs
email Follow the discussionReplies 8 repliesReplies Make a reply

Replies

#1 The Natural Philosopher
March 27th, 2012 - 12:58 pm ET | Report spam
dspfun wrote:
Hi,

Lets say an application sends 100 packets to IP-address X. The Linux
ARP-table does not have the corresponding MAC-address and hence have
to find the MAC-address and sends out an ARP-request. During the MAC-
address resolution the Linux IP-stack drops packets towards IP-address
X.



why would it do that?





To people who know nothing, anything is possible.
To people who know too much, it is a sad fact
that they know how little is really possible -
and how hard it is to achieve it.

Similar topics