At 13:59 -0700 12/20/98, ccurley wrote:

>[root@server /root]# ll /proc/sys/net/ipv4/
>-rw-r--r--   1 root     root            0 Dec 20 04:56 ip_forward
>      [root@server /root]# echo 1 > /proc/sys/net/ipv4/ip_forwarding
>      bash: /proc/sys/net/ipv4/ip_forwarding: Permission denied

Note the spelling. You have to spell it like Linux does, 'ip_forward'.
There was a typo in the suggestion you tried. You've probably figured this
out by now, but:

With RedHat, the built-in way to do this (write a '1' into ip_forward so as
to enable it) is by configuring your /etc/sysconfig/network file, the line
'FORWARD_IPV4='. That makes the echo take place during the network bootup
process. On a normall RH install, that line says 'no', which writes a zero
to disable it.

You can set this in a GUI using the Network Configurator in the RedHat
Control Panel. The Routing section (on RH5.1 at least) has a check box for
IPv4 forwarding.

Or, you can do it yourself in your script, or manually for testing.
--
Mike Casteel
[EMAIL PROTECTED]                   Seattle, WA
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]

Reply via email to