Mavericks network issue
Since I upgraded my MBA late 2010 from 10.6 to Mavericks, random network "unreachable" happens now and then. When the "unreachable" happens, the WIFI keeps connected, but applications can't connect to outside (there are exceptions, see below). The only cure is turn WIFI off and on. The randomness is timing: you may use it w/o problem for hours, then you keeps encountering problem within minutes time frame after turning WIFI off and on.
At first, I think it is buggy WIFI driver or WIFI device incompatibility (though WIFI works without any problem before upgrade). I spent a lot of time to find the real reason, and now it seems that some OS mechanism kicks in when problem shows off.
I have MBA (192.168.0.100), a router box (192.168.0.254) and server box (192.168.0.250). Router box runs dns, ssh, nginx and acts as NAT gateway.
1. keep a 'ping 192.168.0.254' in MBA's terminal
2. keep ssh connection to 192.168.0.254 and 192.168.0.250 from MBA (maybe run 'top' or other program which output continuously)
I use firefox, chrome and safari to browse internet. When I see browser shows "looking up" or "connecting" but freezes there, one of the following is true:
1. ping shows "Request timeout for icmp_seq XXX"
2. ping shows "64 bytes from 192.168.0.254: icmp_seq=XXX ttl=64 time=??? ms"
Sometimes(i.e, not always), these are true:
1. both 'telnet 192.168.0.254 22' and 'telnet 192.168.0.250 22' can't connect
2. both ssh connections work fine: I can type and get feedback or watch 'top' running and refreshing in ssh session
3. I can log out both ssh connection and re-login without problem
4. dns queries freeze
5. 'ping 192.168.0.250' timeout
6. 'telnet 192.168.0.254 22', then run tcpdump on both MBA and router, I can see it's packets (syn packet) sent out in MBA's end but no packet received in router's end. The unusual thing is TCP retries never end
7. 'ping 192.168.0.100' from 192.168.0.254 works fine
PUT IT SIMPLE: when network is unreachable, sometimes existing tcp connections still work, and ping randomly works or not; no clues about why this happens.
And the firewall on MBA is always turned off.
After this OS upgrade, this MBA is very hard to use. I don't know OS X much, and usually this MBA is used by my wife and she just do some web surfing. I had to spend a lot of time to try to resolve this problem.
Any help is welcome. If any furthur information is needed, feel free to ask.
T.I.A
MacBook Air