IP_FORWARD /etc/sysconfig/network magic words?
Smith, Albert
Albert.Smith at genexservices.com
Fri Apr 29 19:22:16 UTC 2005
Modify /etc/sysctl.conf
And change the following from:
net.ipv4.ip_forward = 0
To
net.ipv4.ip_forward = 1
Then do:
sysctl -p
Albert Smith
Sr. Unix Systems Administrator
HPCSA, RHCT
Genex Services
440 E. Swedesford Rd.
Wayne, PA 19087
albert.smith at genexservices.com
(610) 964-5154
> -----Original Message-----
> From: redhat-install-list-bounces at redhat.com
> [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Jeff Kinz
> Sent: Friday, April 29, 2005 3:01 PM
> To: Redhat install List
> Subject: IP_FORWARD /etc/sysconfig/network magic words?
>
> In the file /etc/sysconfig/network, does the line :
>
> FORWARD_IPV4=YES
>
> actually control IP forwarding? Currently my system seems to
> be ignoring it. ie - I font actually get any ip-forwarding
> happening when the network is up unless I explicitly enable it.
>
> I know that:
> echo "1" > /proc/sys/net/ipv4/ip_forward
>
> will turn it on and
>
> echo "0" > /proc/sys/net/ipv4/ip_forward
>
> will turn it off. Is there any option I can set in
> /etc/sysconfig/network or in any ofthe file under
> /etc/sysconfig that will automatically start IP forwarding
> whenever the network services are on?
>
>
>
>
>
> --
> Jeff Kinz, Emergent Research, Hudson, MA.
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request at redhat.com
> Subject: unsubscribe
>
>
More information about the Redhat-install-list
mailing list