Yes. To both being 255.255.255.0.  Your routing tables looks correct.  All
of the machines that act as routers set their default routes to the router
on the other side of a directly connected subnet.  The machines in the
192.168.1 network should all show their default gateways as 192.168.1.10 (in
your setup).  They send a request to anything other than 192.168.1 to the
redhat box at 192.168.1.10.  Lets say the ip address you are sending to is
24.65.32.12.  The request would be sent to the gw 192.168.1.10 since it is
not on the local net.  The redhat box has the smoothwall as its default
gateway so if the request from the 192.168.1 machine going to 24.65.32.12
would be passed to the gateway for the redhat box (192.168.0.1).  That box
has the ISP DSL/Cable modem/modem or whatever as its gw.  So it would send
the packets for 24.65.32.12 on to it.  The chain keeps working that way
until it gets to a router on the ISP that has specific routes to the network
24.65.32.12 are on.  On the return path the ISP is sending the packets to
the smoothwall box which is masquerading.  It knows to route the response
back to the machine on the 192.168.1 network because of the static route you
added that sends packets destined for that subnet to the RH box
192.168.0.10.  The RH box is directly connected to the 192.168.1 subnet to
it can send the packets directly back to the requesting machine.  I hope
this helps you in the future if I described it well enough.

That is why the redhat routing table shouldn't have any other internet
addresses on it.

  Now for fixing the problem.


You say the redhat box can't surf nor ping an address on the net?  Sounds
like the smoothwall is not passing traffic through.  Check the configuration
to make sure it is configured properly to allow traffic out.  Also make sure
you can ping Internet addresses via name and ip from the smoothwall box
itself.

Larry S. Brown
Dimension Networks, Inc.
(727) 723-8388

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Rune Berge
Sent: Thursday, February 27, 2003 4:57 PM
To: [EMAIL PROTECTED]
Subject: RE: Connecting two networks through a RedHat box


On Thu, 27 Feb 2003, Larry Brown wrote:

> Change the netmask on the redhat box for 192.168.0 to 255.255.255.0.
Right
> now the box will see everything as 192.168 to be coming from the 192.168.0
> side.  By using 255.255.255.0 for both sides it will know that 192.168.0
> goes towards the net and 192.168.1 goes toward the wireless.

So, the network mask on ALL machines on both networks should be
255.255.255.0? Is that correct?

Rune



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to