List interfaces and IPs neatly
The following command gives a neat list of the Devices and their IPs / details without all the gruesome details. ifconfig | egrep "Link|inet" A sample result would be:...
View ArticleSetup default gateway with route command Linux
Display default route The following three commands display the current routing table: # route Output: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 *...
View ArticleMonitoring connections
To monitor TCP and UDP connections the following command is very useful: netstat -t -u to have a continuous update use the watch command: watch netstat -t -u There is a much stronger tool for real time...
View ArticleDisable IPv6 in centOS
Edit /etc/sysconfig/network and set “NETWORKING_IPV6″ to “no” For 5.4 and later, replace in /etc/modprobe.conf alias ipv6 off by options ipv6 disable=1 Alternative (which might be easier and works...
View Article
More Pages to Explore .....