Mavericks and Failed ARP causing network drops - solved

Mavericks and Failed ARP causing network drops - solved

Since I started at Bath on an OS X Mavericks machine, my SSH sessions were pausing for 4-6s every minute or so (randomly). Playing with Ping, I saw that correct packet routing was simply failing (averaging 7% packet loss for ping).

Much wailing and gnashing of teeth later, and I found a simple fix. OS X Mavericks Unicast ARP packets were failing - so turn them off with ‘sudo sysctl -w net.link.ether.inet.arp_unicast_lim=0’.

2014 update:

Some nice person has now written a little shell script which will automatically apply this patch + create an /etc/sysctl.conf file to rerun the fix at every boot (setting permissions correctly etc.).

https://raw.github.com/MacMiniVault/Mac-Scripts/master/unicastarp/unicastarp.sh

Avatar
Jarvist Moore Frost
Electronic structure theory