I don't do a lot of multiple server setups, and so I would appreciate some
input on the following plan.
I have two Openserver 5.04 servers in two different cities.
They are connected via PPP over a low bandwitch 38k connection. My goal is
to keep trafic between cites at a minimun - while allowing full access to
each server, and all print servers on the network.
I am planning to do the following..
(1) Connect both servers with subnet mask of 255.255.0.0
Server #1 IP is 192.168.1.1 - GATEWAY
Server #2 IP is 192.168.2.1 - GATEWAY
(2) Each city has a PC LAN.
City #1 will be in the 192.168.1 network. The subnet mask on all the
PC's will be 255.255.255.0
City #2 will be in the 192.168.2 network. The subnet mask on all the
PC's will be 255.255.255.0
The PC's will telnet into the UNIX systems, and access Print servers.
I want them to be able to
access either UNIX system, and any Print server in either city.
(3) All PC's will have the tcpip Gateway defined as the local UNIX server.
i.e.; The gateway for the 192.168.1 network will be 192.168.1.1. The
gateway fot the 192.168.2 network will be 192.168.2.1
-------------------------------------------------------
I've tested this, and it seems to work. However I have these questions.
The servers are part of the 255.255.0.0 subnet mask, and the PC's in each
town are part of the 255.255.255.0 subnet mask which form the local network.
Since each server is the Windows gateway, any requests for the other cities
addresses are routed through the local gateway to the other city - since
the two servers are part of the same netmask. However any traffic that is
part of the local network stays local.
Question #1: Is there anything *BAD* about mixing netmasks.
Question #2: does this setup actually acomplish my goal of minimizing
traffic over the 38k PPP connection?
---------------------
Question #3: Each city has it's own internet router. The address of each
router is 192.168.1.201 in City #1, and 192.168.2.201 in City #2.
I've noticed that I can list the UNIX server as the only gateway on
both LANs if I add the following to the UNIX routing table.
City #1 UNIX routing table: route add 0.0.0.0 192.168.1.201
City #2 UNIX routing table: route add 0.0.0.0 192.168.2.201
this seems to cause any "foreign" ip addresses to filter through to
the internet gateway. The tracert command seems to prove this true.
Examples:
tracert microsoft.com - first jumps to the local gateway (the
UNIX server), and then it jumps through the internet router, then hops and
skips to the evil empire.
tracert 192.168.1.201 - from the 192.168.1 network jumps directly to
that address.
tracert 192.168.2.1 - from the 192.168.1 network first jump to the
192.168.1.1 UNIX GATEWAY, and then hops to the 192.168.2.1 server.
Is there anything wrong with creating a route to the 0.0.0.0 network? It
looks weird to me, but it seems to works.
--------------------------------------------
thanks, in advance, for your input
--