When a Mac comes out of sleep, it can take time for it to bring up the network interfaces, and hence you may not actually have a route to your target network. Regardless, the best way forward is to retry, which is what you’re already doing. Oh, and the reason the API matters is...
I tried to: sudo route add -host 100.120.74.110 -interface utun4 But doesn't seem to work: $ ping taildoc.go4.org PING taildoc.go4.org (100.120.74.110): 56 data bytes ping: sendto: Device not configured ping: sendto: Device not configured Request timeout for icmp_seq 0 ping: se...
ping: sendto: No route to host ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down 如果你的本地连接是有问题的,那么你将会收到”No route to host“这样的消息,这种状态下你就需要确认你的适配器已启用,或者重新把茶以太电缆(网线)...