> On Sat, 15 Feb 1997 jag@csrrltrd.ren.nic.in wrote:
> | But Is there a way to check wether IP forwading is enabled in the kernel or
> | not?
>
> cat /proc/net/snmp | grep -A2 Forward | head -2 | cut -f2 -d' '
>
> If you get:
> Forwarding
> 1
> then forwarding is enabled, if 0 then not.
>
Then what is this stuff for
echo 1 >/proc/sys/net/ipv4/ip_forwarding
I don't have a sys directory under my proc directory(file system)
Jagannathan.R
------------------------------------------------------------------
JAGANNATHAN.R Email: jag@csrrltrd.ren.nic.in
Scientist & Sysadm Phone: 0091 471 490674
Regional Research Laboratory Fax : 0091 471 490186, 491712
Trivandrum - 695 019 Telex: 0435 - 6232
Kerala, India Grams: CONSEARCH
------------------------------------------------------------------