Hello,

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

Host A (172.16.4.32)----> | eth0_Inside (172.16.4.2) -- Redhat 9 Box -- eth1_toRouter (172.16.3.10)| ---> (172.16.3.4)router

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 172.16.4.2. The default gateway is eth1_toRouter's IP 172.16.3.10.

eth1_toRouter IP is 172.16.3.10 and its default gateway is the
router's IP 172.16.3.4.

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

C) I rebooted the machine.

Result:

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

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