Created
March 29, 2020 10:18
-
-
Save covelus/acbe2924ee83be9acf3371fa19db1499 to your computer and use it in GitHub Desktop.
Some basic *nix networking commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ip <> # ip address | |
| ifconfig | |
| iwconfig [interface] | |
| ifup / ifdown | |
| host <domain.name> | |
| hostname | |
| ping <IP/domain.name> | |
| arp <> # arp -e | |
| traceroute <IP/domain.name> | |
| mtr [IP/domain.name] | |
| nslookup <domain.name> | |
| netstat <> | |
| # netstat -r | |
| # netstat wlp1s0 | |
| # netstat -anlp | |
| # sudo netstat -tupln | |
| digg <IP/domain.name> | |
| ip route | |
| route | |
| nmap <> # w. or w/o Zenmap GUI | |
| ethtool <interface> | |
| dmesg | |
| strace <application-name> # strace (or truss, dtrace or tusc depending on the system) | |
| iptables-save # dump ipetables | |
| iptstate [ops] # display IP tables state table entries | |
| socat [ops] <address1> <address2> | |
| wireshark | |
| # listen interface | |
| fprobe <> | |
| nfcapd <> | |
| nfdump | |
| curl | |
| iperf <> | |
| cacti # graph SNMP | |
| SmokePing # latency, packet loss, latency changes | |
| OpenNMS # Monitoring | |
| tcpdump ... | |
| # Sec | |
| AirCrack-ng | |
| arpspoof # dsniff package | |
| Snort | |
| # Cloud tools | |
| speedtest.net | |
| # General principles of network troubleshooting are: | |
| ## 1.- Find out at what level of TCP/IP stack (or some other stack) occurs the problem. | |
| ## 2.- Understand what is the correct system behavior, and what is deviation from normal system state | |
| ## 3.- Try to express the problem in one sentence or in several words | |
| ## 4.- Using obtained information from buggy system, your own experience and experience of other people (google, various forum, etc.), try to solve the problem until success (or failure) | |
| ## 5.- If you fails, ask other people about help or some advice | |
| Biblio: | |
| (process + tools) https://unix.stackexchange.com/questions/50098/linux-network-troubleshooting-and-debugging | |
| https://www.networkcomputing.com/networking/14-essential-network-troubleshooting-tools/2076793987 | |
| https://www.tecmint.com/linux-network-configuration-and-troubleshooting-commands/ | |
| https://www.pluralsight.com/blog/it-ops/network-troubleshooting-tools | |
| https://www.rosehosting.com/blog/5-linux-network-troubleshooting-and-configuration-commands/ | |
| http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch04_:_Simple_Network_Troubleshooting#.WgWV4WGnFhF | |
| https://likegeeks.com/linux-network-commands/ | |
| (intro) https://devopscube.com/list-linux-networking-troubleshooting-and-commands-beginners/ | |
| https://www.networkworld.com/article/3065484/network-management/interop-12-killer-and-free-tools-for-network-engineers.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment