RedHat Linux IP Forwarding

Contributor Icon Contributed by Al Banks  
Tag Icon Tagged: Linux networking  

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

 

2 Comments -


  1. Anand M said on October 31, 2008

    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?

  2. Pce_manojgupta said on January 22, 2011

    what is ip forwarding

 

RSS feed for comments on this post. TrackBack URL

Leave a comment -