see "man sysctl". it basically modifies kernel parameters at runtime.
the same results would be accomplished by echoing values under /proc/sys/,
but sysctl is a slightly more advanced way of doing things. for example
you can put multiple values in /etc/sysctl.conf and just run sysctl -p and
it will set all of them. redhat ships with a system that takes advantage
of this.
in your example, you would use 1 instead of 0 if you wanted ip forwarding
on, 0 if you wanted forwarding disabled.
check out the man page for info. and you might already have an
/etc/sysctl.conf with default values from redhat.
-tcl.
On Thu, 3 May 2001, Alireza Saleh wrote:
> Hi friends,
> Would you please tell me a breif about what sysctl do in linux ? and do we
> have the same things in linux.
>
> Alireza
>
> P.S. sysctl -w net.ipv4.ip-forward=0
> 1- is it the shell command ?
> 2- Don't you think that I should use 1 instead of 0 ?
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list