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

Tom Wolfe twolfe at sawback.com
Thu Dec 6 18:52:09 GMT 2007


Hi Daniel, thanks for the ideas.

That was a misspelling (I typed it in, not cut & paste)

I swtiched to using sysctl.conf after reading that the 
/etc/network/options is deprecated

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.

Regards,
Tom Wolfe

---
 	Tom Wolfe, IT Specialist 	twolfe at sawback.com
 	Stoney Educational Authority	tel: (403) 881-2650
 	Box 238, Morley AB, T0L 1N0	fax: (403) 881-2793
Morley Community School | Chief Jacob Bearspaw School | Ta-otha School


On Wed, 5 Dec 2007, Daniel Kahn Gillmor wrote:

> On Wed 2007-12-05 14:35:17 -0500, Tom Wolfe wrote:
>
>> Can anyone tell me how to prevent /proc/sys/net/ipv4/ip_forward from
>> resetting to 0 after a reboot. I do have /etc/network/options set as
>> follows:
>>
>> ip_forwared=yes
>
> This entry appears to be misspelled.  Maybe that's part of the problem?
>
> Most GNU/Linux distros allow setting values under /proc/sys by adding
> entries in /etc/sysctl.conf, which is read at boot time.
>
> On an ubuntu gutsy system (i don't have an edubuntu system handy to
> try, and i don't know what version you're running anyway), i see this:
>
> 0 dkg at leonard:~$ grep forward /etc/sysctl.conf
> # Uncomment the next line to enable packet forwarding for IPv4
> #net.ipv4.conf.default.forwarding=1
> # Uncomment the next line to enable packet forwarding for IPv6
> #net.ipv6.conf.default.forwarding=1
> 0 dkg at leonard:~$
>
> hth,
>
>        --dkg
>



More information about the edubuntu-users mailing list