Red Hat Bugzilla – Bug 10434
IPv4 forwarding not set or unset by Linuxconf in RH 6.2
Last modified: 2008-05-01 11:37:55 EDT
The new initscripts 5.00 RPM uses information from /etc/sysctl.conf
to decide whether or not IP forwarding should be enabled. Earlier
versions (including 4.70) used information from /etc/sysconfig/network.
Linuxconf sets and resets the information in /etc/sysconfig/network,
which is no longer read or used by initscripts 5.00 for this purpose.
Therefore, changing IP forwarding from the Linuxconf -> Networking ->
Client Tasks -> Routing and gateways -> Set Defaults menu has no
effect on the system.
WORKAROUND: Edit the file /etc/sysctl.conf by hand and set
net.ipv4.ip_forward = 1
to enable forwarding; this value is read and acted upon every time
networking is started or restarted.
Suggested solution: It looks to me as though Linuxconf will now have to
parse and edit this new file /etc/sysctl.conf in order to provide this
Jonathan Marsden <firstname.lastname@example.org>
Using netconf (text mode) and "Enable routing" also leads to no working
routing. Since I can't find any initscripts methods that reads a var
and optionally does the echo 1 > ip_forward, my workaround was doing
so at the end of rc.local
This has been fixed in Raw Hide.
*** Bug 11230 has been marked as a duplicate of this bug. ***