On Tue, 17 Jun 2008 23:49:21 Clayton wrote:
Having a bit of a problem figuring out how to configure some computers, the network and the routers they are connected to. I am still at the conceptual stage here.. just trying to get my mind around how to configure this setup.
I have a setup that works something like this.....
Router_1 has Computer_1, Computer_2, and Router_2 connected to it. Router_2 has a Computer_3, Computer_4, and Printer_1 (network printer) connected to it.
Computer_3 and Computer_4 have the Linux drivers for the printer installed and are configured properly to see the printer as a network device on Router_2.
Now the problem... I want to be able to print from Computer_1 and Computer_2 to Printer_1.
How (or what) do I tell the computers on Router_1 to connect to the printer on the other router? I know the IP for the printer on Router_2, but... that IP is not on the same subnet. Not sure how to proceed here. Any suggestions or hints?
C
Simple (minimal configuration and maintenance) way: if the routers support RIP, enable it and install/start routed on the linux clients. They will learn the route to get to printer 1 automatically. Manual configuration: ensure that router 1 has a route to router 2 (and vice versa). Either set the default gateway on computer 1 and 2 to router 1, or enter a manual route to printer 1's subnet via router 1 into computer 1 and 2. Set the printer's default gateway to router 2. That, after all, is what routers are for - to route packets between differnet subnets. My suggestion - if you want to learn how routing works, do it the manual way first. Regards, Rodney. -- =================================================== Rodney Baker VK5ZTV rodney.baker@iinet.net.au =================================================== "His super power is to turn into a scotch terrier."