Mac sometimes cannot ping local device

Viewed 21

I have multiple devices(mac, linux_pc*2) in the same home network and I use always use ssh to connect my linux server and remote company server to work. During the ssh connection, only ssh local server sometimes unstable. I tested my home's network:

  1. the other two linux pc can ping each other very stable
  2. my Macbook sometimes cannot ping other devices. Other device sometimes cannot ping back mac

I am not sure which problem this is, if it's a network or router problem, other local devices can ping each other fine. If it's a Mac problem, then I can ping my local linux server from remote through zerotier(https://www.zerotier.com/). So the problem only happens when Mac and the local server in my home lan.

I assume this is a network problem but I have few knowledge about it so I don't know what information should I provide. So if you need any info about the network or mac's config file, I will paste later.

mac ping local server

~ ❯ ping 192.168.0.212
PING 192.168.0.212 (192.168.0.212): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4
Request timeout for icmp_seq 5
Request timeout for icmp_seq 6
Request timeout for icmp_seq 7
Request timeout for icmp_seq 8
Request timeout for icmp_seq 9
Request timeout for icmp_seq 10
Request timeout for icmp_seq 11
Request timeout for icmp_seq 12
Request timeout for icmp_seq 13
Request timeout for icmp_seq 14
Request timeout for icmp_seq 15
Request timeout for icmp_seq 16
Request timeout for icmp_seq 17
Request timeout for icmp_seq 18
Request timeout for icmp_seq 19
Request timeout for icmp_seq 20
Request timeout for icmp_seq 21
Request timeout for icmp_seq 22
Request timeout for icmp_seq 23
Request timeout for icmp_seq 24
Request timeout for icmp_seq 25
Request timeout for icmp_seq 26
Request timeout for icmp_seq 27
Request timeout for icmp_seq 28
Request timeout for icmp_seq 29
Request timeout for icmp_seq 30
Request timeout for icmp_seq 31
Request timeout for icmp_seq 32
Request timeout for icmp_seq 33
Request timeout for icmp_seq 34
Request timeout for icmp_seq 35
Request timeout for icmp_seq 36
Request timeout for icmp_seq 37
Request timeout for icmp_seq 38
Request timeout for icmp_seq 39
Request timeout for icmp_seq 40
Request timeout for icmp_seq 41
Request timeout for icmp_seq 42
Request timeout for icmp_seq 43
Request timeout for icmp_seq 44
64 bytes from 192.168.0.212: icmp_seq=45 ttl=64 time=380.936 ms   # -> only success here
Request timeout for icmp_seq 46
Request timeout for icmp_seq 47
Request timeout for icmp_seq 48
Request timeout for icmp_seq 49
Request timeout for icmp_seq 50
Request timeout for icmp_seq 51
^C
--- 192.168.0.212 ping statistics ---
53 packets transmitted, 1 packets received, 98.1% packet loss

local server ping mac:

daming@elite ~ [1]> ping 192.168.0.121                                                                                                                                                                      (base) 
PING 192.168.0.121 (192.168.0.121) 56(84) bytes of data.
From 192.168.0.212 icmp_seq=1 Destination Host Unreachable
From 192.168.0.212 icmp_seq=2 Destination Host Unreachable
From 192.168.0.212 icmp_seq=3 Destination Host Unreachable
From 192.168.0.212 icmp_seq=4 Destination Host Unreachable
From 192.168.0.212 icmp_seq=5 Destination Host Unreachable
From 192.168.0.212 icmp_seq=6 Destination Host Unreachable
From 192.168.0.212 icmp_seq=7 Destination Host Unreachable
From 192.168.0.212 icmp_seq=8 Destination Host Unreachable
From 192.168.0.212 icmp_seq=9 Destination Host Unreachable
From 192.168.0.212 icmp_seq=10 Destination Host Unreachable
From 192.168.0.212 icmp_seq=11 Destination Host Unreachable
From 192.168.0.212 icmp_seq=12 Destination Host Unreachable
From 192.168.0.212 icmp_seq=13 Destination Host Unreachable
From 192.168.0.212 icmp_seq=14 Destination Host Unreachable
From 192.168.0.212 icmp_seq=15 Destination Host Unreachable
From 192.168.0.212 icmp_seq=16 Destination Host Unreachable
From 192.168.0.212 icmp_seq=17 Destination Host Unreachable
From 192.168.0.212 icmp_seq=18 Destination Host Unreachable
From 192.168.0.212 icmp_seq=19 Destination Host Unreachable
From 192.168.0.212 icmp_seq=20 Destination Host Unreachable
From 192.168.0.212 icmp_seq=21 Destination Host Unreachable
From 192.168.0.212 icmp_seq=22 Destination Host Unreachable
From 192.168.0.212 icmp_seq=23 Destination Host Unreachable
From 192.168.0.212 icmp_seq=24 Destination Host Unreachable
From 192.168.0.212 icmp_seq=25 Destination Host Unreachable
From 192.168.0.212 icmp_seq=26 Destination Host Unreachable
From 192.168.0.212 icmp_seq=27 Destination Host Unreachable
From 192.168.0.212 icmp_seq=28 Destination Host Unreachable
From 192.168.0.212 icmp_seq=29 Destination Host Unreachable
From 192.168.0.212 icmp_seq=30 Destination Host Unreachable
From 192.168.0.212 icmp_seq=31 Destination Host Unreachable
From 192.168.0.212 icmp_seq=32 Destination Host Unreachable
From 192.168.0.212 icmp_seq=33 Destination Host Unreachable
From 192.168.0.212 icmp_seq=34 Destination Host Unreachable
From 192.168.0.212 icmp_seq=35 Destination Host Unreachable
From 192.168.0.212 icmp_seq=36 Destination Host Unreachable
From 192.168.0.212 icmp_seq=37 Destination Host Unreachable
From 192.168.0.212 icmp_seq=38 Destination Host Unreachable
From 192.168.0.212 icmp_seq=39 Destination Host Unreachable
From 192.168.0.212 icmp_seq=40 Destination Host Unreachable
From 192.168.0.212 icmp_seq=41 Destination Host Unreachable
From 192.168.0.212 icmp_seq=42 Destination Host Unreachable
From 192.168.0.212 icmp_seq=43 Destination Host Unreachable
From 192.168.0.212 icmp_seq=44 Destination Host Unreachable
From 192.168.0.212 icmp_seq=45 Destination Host Unreachable
From 192.168.0.212 icmp_seq=46 Destination Host Unreachable
From 192.168.0.212 icmp_seq=47 Destination Host Unreachable
From 192.168.0.212 icmp_seq=48 Destination Host Unreachable
From 192.168.0.212 icmp_seq=49 Destination Host Unreachable
From 192.168.0.212 icmp_seq=50 Destination Host Unreachable
From 192.168.0.212 icmp_seq=51 Destination Host Unreachable
From 192.168.0.212 icmp_seq=52 Destination Host Unreachable
From 192.168.0.212 icmp_seq=53 Destination Host Unreachable
From 192.168.0.212 icmp_seq=54 Destination Host Unreachable
From 192.168.0.212 icmp_seq=55 Destination Host Unreachable
From 192.168.0.212 icmp_seq=56 Destination Host Unreachable
From 192.168.0.212 icmp_seq=57 Destination Host Unreachable
From 192.168.0.212 icmp_seq=58 Destination Host Unreachable
From 192.168.0.212 icmp_seq=59 Destination Host Unreachable
From 192.168.0.212 icmp_seq=60 Destination Host Unreachable
From 192.168.0.212 icmp_seq=61 Destination Host Unreachable
From 192.168.0.212 icmp_seq=62 Destination Host Unreachable
From 192.168.0.212 icmp_seq=63 Destination Host Unreachable
From 192.168.0.212 icmp_seq=64 Destination Host Unreachable
From 192.168.0.212 icmp_seq=65 Destination Host Unreachable
From 192.168.0.212 icmp_seq=66 Destination Host Unreachable
From 192.168.0.212 icmp_seq=67 Destination Host Unreachable
From 192.168.0.212 icmp_seq=68 Destination Host Unreachable
From 192.168.0.212 icmp_seq=69 Destination Host Unreachable
From 192.168.0.212 icmp_seq=70 Destination Host Unreachable
From 192.168.0.212 icmp_seq=71 Destination Host Unreachable
From 192.168.0.212 icmp_seq=72 Destination Host Unreachable
From 192.168.0.212 icmp_seq=73 Destination Host Unreachable
From 192.168.0.212 icmp_seq=74 Destination Host Unreachable
From 192.168.0.212 icmp_seq=75 Destination Host Unreachable
From 192.168.0.212 icmp_seq=77 Destination Host Unreachable
From 192.168.0.212 icmp_seq=78 Destination Host Unreachable
From 192.168.0.212 icmp_seq=79 Destination Host Unreachable
From 192.168.0.212 icmp_seq=80 Destination Host Unreachable
From 192.168.0.212 icmp_seq=81 Destination Host Unreachable
From 192.168.0.212 icmp_seq=82 Destination Host Unreachable
From 192.168.0.212 icmp_seq=83 Destination Host Unreachable
From 192.168.0.212 icmp_seq=84 Destination Host Unreachable
64 bytes from 192.168.0.121: icmp_seq=86 ttl=64 time=21.7 ms
64 bytes from 192.168.0.121: icmp_seq=87 ttl=64 time=41.4 ms
64 bytes from 192.168.0.121: icmp_seq=88 ttl=64 time=63.9 ms
64 bytes from 192.168.0.121: icmp_seq=89 ttl=64 time=87.4 ms
64 bytes from 192.168.0.121: icmp_seq=90 ttl=64 time=5.08 ms
64 bytes from 192.168.0.121: icmp_seq=91 ttl=64 time=30.7 ms
64 bytes from 192.168.0.121: icmp_seq=92 ttl=64 time=52.4 ms
64 bytes from 192.168.0.121: icmp_seq=93 ttl=64 time=74.7 ms
64 bytes from 192.168.0.121: icmp_seq=94 ttl=64 time=48.4 ms
64 bytes from 192.168.0.121: icmp_seq=95 ttl=64 time=16.0 ms
64 bytes from 192.168.0.121: icmp_seq=96 ttl=64 time=40.6 ms
64 bytes from 192.168.0.121: icmp_seq=97 ttl=64 time=60.9 ms
64 bytes from 192.168.0.121: icmp_seq=98 ttl=64 time=84.0 ms
64 bytes from 192.168.0.121: icmp_seq=99 ttl=64 time=107 ms
64 bytes from 192.168.0.121: icmp_seq=100 ttl=64 time=26.9 ms
64 bytes from 192.168.0.121: icmp_seq=101 ttl=64 time=4.94 ms
64 bytes from 192.168.0.121: icmp_seq=102 ttl=64 time=72.1 ms
64 bytes from 192.168.0.121: icmp_seq=103 ttl=64 time=94.8 ms
64 bytes from 192.168.0.121: icmp_seq=104 ttl=64 time=14.5 ms
64 bytes from 192.168.0.121: icmp_seq=105 ttl=64 time=2.73 ms
64 bytes from 192.168.0.121: icmp_seq=106 ttl=64 time=59.4 ms
64 bytes from 192.168.0.121: icmp_seq=107 ttl=64 time=81.3 ms
64 bytes from 192.168.0.121: icmp_seq=108 ttl=64 time=104 ms
64 bytes from 192.168.0.121: icmp_seq=109 ttl=64 time=2.54 ms
64 bytes from 192.168.0.121: icmp_seq=110 ttl=64 time=45.7 ms
64 bytes from 192.168.0.121: icmp_seq=111 ttl=64 time=4.52 ms
64 bytes from 192.168.0.121: icmp_seq=112 ttl=64 time=2.85 ms
64 bytes from 192.168.0.121: icmp_seq=113 ttl=64 time=50.5 ms
64 bytes from 192.168.0.121: icmp_seq=114 ttl=64 time=33.6 ms
64 bytes from 192.168.0.121: icmp_seq=115 ttl=64 time=2.08 ms
64 bytes from 192.168.0.121: icmp_seq=116 ttl=64 time=77.9 ms
64 bytes from 192.168.0.121: icmp_seq=117 ttl=64 time=12.4 ms
64 bytes from 192.168.0.121: icmp_seq=118 ttl=64 time=3.47 ms
64 bytes from 192.168.0.121: icmp_seq=119 ttl=64 time=42.9 ms
64 bytes from 192.168.0.121: icmp_seq=120 ttl=64 time=3.34 ms
64 bytes from 192.168.0.121: icmp_seq=121 ttl=64 time=3.04 ms
64 bytes from 192.168.0.121: icmp_seq=122 ttl=64 time=111 ms
64 bytes from 192.168.0.121: icmp_seq=123 ttl=64 time=52.9 ms
64 bytes from 192.168.0.121: icmp_seq=124 ttl=64 time=53.9 ms
64 bytes from 192.168.0.121: icmp_seq=125 ttl=64 time=77.1 ms
64 bytes from 192.168.0.121: icmp_seq=126 ttl=64 time=2.46 ms
64 bytes from 192.168.0.121: icmp_seq=127 ttl=64 time=2.73 ms
64 bytes from 192.168.0.121: icmp_seq=128 ttl=64 time=41.2 ms
64 bytes from 192.168.0.121: icmp_seq=129 ttl=64 time=63.8 ms
64 bytes from 192.168.0.121: icmp_seq=130 ttl=64 time=87.0 ms
64 bytes from 192.168.0.121: icmp_seq=131 ttl=64 time=3.16 ms
64 bytes from 192.168.0.121: icmp_seq=132 ttl=64 time=28.9 ms
64 bytes from 192.168.0.121: icmp_seq=133 ttl=64 time=52.7 ms
64 bytes from 192.168.0.121: icmp_seq=134 ttl=64 time=75.2 ms
64 bytes from 192.168.0.121: icmp_seq=135 ttl=64 time=3.22 ms
64 bytes from 192.168.0.121: icmp_seq=136 ttl=64 time=2.93 ms
64 bytes from 192.168.0.121: icmp_seq=137 ttl=64 time=40.3 ms
64 bytes from 192.168.0.121: icmp_seq=138 ttl=64 time=62.8 ms
64 bytes from 192.168.0.121: icmp_seq=139 ttl=64 time=85.6 ms
64 bytes from 192.168.0.121: icmp_seq=140 ttl=64 time=108 ms
64 bytes from 192.168.0.121: icmp_seq=141 ttl=64 time=2.98 ms
64 bytes from 192.168.0.121: icmp_seq=142 ttl=64 time=50.6 ms
64 bytes from 192.168.0.121: icmp_seq=143 ttl=64 time=73.0 ms
64 bytes from 192.168.0.121: icmp_seq=144 ttl=64 time=96.1 ms
64 bytes from 192.168.0.121: icmp_seq=145 ttl=64 time=16.3 ms
64 bytes from 192.168.0.121: icmp_seq=146 ttl=64 time=3.22 ms
64 bytes from 192.168.0.121: icmp_seq=147 ttl=64 time=61.1 ms
64 bytes from 192.168.0.121: icmp_seq=148 ttl=64 time=83.8 ms
64 bytes from 192.168.0.121: icmp_seq=149 ttl=64 time=5.97 ms
64 bytes from 192.168.0.121: icmp_seq=150 ttl=64 time=26.6 ms
64 bytes from 192.168.0.121: icmp_seq=151 ttl=64 time=5.30 ms
64 bytes from 192.168.0.121: icmp_seq=152 ttl=64 time=71.4 ms
64 bytes from 192.168.0.121: icmp_seq=153 ttl=64 time=2.20 ms
64 bytes from 192.168.0.121: icmp_seq=154 ttl=64 time=14.1 ms
64 bytes from 192.168.0.121: icmp_seq=155 ttl=64 time=37.0 ms
64 bytes from 192.168.0.121: icmp_seq=156 ttl=64 time=2.93 ms
64 bytes from 192.168.0.121: icmp_seq=157 ttl=64 time=82.9 ms
64 bytes from 192.168.0.121: icmp_seq=158 ttl=64 time=4.53 ms
64 bytes from 192.168.0.121: icmp_seq=159 ttl=64 time=27.1 ms
64 bytes from 192.168.0.121: icmp_seq=160 ttl=64 time=48.6 ms
64 bytes from 192.168.0.121: icmp_seq=161 ttl=64 time=2.38 ms
64 bytes from 192.168.0.121: icmp_seq=162 ttl=64 time=4.46 ms
64 bytes from 192.168.0.121: icmp_seq=163 ttl=64 time=2.73 ms
64 bytes from 192.168.0.121: icmp_seq=164 ttl=64 time=37.8 ms
64 bytes from 192.168.0.121: icmp_seq=165 ttl=64 time=57.8 ms
64 bytes from 192.168.0.121: icmp_seq=166 ttl=64 time=2.71 ms
64 bytes from 192.168.0.121: icmp_seq=167 ttl=64 time=102 ms
64 bytes from 192.168.0.121: icmp_seq=168 ttl=64 time=83.2 ms
64 bytes from 192.168.0.121: icmp_seq=169 ttl=64 time=2.20 ms
64 bytes from 192.168.0.121: icmp_seq=170 ttl=64 time=67.2 ms
64 bytes from 192.168.0.121: icmp_seq=171 ttl=64 time=2.85 ms
64 bytes from 192.168.0.121: icmp_seq=172 ttl=64 time=113 ms
64 bytes from 192.168.0.121: icmp_seq=173 ttl=64 time=2.16 ms
64 bytes from 192.168.0.121: icmp_seq=174 ttl=64 time=231 ms
64 bytes from 192.168.0.121: icmp_seq=175 ttl=64 time=279 ms
64 bytes from 192.168.0.121: icmp_seq=176 ttl=64 time=129 ms
64 bytes from 192.168.0.121: icmp_seq=177 ttl=64 time=18.8 ms
64 bytes from 192.168.0.121: icmp_seq=178 ttl=64 time=43.1 ms
64 bytes from 192.168.0.121: icmp_seq=179 ttl=64 time=3.89 ms
64 bytes from 192.168.0.121: icmp_seq=180 ttl=64 time=2.81 ms
64 bytes from 192.168.0.121: icmp_seq=181 ttl=64 time=3.43 ms
64 bytes from 192.168.0.121: icmp_seq=182 ttl=64 time=31.5 ms
64 bytes from 192.168.0.121: icmp_seq=183 ttl=64 time=54.5 ms
^C
--- 192.168.0.121 ping statistics ---
185 packets transmitted, 98 received, +83 errors, 47.027% packet loss, time 186197ms
rtt min/avg/max/mdev = 2.076/45.180/278.574/46.257 ms, pipe 4
0 Answers
Related