Networking Forums

Networking Forums > Computer Networking > Linux Networking > Problem with IP Masquerade + routed internal network (pretty newbie question)

Reply
Thread Tools Display Modes

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

 
 
Dragan
Guest
Posts: n/a

 
      07-14-2003, 03:11 PM
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



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird Internal Network Problem - Help I'm going mad!!! ho Windows Networking 2 02-07-2007 02:50 AM
Masquerade port forwarding problem - please HELP bpforte@gmail.com Linux Networking 0 08-07-2006 01:56 AM
Routed-Subnet problem WisseCF Windows Networking 5 11-23-2005 02:55 AM
Help w Wireless Network Pretty Please?? Babybird Wireless Internet 5 09-01-2005 02:37 PM
Problem with IP Masquerade and MTUs Shawn Willden Linux Networking 2 08-22-2003 03:23 PM



1 2 3 4 5 6 7 8 9 10 11