streda 4. októbra 2023

ping -I

 
ping -I


 

 


 

ping from interface



(in our example we have eth0)



server:~ # ping -c 3 -I eth0 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from 10.100.200.31 eth0: 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=117 time=24.8 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=117 time=25.0 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=117 time=24.9 ms

--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 24.762/24.892/25.017/0.104 ms


Žiadne komentáre:

Zverejnenie komentára