Dipende molto dai dispositivi e dove e con che priorità viene processato il ping. Su questa rete, così composta:
router (Draytek) - firewall (pfsense) - switch-a (HP) - switch-b (Cisco) - Raspberry Pi 4:
i tempi pingando dal Pi
64 bytes from router.xxx.lan (192.168.201.254): icmp_seq=1 ttl=254 time=0.458 ms
64 bytes from router.xxx.lan (192.168.201.254): icmp_seq=2 ttl=254 time=0.413 ms
64 bytes from router.xxx.lan (192.168.201.254): icmp_seq=3 ttl=254 time=0.394 ms
64 bytes from fw.xxx.lan (192.168.200.10): icmp_seq=1 ttl=64 time=0.284 ms
64 bytes from fw.xxx.lan (192.168.200.10): icmp_seq=2 ttl=64 time=0.250 ms
64 bytes from fw.xxx.lan (192.168.200.10): icmp_seq=3 ttl=64 time=0.252 ms
64 bytes from switch-a.xxx.lan (192.168.200.246): icmp_seq=1 ttl=255 time=1.42 ms
64 bytes from switch-a.xxx.lan (192.168.200.246): icmp_seq=2 ttl=255 time=1.42 ms
64 bytes from switch-a.xxx.lan (192.168.200.246): icmp_seq=3 ttl=255 time=1.43 ms
64 bytes from switch-b.xxx.lan (192.168.200.245): icmp_seq=1 ttl=64 time=0.984 ms
64 bytes from switch-b.xxx.lan (192.168.200.245): icmp_seq=2 ttl=64 time=0.967 ms
64 bytes from switch-b.xxx.lan (192.168.200.245): icmp_seq=3 ttl=64 time=0.985 ms
Il più veloce a rispondere è il pfSense, il più lento lo switch HP. La risposta dall'ultimo dispositivo della catena, il router, non è influenzato dai tempi di risposto più lunghi dei due switch - è tranquillamente possibile che il ping sia gestito via software dalla CPU mentre il semplice smistamento dei pacchetti è tutto in hardware dedicato.
PIngando il router dal pfSense cambia poco, anche se è qualche decimo di ms più veloce, ma sono connessi direttamente:
64 bytes from 192.168.201.254: icmp_seq=0 ttl=255 time=0.334 ms
64 bytes from 192.168.201.254: icmp_seq=1 ttl=255 time=0.400 ms
64 bytes from 192.168.201.254: icmp_seq=2 ttl=255 time=0.306 ms
il Pi invece risponde al pfSense qualcosina più lentamente che viceversa:
64 bytes from 192.168.200.247: icmp_seq=0 ttl=64 time=0.342 ms
64 bytes from 192.168.200.247: icmp_seq=1 ttl=64 time=0.356 ms
64 bytes from 192.168.200.247: icmp_seq=2 ttl=64 time=0.330 ms
switch-a rimane lento anche pingando dal pfSense che è connesso direttamente:
64 bytes from 192.168.200.246: icmp_seq=0 ttl=255 time=1.704 ms
64 bytes from 192.168.200.246: icmp_seq=1 ttl=255 time=1.413 ms
64 bytes from 192.168.200.246: icmp_seq=2 ttl=255 time=1.498 ms