Does FreeBSD do proactive ARP refresh?
Andrey V. Elsukov
bu7cher at yandex.ru
Fri Mar 16 12:47:19 UTC 2018
On 16.03.2018 14:47, sthaug at nethelp.no wrote:
>> And thank you for that suggestion! The packet loss during ARP refresh
>> (of the destination address connected to the output interface) does
>> *not* happen when the box is forwarding! It only happens with locally
>> generated traffic.
>
> Checking once per second with "arp -n <destination IP>" I can see the
> following behavior with net.link.ether.inet.max_age=120:
>
> - Locally generated traffic: The ARP entry is refreshed after
> net.link.ether.inet.max_age seconds - which presumably means it
> actually expires first. And there is some packet loss.
>
> - Transit traffic (the box is forwarding): The ARP entry is refreshed
> 5 seconds *before* net.link.ether.inet.max_age has passed, and there
> is no packet loss.
Can you test this patch? I did not tested it, but I think it should fix
this issue.
--
WBR, Andrey V. Elsukov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ethersubr.diff
Type: text/x-patch
Size: 658 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20180316/160ff4f9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20180316/160ff4f9/attachment.sig>
More information about the freebsd-net
mailing list