OpenVZ Forum


Home » General » Support » sysctl.conf ip_forward = 1 changes after reboot
Re: sysctl.conf ip_forward = 1 changes after reboot [message #15927 is a reply to message #15924] Thu, 16 August 2007 07:07 Go to previous messageGo to previous message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
1) the straightforward and dull way is to put a command "echo 1 > /proc/sys/net/ipv4/ip_forward" into rc.local.

2) of course way 1 is bad. Let's try to understand what drops ip_forward to 0 in your system?
Could you please post the complete /etc/sysctl.conf and /etc/sysconfig/network ?
Could you grep /etc directory for "ip_forward"? Which scripts change this parameter and under what conditions?


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Pass environment variable via execve
Next Topic: *solved* howto install network in a newly created VE with ext IP?
Goto Forum:
  


Current Time: Sat Aug 23 15:49:43 GMT 2025

Total time taken to generate the page: 0.06165 seconds