[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IP forwarding



>     I try to do ppp dail-in to my office linux 6.0 box.  Everything works
> fine except when I logon I can only ping the linux box.  I read some
> document says the kernel MUST include IP forwarding.  Is there a way I can
> check?
>      I went into "make menuconfig" one time, but I did not see anything
> like "IP forwarding" at all.  Can anyone tell me which on to look?  Or
> anyone have any idea what am I missing?

You can check if IP Forwarding is turned on with the following command:

  cat /proc/sys/net/ipv4/ip_forward

(0 = off, 1 = forwarding is on)

You can turn on IP Forwarding with the following command:

  echo 1 > /proc/sys/net/ipv4/ip_forward

--------------------------------------------
Bruce Smith                bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan  49093  USA
http://www.armstrong-intl.com/
--------------------------------------------