# linux network troubleshooting
https://www.redhat.com/sysadmin/beginners-guide-network-troubleshooting-linux
https://www.redhat.com/sysadmin/five-network-commands
http://cheat.sh/
## TLDR
- capa 1 - física
**ip link show**
**sudo ip link set eno1 down**
ip link show
ip a
**sudo ip link set eno1 up**
ip link show
ip a
ip -br link show
ethtool
sudo apt install ethtool
ethtool eno1
- capa 2 - enllaç
**ip neighbor show**
- capa 3 - xarxa
**ip address show**
ip -br address show
**ip route show**
ping 8.8.8.8
traceroute 8.8.8.8
mtr
**mtr 8.8.8.8**
nslookup www.google.com
nslookup insjoandaustria.org
- capa 4 - transport
**ss -tunl4**
ss -tnlp4
**sudo ss -tnlp4**