RE: RH 8.0 - 2 NICS and routing between 2 subnets

2003-02-28 Thread Rick Carroll








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












RE: RH 8.0 - 2 NICS and routing between 2 subnets

2003-02-28 Thread Larry Brown








To clarify, you have a future firewall connected to network A, and the
single RH8 box connected also to network A and network B. What is the future firewall? (another
RH box or cable modem router or what)



Larry S. Brown

Dimension
Networks, Inc.

(727) 723-8388





-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












RH 8.0 - 2 NICS and routing between 2 subnets

2003-02-27 Thread Pacheco, Michael F.








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










Re: RH 8.0 - 2 NICS and routing between 2 subnets

2003-02-27 Thread Gene Yoo
Pacheco, Michael F. wrote:
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

 

here is the script that i modify to use for various 
parameters.  have fun.

--
gyoo [at] attbi [dot] com
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)
iQCUAwUBPhxERRxoVYCzmrKXAQJK5gP3Y7CTsFyKpEz2p5W4GWI9+qSm+kWfdJ0R
xNlma0Ma9rAL/OBJcZMo5IXyXas+3Edogbv4Al6dIf8lot1WS0Iaxxl/cg2f7gf+
otf7LfNpZDE/6OzR7A1qN6baPMLSjGzywwQWMfSVuWWb6kGQxMsA13Kn68G7Ozxs
5CODZqUPyg==
=AolA
-END PGP SIGNATURE-


firewall-primary.sh
Description: Bourne shell script