Created
January 23, 2010 23:31
-
-
Save lukmdo/284858 to your computer and use it in GitHub Desktop.
NETwork troubleshooting
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
sudo ifconfig eth0 192.168.1.50 netmask 255.255.255.0 up | |
sudo ifconfig eth0 hw 00:00:00:00:00:00 | |
sudo route add default gw 172.16.236.0 | |
Display current active Internet connections: | |
netstat -nat | |
Display open ports | |
sudo netstat -tulp || sudo netstat -tulpn | |
Display network interfaces stats | |
netstat -i | |
Display established connections | |
netstat -tue | |
Where, | |
-t : TCP connections | |
-u : UDP connections | |
-e : Established | |
TCPSTAT | |
======= | |
http://www.percona.com/docs/wiki/tcprstat:start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment