/proc/sys/net/ipv4/ip_forward resets to 0 after reboot
Daniel Kahn Gillmor
dkg-lists.ubuntu.com at fifthhorseman.net
Wed Dec 5 21:17:08 GMT 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 826 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/edubuntu-users/attachments/20071205/93d740e9/attachment.pgp
More information about the edubuntu-users
mailing list