Router to router different IP.

xfri

Honorable
Dec 29, 2012
67
0
10,640
I never done this kind of set up it's weird but my boss instruct me to do so. it's a security purpose he said that 192.168.2.1 have very important files and 192.168.1.1 is for the office and the only thing he want to share is the printer.

This is possible? if so how?

XON9wjn.png
 
Solution
One workaround for this situation would be if one of the routers has a built in USB print server. Alternately, get a ethernet/USB print server adapter. Or even an old computer lying around the office to act as a USB print server. The printer should be able to handle connections from both USB and network.
He want to give the office staff there own IP(192.168.1.1) and the QA staff have 192.168.2.1 so office staff have zero connection he said for security purpose and the only thing that share is the printer.
 
This will not work for the same reason someone on the internet can not use your home printer. If you look at the network from router 2 viewpoint all the stuff above it in your diagram it says in internet. It really doesn't care that the 192.168.1 network can not really be used on the internet it is very simplistic....anything behind the wan port is internet.

The solution is the same as if you wanted to do this with a home internet connection. You must setup some form of port mapping to make it work. Not all printers though will accept connection device outside the lan network so you must have the correct type of printer also.
 


So in short PC 1 and Printer 1 won't communicate because they have a different IP.

Example


----192.168.1.2---192.168.2.1
-----------PC1-----------PC2
-------------↑----------------↑
ISP->Router 1->Switch 1
------192.168.1.1

PC 2 will lose internet connection because PC 2 have different IP.
 


This port mapping can make PC 1 192.168.1.2 communicate with Printer 2 192.168.2.3?

Another question is this correct?

----192.168.1.2---192.168.2.1
-----------PC1-----------PC2
-------------↑----------------↑
ISP->Router 1->Switch 1
------192.168.1.1

PC 2 will lose internet connection because PC 2 have different IP.
 
Port mapping "should" work on most printers but there may be limitations on the printer itself. If it was a say a file server it would definitely work.


The PC in network 2 will have full access to the internet. They also will have some access to devices in network 1.

If you were to place the printer in network 1 it would be much easier all the pc would have access by default.
 


I think it was place so that the office staff would not go just to give the print out, the office staff just print in the QA printer but there is a catch different IP.

What kind of limitation?
 


If they are same IP there will be no problem.

What if they have different IP that's the problem PC1 and Printer 1 won't communicate and 192.168.2.X would not have an internet connection.
 


Some very inexpensive printer do not support the concept of default gateway. They will only talk to other machines on the same lan. I am not sure how common this is anymore but I know i was trying to help someone who wanted to print from the internet (not a smart idea) and his printer did not have the field for the gateway.

Good quality printers used by businesses have no issues and most home/small business printers also have no issues.
 


Correct me if I am wrong the limitation is they wouldn't communicate.

List of the printer we use:
1.EPSON L220
2.Brother MFC-J6510DW
3.Brother DCP-L2540DW
4.Brother HL-2130
5.Samsung ML-2160
6.HP Deskjet Ink Advantage 2060

Is this possible for Router 1 will have 192.168.1.1 and Router 2 will have 192.168.1.2 at the same time it will have 192.168.2.X ?
 
I am not going to spend my time to read every manual that is something for you to do. It is pretty obvious on the screens where you set the IP addresses manually. Most just give you a field to put in the ip and the mask and nothing else.

I would suggest you just try it and worry about it latter if you have problems.
 


I think it will be no problem if they have the same address.

Thanks for your help.
 
One workaround for this situation would be if one of the routers has a built in USB print server. Alternately, get a ethernet/USB print server adapter. Or even an old computer lying around the office to act as a USB print server. The printer should be able to handle connections from both USB and network.
 
Solution