I am fairly new to the Linux world. For my school work I ma required to network in this manner:

Host A (> | eth0_Inside ( -- Redhat 9 Box -- eth1_toRouter (| ---> (

I would like to forward all traffic from Host A to router through the Linux gateway.

Steps I did:

A) Configured both NICs as follows:

eth0_inside IP is The default gateway is eth1_toRouter's IP

eth1_toRouter IP is and its default gateway is the
router's IP

B) I edited the sysctl.conf file in /etc to put a value of '1' to

C) I rebooted the machine.


I can ping both interfaces, the router, and the inside hosts
from the linux box.

The hosts can ping only up to eth1_toRouter ( Not
beyond that.