Every so often my MacBook Pro starts getting very intermittent network connectivity. I have a Virgin Media SuperHub.
Pinging my router gives me lots of request timeouts:
64 bytes from 192.168.0.1: icmp_seq=2438 ttl=64 time=2.000 ms 64 bytes from 192.168.0.1: icmp_seq=2439 ttl=64 time=33.810 ms Request timeout for icmp_seq 67976 Request timeout for icmp_seq 67977 Request timeout for icmp_seq 67978 Request timeout for icmp_seq 67979 64 bytes from 192.168.0.1: icmp_seq=2444 ttl=64 time=1.568 ms 64 bytes from 192.168.0.1: icmp_seq=2445 ttl=64 time=1.633 ms
Sometimes the timeouts last only a few pings sometimes many.
Through experimentation I've found that flushing the arp cache using
sudo arp -a -d
Immediately max ping start working but then after a bit the timeouts come back. I've confirmed this by doing:
sudo watch -n 1 arp -a -d
And the ping timeouts disappear and I can browse without any slowness as long as I leave that running.
Rebooting the computer also clears this problem for a while but it comes back.
I need a permanent fix for this.