PROBLEM BRIEF SUMMARY:
===========+++++==
2 LANS, 1 & 2. 1 has a router to Internet & a printer & Wi-Fi clients. 2 is a static network that has one gateway to LAN 1.
How do I set up route table on LAN 2 machines to allow the computers on LAN 2 (other than the gateway machine which access ok) to access the Printer & also to share files with any Wi_fi clients who connect to LAN 1 (which uses DHCP for all but the print server on it).
****************************************
PROBLEM IN DETAIL:
==============
At home I have 2 Lans, each use a diff set of ip address. One Lan (192.168.0.*) connects to the Internet via my ISP on a DSL connection allocated by DHCP. This internet DSL connection is through a Buffalo AirStation Wi-Fi router (192.168.0.1) which also has 4 UTP ports. The Buffalo is setup to allocate ip addresses using DHCP for a block of 16 addresses to any client trying to attach but also has one device with a fixed ip adress of 192.168.0.99 which is a printer server. This allows all our family notebooks & PDAs to connect & print using Wi-Fi.
The 2nd LAN (192.10.200.*) is an existing 8-port UTP hub with 3 Win based & 1 Linux based, servers using fixed ip addresses 192.10.200.1 to 4 - these servers are used for network experiments (Web & App & WebSvcs Servers). I also want to access the printer 192.168.0.99 to print on and this works fine from 192.10.200.1 which has a second ethernet card & UTP cable to the 1st LAN.
So, to restate, machine 192.10.200.1 on LAN 2 has a 2nd ethernet card that connects to the Buffalo AirStation via one of its 4 UTP ports and gets its ip address from the buffalo using DHCP, which is usually 192.168.0.2. This gateway machine is also my primary Internet client machine & this works well. It can access the Internet thru the 192.168.0.2 address (or whatever gets allocated by the Buffalo DHCP) and can see and print to the printer on 192.168.0.99.
My problem is how to get the other computers on LAN 2 (192.10.200.2 thru 4) to be able to print to the printer server at 192.168.0.99. The 1st thing I have done is to set 192.10.200.1 as the gateway for the others (192.10.200.2 thru 4). But I can't seem to come up with an add route command for Windows2000 that will allow them to access 192.168.0.99 thru 192.10.200.1 - the traffic all seems to go on to the Internet rather than stop at 192.168.0.99 on 1st LAN. Obviously I need a route add command that tells the machines on 2nd LAN, that reaching 192.168.0.99 is only one hop via gateway machine 192.10.200.1 and I also need to tell the printer server (192.168.0.99) how to get back to the machines 192.10.200.2 thru 4.
Any suggestions would be most welcome. Am sure it is merely a question of the correct route commands.
Cheers
Doug Marker