RedHat Linux IP Forwarding

Use the following to enable IP (IPv4) Forwarding in RedHat linux.


To enable IP forwarding temporarily (until the next reboot):
echo 1 > /proc/sys/net/ipv4/ip_forward

To enable permanently, edit /etc/sysconfig/network and change or add the following line:
FORWARD_IPV4 = YES

The Conversation

Follow the reactions below and share your own thoughts.

2 Responses to “RedHat Linux IP Forwarding”

  1. October 31, 2008 at 7:47 am, Anand M said:

    If i want communicate with two different Ip address example 172.16.10.63 machine has to ping 192.168.1.140 what has to be done?

    Reply

  2. January 22, 2011 at 7:36 am, Pce_manojgupta said:

    what is ip forwarding

    Reply

Leave a Reply