1
Configuring Routing
Configuring ConfiguringRouting Routing--Temporary Temporary [root@comp1 [root@comp1~]# ~]#echo echo11 > > /proc/sys/net/ipv4/ip_forward /proc/sys/net/ipv4/ip_forward
Configuring ConfiguringRouting Routing--Permanent Permanent [root@comp1 ~]# vi /etc/sysctl.conf [root@comp1 ~]# vi /etc/sysctl.conf
Load Loadin insysctl sysctlsetting settingat atruntime runtime [root@comp1 ~]# sysctl p [root@comp1 ~]# sysctl p
2
Network Monitoring Tools
To Toview viewnetwork networkconnections connectionswith withport portno no ss [root@comp1~]# netstat ant () [root@comp1~]# netstat ant ()
To Toview viewremote remotenetwork networkconnections connectionsport port no noss [root@comp1~]# [root@comp1~]# nmap nmap address>
To Toview viewhow howlong longsystem systemis isbeen beenrunning running [root@comp1~]# [root@comp1~]#uptime uptime
3
Network Monitoring Tools
Displays Displaysdynamic dynamicrealtime realtimeview viewof ofrunning runningsystem system [root@comp1~]# top [root@comp1~]# top
To Toview viewcurrent currentprocesses processes [root@comp1~]# ps ef [root@comp1~]# ps ef
To Toview viewthe thetime timeof of last lastreboot reboot [root@comp1~]# [root@comp1~]#last lastreboot reboot
4
Network Monitoring Tools
To Toview viewand andsetup setupdifferent differentnetwork network configurations configurations [root@comp1~]# neat [root@comp1~]# neat
5
Network Monitoring Tools
To Toview view [root@comp1~]# [root@comp1~]#rpcinfo rpcinfo pp
To Toview view [root@comp1~]# [root@comp1~]#traceroute traceroute
To Toview view [root@comp1~]# [root@comp1~]#iptraf iptraf
6
Network Monitoring Tools
To Toview view [root@comp1~]# tcpdump eth0 [root@comp1~]# tcpdump eth0
To Toview view [root@comp1~]# [root@comp1~]#ethtool ethtool
To Toview view [root@comp1~]# [root@comp1~]#gnome-system-moniter gnome-system-moniter
7