/proc/sys/net/ipv4/ip_forward resets to 0 after reboot

R. Scott Belford scott at hosef.org
Fri Dec 7 19:57:49 GMT 2007

Daniel Kahn Gillmor wrote:
> On Thu 2007-12-06 13:52:09 -0500, Tom Wolfe wrote:
>> I swtiched to using sysctl.conf after reading that the
>> /etc/network/options is deprecated
> right, good call.

I was told differently on this list.  The Edubuntu Wiki suggests that it 
is a solution.  If it is in fact deprecated, and I believe you, then we 
really need to get on the same page of what *does* work with 7.10.

>> Still the same problem.
>> I've resorted to a cron job that sets it to 1 ever minute.... quite a
>> hack so I'd love to know the real cause of the problem.
>> NOte that I didn't do a standard Edubuntu install, I had Edubuntu
>> workstation, and then installed LTSP, etc. on top of it. I imagine I
>> have a config missing somewhere.
> on my debian lenny system here, /etc/sysctl.conf is initially read by
> /etc/init.d/procps from the procps package during system
> initialization (linked from /etc/rcS.d/S30procps).  lenny uses
> traditional sysvinit, though -- i think edubuntu is using upstart now,
> so maybe it does something differently?  or maybe yer distro
> migrations broke your initscripts somehow?
> If a stock edubuntu install were to not initialize /proc/sys from
> /etc/sysctl.conf, that would be a serious bug worth reporting.

I definitely need to echo that making changes to /etc/sysctl.conf *do* 
*not* have any affect on ip_forwarding.  It is annoying, it does not 
make sense, but I thought that it was just me.  I enable ip_forwarding 
through a line in rc.local.

>    --dkg
> PS no need to CC me, i read the list.


More information about the edubuntu-users mailing list