RSS2.0

RHCE RHCT EXAM: configure kernel parameters in redhat enterprise Linux

Tuesday, March 21, 2006

configure kernel parameters in redhat enterprise Linux :


How to turn off ping response in redhat Linux :

#cat /proc/sys/net/ipv4/icmp_echo_ignore_all
0

Zero means ping is enable and Linux machine will respond to ping requests.

# echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_all

This kernel change is not permanent , to make it permanent add to /etc/sysctl.conf :

net.ipv4.icmp_echo_ignore_all=1

0 comments: