Cu RedHat e o problema mai veche. IP forwarding activ/inactiv se seteaza
la instalare se e greu de schimbat (corect) pe urma.

Uite un patch pentru /etc/rc.d/init.d/network

http://irc1-buc.lug.ro/download/rh-ip_forward.patch

Adica:

--- network.orig        Tue Mar  7 18:30:13 2000
+++ network     Fri Sep  7 13:25:19 2001
@@ -74,6 +74,17 @@
           done
        fi    
 
+       if [ -x /etc/sysconfig/network-scripts/custom ]; then
+           action "Executing custom network scripts" 
/etc/sysconfig/network-scripts/custom
+       fi
+       if [ -d /proc/sys/net/ipv4 ]; then
+         if [ ${FORWARD_IPV4} = "yes" ]; then
+               if [ `cat /proc/sys/net/ipv4/ip_forward` = 0 ]; then
+                       action "Enabling IPv4 packet forwarding" sysctl 
-w net.ipv4.ip_forward=1
+               fi
+         fi
+       fi
+
         touch /var/lock/subsys/network
         ;;
   stop)


-- 
 Paul Chitescu
 [EMAIL PROTECTED]   [EMAIL PROTECTED]
 http://pchitescu.myip.org/     http://PaulC.MetroNet.RO.EU.org/
 ICQ:22641673
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
unsubscribe from this list.

Raspunde prin e-mail lui