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:

The Conversation

Follow the reactions below and share your own thoughts.

  • Anand M

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

  • Pce_manojgupta

    what is ip forwarding