Results 1 to 3 of 3
hi!
i have same issue (question) about sysctl on fedora 13 and rhel 5.5
then i do
cat /proc/sys/net/ipv4/ip_forward, i get value=1
but when i check /etc/sysctl.conf, net.ipv4.ip_forward = 0
...
- 06-27-2010 #1Just Joined!
- Join Date
- Feb 2010
- Posts
- 28
sysctl question
hi!
i have same issue (question) about sysctl on fedora 13 and rhel 5.5
then i do
cat /proc/sys/net/ipv4/ip_forward, i get value=1
but when i check /etc/sysctl.conf, net.ipv4.ip_forward = 0
shouldn't it be consistent?
reboot doesn't resolve the problem
- 06-28-2010 #2
they should be consistent. Are you editing the file in /etc/sysctl.conf ?
anything you do to /proc will not survive a reboot. It is not a real filesystem, it is a representation of kernel settings and information.
if you want to turn on ip_forward permanently (across reboots,) edit /etc/sysctl.conf, if you want it temporarily, edit /proc/sys/net/ipv4/ip_forwardNew to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4
- 06-28-2010 #3Just Joined!
- Join Date
- Feb 2010
- Posts
- 28
this situation after i installed bothed system, and also after reboot.
sysctl.conf should update /proc/sys, but it doesn't


Reply With Quote