Advertisement
JeanBritz

Network Diag Commands

Apr 27th, 2020
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. Ping (Linux)
  2. ============
  3. Send ping command on specific network interface
  4. ------------------------------
  5. $ ping -I <interface_name> <ip>
  6. Ex: $ ping -I eth0 172.168.1.1
  7.  
  8. Ping IPv6 address
  9. =================
  10. $ ping -6 <ipv6>
  11.  
  12. Send with Don't fragment flag set
  13. ---------------------------------
  14. $ ping -f <ip>
  15.  
  16. Send ping to a broadcast address (Handy for network discovery)
  17. --------------------------------
  18. $ ping -b <broadcast ip>
  19.  
  20. Verbose output
  21. ---------------
  22. $ ping -v <ip>
  23.  
  24. Traceroute (Linux)
  25. ===================
  26. $ traceroute <ip>
  27.  
  28. Netstat (Linux)
  29. ================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement