Hi,

On Fri, 16 Apr 1999, Patrick Kirk wrote:

> There is no IP_Forward in /etc/rc.config.
> Does this mean I missed out a step?

Not necessarily. BTW: Which distribution and kernel are you running? There
is a special entry in the /proc Filesystem which enables this kernel
feature (/proc/sys/net/ipv4/ip_forward). If you "cat" this file, it should
read "1". If not, you may try to add the following to /sbin/init.d/boot:

#
# Enable IP forwarding ?
#
if test -e /proc/sys/net/ipv4/ip_forward -a -n "$IP_FORWARD" ; then
    ECHO_RETURN=$rc_done
    case $IP_FORWARD in
      yes)
        echo -n "Enabling IP forwarding"
        echo "1" > /proc/sys/net/ipv4/ip_forward || ECHO_RETURN=$rc_failed
      ;;
      *)
        echo -n "Disabling IP forwarding"
        echo "0" > /proc/sys/net/ipv4/ip_forward || ECHO_RETURN=$rc_failed
      ;;
    esac
    echo -e "$ECHO_RETURN"
fi


in addition to that, add the following block to /etc/rc.config:

#
# you can configure at runtime, if the host may forward
# IP packages or not.  Is this host a router? (yes/no)
#
IP_FORWARD=no


HTH,

        LenZ

-- 
------------------------------------------------------------------
 Lenz Grimmer                                           SuSE GmbH
 mailto:[EMAIL PROTECTED]                       Schanzaeckerstr. 10
 http://www.suse.de/~grimmer             90443 Nuernberg, Germany


--
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archive at http://www.suse.com/Mailinglists/suse-linux-e/index.html

Reply via email to