Problem with IP Masquerade + routed internal network (pretty newbie question)
From: Dragan (gekko_at_eunet.yu)
Date: 07/14/03
- Next message: Gregg Germain: "RH - setting IP addresses on second ethernet card"
- Previous message: Mark Crispin: "Re: POP3, lock files and procmail"
- Next in thread: David Efflandt: "Re: Problem with IP Masquerade + routed internal network (pretty newbie question)"
- Reply: David Efflandt: "Re: Problem with IP Masquerade + routed internal network (pretty newbie question)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 14 Jul 2003 17:11:23 +0200
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:
192.168.1.0/24 network (around 10 computers) - 192.168.1.1 server,
192.168.2.1 router
|
192.168.1.2
192.168.0.3
|
192.168.0/24 network (50 computers) - 192.168.0.1 server, 192.168.0.3 and
192.168.0.2 routers
|
192.168.0.2
192.168.2.1
|
192.168.2.0/24 network (20 computers) 192.168.2.3 server, 192.168.2.1 router
It works fine, but now we want to connect central office (192.168.0.0/24) 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
192.168.0.10, IP Masquerade works fine, but now there is a problem with
internal routed network. I had to set up 192.168.0.10 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
192.168.0.0/24 nework goes to 192.168.0.10 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.
Dragan
- Next message: Gregg Germain: "RH - setting IP addresses on second ethernet card"
- Previous message: Mark Crispin: "Re: POP3, lock files and procmail"
- Next in thread: David Efflandt: "Re: Problem with IP Masquerade + routed internal network (pretty newbie question)"
- Reply: David Efflandt: "Re: Problem with IP Masquerade + routed internal network (pretty newbie question)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|