So... I wish I understood this and am open to being taught to fish in addition to a solution to my specific problem... but at the moment I would just love to be able to access my printer. :( I'd appreciate some help.
I have a TP-Link router R (192.168.0.1) that connects to the modem/firewall and the internet. Computer A is plugged directly into that router. I also have a Linksys Velop wireless router W that is plugged into router R, and a network printer P that connects wirelessly to W, as well as Laptop computer B that connects wirelessly to W.
With everything configured by default, everything connected to R was getting IP addresses via DHCP in the 192.168.0.X range. And everything connected to W was getting IP addresses in the 192.168.1.X range. But computer A could not print to printer P.
I found this answer (Communication possible between 192.168.0.x and 192.168.1.x?) and thought, "AHA! I just have to change the subnet mask of R to 255.255.240.0. That'll magically work."
If you're reading this far, I'm sure you realize that it didn't work.
After I rebooted everything, now:
- R is 192.168.0.1, subnet mask is 255.255.240.0
- A received 192.168.0.103 from R via DHCP
- W is now reporting IP address 10.146.1.1, subnet mask 255.255.255.0 (WTF?)
- P is 10.146.1.80
- B is 10.146.1.87
B can print to P and reach out to the internet.
A still can't print but obviously can reach out to the internet
So... where did I go wrong here? And most importantly, how can I get A to print to P?
41 Answer
In order to fix your routing as it stands you need to get a static IP address on WAN interface on W - either by a DHCP assignment controlled by R or by manually assigning it an address in the 192.168.0 range (but outside the DHCP range). You then need to add a static route for 10.0.0.0 netmask 255.0.0.0 via the new IP adress on router R.
Depending on the setup of router W you may need to disable NAT on it.
Lastly you will need to manually add the IP address of the printer to devices directly connected to R as they are not in the same subnet as the printer and will not be autodiscovered.
2