You are on page 1of 2

Configuring Routing

Configuring
ConfiguringRouting
Routing--Temporary
Temporary
[root@comp1 ~]# echo 1 > /proc/sys/net/ipv4/ip_forward
[root@comp1 ~]# echo 1 > /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

Network Monitoring Tools Network Monitoring Tools

To
Toview
viewnetwork
networkconnections
connectionswith
withport
portno’s
no’s Displays
Displaysdynamic
dynamicrealtime
realtimeview
viewof
ofrunning
runningsystem
system
[root@comp1~]#
[root@comp1~]#netstat
netstat–ant
–ant()
() [root@comp1~]#
[root@comp1~]#toptop

To
Toview
viewremote
remotenetwork
networkconnections
connectionsport
portno’s
no’s To
Toview
viewcurrent
currentprocesses
processes
[root@comp1~]# nmap <ip address>
[root@comp1~]# nmap <ip address> [root@comp1~]# ps –ef
[root@comp1~]# ps –ef

To
Toview
viewhow
howlong
longsystem
systemis
isbeen
beenrunning
running To
Toview
viewthe
thetime
timeof
oflast
lastreboot
reboot
[root@comp1~]# uptime
[root@comp1~]# uptime [root@comp1~]# last reboot
[root@comp1~]# last reboot
Network Monitoring Tools Network Monitoring Tools

To
Toview
viewand
andsetup
setupdifferent
differentnetwork
networkconfigurations
configurations To
Toview
view
[root@comp1~]#
[root@comp1~]#neat
neat [root@comp1~]#
[root@comp1~]#rpcinfo
rpcinfo–p
–p

To
Toview
view
[root@comp1~]#
[root@comp1~]#traceroute
traceroute

To
Toview
view
[root@comp1~]#
[root@comp1~]#iptraf
iptraf

Network Monitoring Tools

To
Toview
view
[root@comp1~]#
[root@comp1~]#tcpdump
tcpdumpeth0
eth0

To
Toview
view
[root@comp1~]#
[root@comp1~]#ethtool
ethtool

To
Toview
view
[root@comp1~]# gnome-system-moniter
[root@comp1~]# gnome-system-moniter

You might also like