trysaran wrote: > Hi, > I attached and pasted the output of ifconfig. The value for cat > /proc/sys/net/ipv4/ip_forward is 0. Looking for your suggestion. > Regards > Saravanan > eth0 Link encap:Ethernet HWaddr 00:B0:D0:F9:A9:FB inet > addr:178.1.221.1 Bcast:178.1.221.255 Mask:255.255.255.0 UP BROADCAST > RUNNING MULTICAST MTU:1500 Metric:1 RX packets:36720 errors:0 > dropped:0 overruns:0 frame:0 TX packets:49 errors:0 dropped:0 > overruns:0 carrier:0 collisions:0 RX bytes:3855714 (3.6 Mb) TX > bytes:2406 (2.3 Kb) eth1 Link encap:Ethernet HWaddr 00:80:48:C6:F2:55 > inet addr:178.1.222.11 Bcast:178.1.222.255 Mask:255.255.255.0 UP > BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:154495 > errors:0 dropped:0 overruns:0 frame:0 TX packets:145434 errors:24 > dropped:0 overruns:0 carrier:24 collisions:6468 RX bytes:20849825 > (19.8 Mb) TX bytes:12480218 (11.9 Mb) lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 > Metric:1 RX packets:1713 errors:0 dropped:0 overruns:0 frame:0 TX > packets:1713 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 RX > bytes:116924 (114.1 Kb) TX bytes:116924 (114.1 Kb) Kernel IP routing > table Destination Gateway Genmask Flags MSS Window irtt Iface > 178.1.221.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0 178.1.222.0 0.0.0.0 > 255.255.255.0 U 40 0 0 eth1 127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 lo > 0.0.0.0 178.1.221.1 0.0.0.0 UG 40 0 0 eth0
The ip_forward value should be 1. You can use sysctl -w net.ipv4.ip_forward=1 to turn it on. To make the change come-up on reboot, add the following to /etc/sysctl.conf: # Enable packet forwarding net.ipv4.ip_forward = 1 If you are running iptables or ipchains make sure they are setup correctly to allow ping packets and such. You can turn them off temporarily by running /etc/init.d/iptables stop or /etc/init.d/ipchains stop. JMF James Francis TechRx Inc. 530 Lindbergh Dr. Coraopolis, Pa. 15108 Phone: (412) 474-1078 Fax: (412) 474-1074 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list