configuring redhat 9 as a router between 2 networks

Steve Cowles steve at stevecowles.com
Fri Sep 3 03:00:26 UTC 2004


On Stardate 6609.08, menonrr at adelphia.net wrote:
> 
> I am a fairly new Lunux user and to the redhat website.
> 
> I could not find a way to append additional details to my
 > earlier meesage. Hence I am reproducing the entire problem.
> 
> I am trying to setup a test netork as follows:
> 
> 172.16.4.0 ---> | eth0_inside (172.16.4.2)-- Redhat 9 Box
 > -- eth1_toRouter (172.16.3.10)| ---> router (172.16.3.4)
> 
> eth0_inside IP is 172.16.4.2. The default gateway has the
 > 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.
> 
> I edited the sysctl.conf file in /etc to put a value of '1' to
> net.ipv4.ip_forward. 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.
> 
> Your help would be greatly appreciated.
> 

Does the router at 172.16.3.4 have a static route that defines the 
return path for packets destined for network 172.16.4.0/24 ? i.e. From 
the router at 172.16.3.4, network 172.16.4.0/24 can be reached through 
172.16.3.10.

Steve Cowles





More information about the redhat-list mailing list