IP Masquerade and Internal Routing problems

1. Problem with IP Masquerade + routed internal network (pretty newbie question)

I have a class C internal network divided into 3 sections (one central
office and two branches) connected by 2 routers (DSL router). Routers are
communicating throuth RIP2 protocol. Machines are Win98 and WinXP, servers
are Linux servers (Samba and SQL used), Windows adresses are leased through
DHCP. The network looks like this:  network (around 10 computers) - server, router
192.168.0/24 network (50 computers) - server, and routers
        | network (20 computers) server, router

It works fine, but now we want to connect central office ( to
the internet. We have one public IP adress and we would like to use IP
Masquerade. I have set up a Red Hat 9 Linux as a NAT server with adress, IP Masquerade works fine, but now there is a problem with
internal routed network. I had to set up server as a default
gateway but that breaks connection with other two subnetworks. If I define
static routes to two subnetworks on each of the Windows machines then it
works fine, but I can't set up static routed through DHCP, and I know of no
other way to define routes other than typing route add... in command prompt.
If static routes are not defined then everything that goes out of nework goes to NAT server, where it gets lost.
If it were only one internal network then it wouldn't be a problem but this
way I don't know how to solve the problem. Tnx in advance.


2. locating printer driver files

3. Is it possible to run internal routing and IP Masquerading at the same FreeBSD box?

4. apache and _vti_bin/shtml.dll

5. IP masquerade and internal routing

6. Proctitle in Perl

7. proxy route gateway ip masquerading ip chains ?

8. Using the send() function in a server

9. Route IP masqueraded packets according to their source IP?

10. IP Masquerade works, but how do you route an unMasquerade IP?

11. virtual IP - masquerading - "real" IP - routing

12. Problems with routing and ip masquerading with cable modem in linux

13. route problem with IP masquerading