I have two LAN's in my office, each with its own internet connection. I'll call them LAN A and LAN B. Each LAN has an inexpensive ADSL modem router (with wireless and wired connections) to which the computers attach and which attach to the internet. I want to share information and printers etc. between the two LAN's and on occasion I may want to be able to access (from one LAN) the other LAN's internet connection. I want to be able to "see" the computers on each of the LAN's from the other LAN.
LAN A uses the addresses 10.0.0.x, and the router itself has the address 10.0.0.2. LAN B uses the addresses 192.168.11.x and the router itself has the address 192.168.11.1.
The routers are from different manufacturers. I understand that I have to set up routing tables on each of the routers, and I want to connect them (with cable). I believe that on LAN B router I set up a routing entry as follows:
Dest: 10.0.0.0 Netmask: 255.255.255.0 Gateway: some IP address?
On LAN A router table, I would do this:
Dest: 192.168.2.0 Netmask 255.255.255.0 Gateway: some IP address?
My questions are:
Is my understanding above correct? How should the two routers be physically connected and addresses set up? I can plug an RJ45 cable between the LAN A and LAN B router (both on the in-facing side), but as both routers are setup as DHCP servers for the computers on their respective LAN's I do not understand how each router will assign the other router with a relevant IP address - in effect they are only DHCP clients on the WAN side. I have tried wiring them up like this and they do not seem to assign IP addresses correctly. Ideally, I think I want to tell each router to have a particular address (an IP or a hardware address) in respect of the other router, but I cannot see how to do this. On one of the routers I can give the DHCP server the MAC address of the other router and define an IP address for it, but the other does not seem to have a similar facility to reciprocate. They both have user definable routing tables so there must be some way of doing this, and maybe I am looking in the wrong place or simply I do not have the concept correct? i would be grateful for any feedback on that.
Is there any merit in using domains to facilitate finding resources on the other LAN, if I ever get the routing correct?
October 6, 2007 4:59 PM
October 31, 2007 2:46 PM