On Friday 05 July 2002 00:12, George Vieira wrote:
> Redhat uses it's /etc/sysconfig/network file to save that stuff..
>
> IE..
>
> FORWARD_IPV4=yes

Not on all RedHat versions work this way, e.g. NOT on RH 7.1 which I am 
running today.

But I seem to remember it did in RH 6.1; what version are you running?

On RedHat 7.1 a "service network stop" (or /etc/init.d/network stop) will 
disable forwarding, but "service network start" will NOT enable it again (!), 
unless specified in /etc/sysctl.conf.

So if you do a "service network restart" (or /etc/rc.d/init.d/network 
restart) and expect to have a clean network configuration (after messing 
around or whatever), then your forwarding won't work.

This is the reason why I now use /etc/sysctl.conf instead of a line in 
/etc/rc.local; then everything works fine.

Jan Humme.

Reply via email to