echo "1" >/proc/sys/net/ipv4/ip_forward

 

 

HTH

Rick

 

-----Original Message-----
From: Pacheco, Michael F. [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 11:02 AM
To: '[EMAIL PROTECTED]'
Subject: RH 8.0 - 2 NICS and routing between 2 subnets

 

Hi All,

 

I've got a single RH 8.0 box I'm setting up as a firewall, 2 nics in two separate IP domains.  IPTables is not running yet as I want to get routing straight before I start iptables.  Using route -add I have added net work "A" go out eth0 and network "b" go out eth1 and all is fine when pinging from the box itself - I can ping both sides - any host from network "A" or "B" can be reached from the box.

 

I drop back to a host on a hub behind network "A" and I can ping both interfaces on the firewall - netstat -rn on the host confirms proper routing.  Same from a host inside network "B" - I just cannot ping across.  Since the route -show on the future firewall box has the proper routes how do I get them to route across?

 

Do I need to run gated like I'm used to doing on the HPUX boxes - I thought simple 2 ip domain with static routes should do the trick?  No dynamic routing protocols going on, just 2 simple subnets.

 

Thanks for any help

 

Mike Pacheco

 

Reply via email to