Connect printer from a different network (different ip and gateway)

3

1

Currently my network has 2 routers - Router A and Router B.

Both router are connected to a modem.

Both router has different public ip address and default gateway.

Router A | IP-123.123.123.123 | Gateway-192.168.0.100

Router B | TP-456.456.456.456 | Gateway-192.168.0.199

Printer A is connected to Router A, what I need to do in order to allow user in Router B to be able to connect to and using the Printer A?

Thank you

Tony Tan

Posted 2013-08-01T10:24:36.830

Reputation: 31

Answers

1

If this is in fact a single network with two separate gateways, then the fact that there are two separate gateways should be irrelevant with properly-functioning equipment as long as all devices attempting to use the printer are connected to the same LAN and are using the same IP addressing scheme (e.g. 192.169.0.x). The internal/LAN ports of each router should act as switches, and each router should see the other router as a network switch, allowing traffic to move through. This assumes that there is a network connection between the LAN sides of the two routers.

If there are in fact two separate networks both using the same IP addressing scheme, each with its own router and a VPN between them, then you aren't going to be able to do this without changing the addressing on one side or attempting some more advanced techniques to change the network sizes. In fact, it's unlikely that any router would allow such a VPN connection to be established unless it was using a very unusual network stack (most are based on a limited number of original source implementations).

fencepost

Posted 2013-08-01T10:24:36.830

Reputation: 1 086

Gravedug because it showed up as active "today" for some reason, and neither of the answers posted is correct for the question as asked. – fencepost – 2015-02-26T06:33:54.927

0

If you are using Network Address Translation (NAT), then you'll need to enable a way for connections from Router B to pass through Router A and be directed to Printer A's internal IP. The simplest way to do this is to forward all unsolicited traffic to Router A's IP to Printer B's internal IP (this is usually possible on most home routers). The caveat, and it is a big one, is that Printer A is visible to the Internet, and therefore can be hacked and used to get inside your internal network.

If you want a more secure solution, you'll either need a router with at least two internal-facing network ports or a second router to create a new internal LAN isolated from your existing network. The printer is still exposed, but can no longer compromise your existing internal LAN. Here's a quick overview of how this works at a conceptual level (https://en.wikipedia.org/wiki/DMZ_%28computing%29)

Fred

Posted 2013-08-01T10:24:36.830

Reputation: 1 205

Hi Fred, thank you for your details and useful explanation. however I has another question on the adding printer. Assume that I had setup all the setting by following the solution two -DZM. Buy how am I going to make the connection to printer A from Router B? I mean like do I need to "add printer" from Router B? Thanks – Tony Tan – 2013-08-02T09:59:50.140

0

What you need is a Site-to-Site VPN between your networks. Depending on what router you have, they may support VPNs. Otherwise, you'd need a machine or appliance to manage those VPNs on both networks.

If your use is personal or for a small business, you might want to consider a solution such as Google Cloud Print.

user7429642

Posted 2013-08-01T10:24:36.830

Reputation: 1 121

Hi Greg, thanks for your suggestion on the Google Cloud Print. I had try on that with 2 different model of sharp printer. One of them work fine, but another doesn't even appear in the printer list. Anyway, that is alternative solution too. Thanks – Tony Tan – 2013-08-02T09:56:46.440